09-29-2009 07:21 AM - edited 03-18-2019 10:38 AM
Hi,
If i have an incoming call from the US into a router's h323 gateway in a certain country and I need to add on 00 to the calling display, how do I go about doing it with voice translation rules ?
For the sake of discussion, say a call from the US ,+12123945XXX goes into the gateway and the called party is 85224023XXX.
How do I go about displaying the calling party as +0012123945XXX , which is adding the 2 '00' to the calling party.
I need to do this using IOS voice translation rules.
Appreciate your help.
Thanks,
Paul
Solved! Go to Solution.
09-29-2009 07:41 AM
Hi Paul,
If it's only for certain international numbers, you can match on the ISDN plan/type. Do a 'debug isdn q931' to see the type and plan and use something like this:
voice translation-rule 1
rule 1 // /00/ type international international
voice translation-profile 1
translate calling 1
That would translate only the calling number for international calls.
-nick
09-29-2009 12:13 PM
Yes, if you want to do it for certain patterns. Check Nick's example for more generic.
+5 Nick from me.
09-29-2009 07:31 AM
What about:
voice translation-rule 1
rule 1 /^1233945/ /001233945/
and add translation to correct dial-peer then match calling party number.
09-29-2009 07:52 AM
Hi Konrad ,
Is this how I should do it ?
voice translation-profile 1
translate calling 1
dial peer voice 1 voip
dest-pattern 2404.....
translation profile outgoing 1
session target ipv4:x.x.x.x
Thanks and regards.
09-29-2009 12:13 PM
Yes, if you want to do it for certain patterns. Check Nick's example for more generic.
+5 Nick from me.
09-29-2009 07:41 AM
Hi Paul,
If it's only for certain international numbers, you can match on the ISDN plan/type. Do a 'debug isdn q931' to see the type and plan and use something like this:
voice translation-rule 1
rule 1 // /00/ type international international
voice translation-profile 1
translate calling 1
That would translate only the calling number for international calls.
-nick
09-29-2009 05:31 PM
Hi Nick,
I got it to work but I could not using the translation profile on the dial-peer.
I placed the translation profile on the voice-port x/x/x
translation profile incoming xxx
and that worked.
Do you know why it did not work on the dial-peer ? I tried incoming and outgoing on the dial-peer.
Thanks again,
Paul
09-30-2009 05:23 AM
Hi Paul,
Depending on the call flow, you may need it on the voice port. Certain FXS calls flows work slightly different in terms of translation. Otherwise - you may have used different dial peers than you expected.
hth,
nick
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: