Everytime a user on our system dials a regular long distance call with 011 in the middle (I.E. 1-212-550-1155) The call drops when the system tries to route it. We are using CallManager ver 4.1.(3) with a 2811 Voice Gateway.
The Route Patterns on the Callmanager are as follows:
For standard local and long distance calls --> 9.1[2-9]XX[2-9]XXXXXX
For International calls --> 9.011!
When it hits the voice gateway to be sent off to the PRI we have the following configuration:
dial-peer voice 1002 pots
description dial-peer for Outgoing Calls to Paetec PRI Trunk
translation-profile incoming Inbound_Translation_Profile
translation-profile outgoing Out_Trans_Profile_for_Intl_Call
incoming called-number .
voice translation-rule 2
rule 1 /011/ // type any international plan any isdn
voice translation-profile Inbound_Translation_Profile
translate called 1
voice translation-profile Out_Trans_Profile_for_Intl_Call
translate called 2
The problem is your rule, it changes ANY occurrence of 011 to null. You need to configure it to ^011 so it matches 011 only in the beginning of the dial string.
Match the substring
Match 1# at the beginning and replace it with Null.
Number Translation using Voice Translation Profiles
If this helps, please rate