04-20-2010 09:21 PM
I am using a Cisco 2431 IAD for PRI handoff to customer's PBX. I have a particular customer that cannot make international calls. The problem is that my softswitch is expecting 011XXXXXXXXXX from the cisco to correctly route international calls. When my customer dials 011XXXXXXXXX from his phone, his PBX strips the 011 and sends XXXXXXXXXX to the Cisco along with an "International" Call type in the ISDN messaging. What I need to do is to prefix 011 for all international call types leaving the cisco to the softswitch.
voice translation-rule 1
rule 1 /.*/ /011/ type international international
voice translation-profile 1
translated called 1
dial-peer voice 1 pots
translation-profile outgoing 1
04-24-2010 10:53 AM
Hi!
I'm just an beginner, so I'm not sure about, that my answer would solve your problem, but I think there is something missing in your configuration.
I would say, you have to insert & in to your translation rule end. I better write my solution to be obvious.
voice translation-rule 1
rule 1 /.*/ /011&/ type international international
voice translation-profile 1
translated called 1
dial-peer voice 1 pots
translation-profile outgoing 1
In my opinion, in your original translation rule were every entered number translated to 011, and not to 011******* . I hope I could help you.
Best regards,
Attila Lendvai
04-25-2010 06:04 PM
I will adjust the configuration and let you know the outcome.
Thanks much,
04-29-2010 01:20 AM
Your initial translation rule will replace the called number with 011.
As you need 011 to be appended in front of the number, you should rewrite your rule to do so, one example of it can be:
rule 1 /\(.*\)/ /011\1/ type international international
To make sure you compose your rules correctly, always test them with "test voice translation-rule" command.
Let me know if this helps.
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