cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
410
Views
0
Helpful
2
Replies

Prefixing a 9 and 91 to incoming calls from SIP provider for callback

tekworksinc
Level 1
Level 1

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

2 Replies 2

paolo bevilacqua
Hall of Fame
Hall of Fame

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.

Chris Deren
Hall of Fame
Hall of Fame

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