[cisco-voip] translate called no

Shaihan Jaffrey schaehan at gmail.com
Tue Jun 25 08:28:10 EDT 2013


i have a scenario where incoming calls through PSTN need to be translated
to a UK toll free number and going out thorough a SIP trunk provider.

Please let me know if the below mentioned config on Voice GW is Ok for this
purpose.





voice call send-alert



voice call carrier capacity active



voice rtp send-recv



!



voice service voip



allow-connections h323 to h323



allow-connections h323 to sip


allow-connections sip to sip


allow-connections sip to h323



!



sip


rel1xx disable


min-se  360


header-passing


!

!



voice class codec 10



codec preference 1 g711ulaw



codec preference 2 g711alaw



codec preference 3 g729r8



!



!



voice translation-rule 3



rule 1 /.*/ /12345/           ! ! !  12345 = UK number



!



!



voice translation-profile ITSP_Outgoing



translate called 1



!



!



!



voice-port 0/0/0



!



voice-port 0/0/1



!



voice-port 0/0/2



!



voice-port 0/0/3



!



!



dial-peer voice 111 pots


translation-profile incoming 1



incoming called-number .T



direct-inward-dial



port 0/0/0



!



!



dial-peer voice 1 voip



destination-pattern .T



voice-class codec 1



session protocol sipv2


session target ipv4:1.1.1.1    !!!!!!               ITSP IP


dtmf-relay rtp-nte sip-notify h245-alphanumeric


no vad


!



!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20130625/ec9a315e/attachment.html>


More information about the cisco-voip mailing list