Hi Guys,
I have outgoing Voip dialpeer where i cannot remove prefix. But we can make translation rule to omit prefix like 9 and then add outbound DID for outgoing calls. Any idea/suggestion?
dial-peer voice 2 voip
description OUTGOING CALLS
translation-profile outgoing outbound-DID
destination-pattern 9T
session protocol sipv2
session target sip-server
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
!
voice translation-rule 2
rule 1 /.*/ /35366850/
!
!
voice translation-profile outbound-DID
translate calling 2
Thanks.
Solved! Go to Solution.
Just add it as below
Try as below
voice translation-rule 2
rule 1 /.*/ /35366850/
voice translation-rule 3
rule 1 /^9\ (........\)/ /\1/
!
voice translation-profile outbound-DID
translate calling 2
translate called 3
Thanks for the reply.
Im looking for to not only drop 9 but send outgoing calls with one specific number as DID.
Just add it as below
Try as below
voice translation-rule 2
rule 1 /.*/ /35366850/
voice translation-rule 3
rule 1 /^9\ (........\)/ /\1/
!
voice translation-profile outbound-DID
translate calling 2
translate called 3