06-23-2018 01:42 AM - edited 03-17-2019 01:04 PM
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.
06-23-2018 10:34 PM
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
06-23-2018 03:09 AM
06-23-2018 03:46 AM
06-23-2018 09:59 AM
06-23-2018 10:14 PM
Thanks for the reply.
Im looking for to not only drop 9 but send outgoing calls with one specific number as DID.
06-23-2018 10:34 PM
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
06-23-2018 11:19 PM
06-24-2018 12:45 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide