02-19-2013 12:47 PM - edited 03-19-2019 06:18 AM
I am wondering what would be the best options for prefixing a 9 or 91 to incoming calls over a sip connection to allow callback from missed calls and recieved calls. The setup is
callmanager 7.1.5 >>>>sip trunk>>>>>>>>>>>>CUBE>>>>>>>>>>>sip to ITSP
I am thinking voice translation rules is the only option for this? any configuration examples for this would be greatly appreciated.
would this work?
voice-translation rule 1
rule 1 // /9/
!
voice-translation profile prefix_9
translate calling 1
!
dial-peer voice 101 voip
destination-pattern ???????...$
voice-class codec 1
session protocol sipv2
session target ipv4: to callmanager
incoming called-number .
dtmf-relay rtp-nte
!
dial-peer voice 1001 voip
translation profile incoming prefix_9
destination-pattern T
session protocol sipv2
session target ipv4: to sip provider
incoming called-number ???????...$
dtmf-relay rtp-nte
02-22-2013 05:13 AM
If you type "voice translation profiles" in cisco.com search box, you will obtain all the documentation and example links.
Or search the forum, to the same effect.
02-22-2013 06:37 AM
Your config should work fine, except your profile is only applied to one dial-peer, make sure you apply it to the one that is used to redirect the call to CUCM.
Also, you did not mention what country you are in, but if this is US you may want to prefix 91 to national calls as carriers don't provide 9 as part of the CLID delivery, also what about your international calls, you may would be more explicit in your first rule to match for national digit string and then have another rule for international.
HTH,
Chris
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