[cisco-voip] Append LD Access code on outbound call
Tim Smith
thsglobal at gmail.com
Fri Jul 11 03:37:18 EDT 2008
Hi Bill,
Shouldnt you be pre-pending the access code?
If you are using CallManager it is quite neat to do this sort of thing at
the Route List > Route Group binding level.
i.e.
Create a Route list like "Site1-LD-Carrier_RL"
Prefix the required digits when you add the route group to this route list
Point your LD route pattern to this list.
Gives you some flexibility.
What is the # in your Dial peer? Is this to match outbound calls from
callmanager?
If so why not use
dial-peer voice 300 pots
description -- POTS Dial peer to route calls out PRI --
destination-pattern #T
port 0/1/0:23
In your route list you can prefix #022
Dialpeer will strip the # and send the 022 + your number
Cheers,
Tim
On 7/10/08, Carter, Bill <bcarter at sentinel.com> wrote:
>
> Telco requires a 3-digit access code for long distance calls. Customer
> would like to NOT have to dial a code when faxing to a LD number. Is this
> possible??
>
>
>
> Background:
>
> PSTN connection is PRI
>
> Telco says LD code required for all outbound calls. (can't disable based on
> calling party #)
>
> GW is H323
>
>
>
>
>
>
>
> Gateway Attempts:
>
> On the gateway I tried a standard dial peer with "translate-outgoing
> called". I tried post-pending a ,022 to the string (, is supposed to insert
> a pause and 022 is the telco access code).
>
>
>
> voice translation-rule 10
>
> rule 1 /^\#\(1[2-9]..[2-9]......\)/ /\1\2,022/
>
>
>
> test voice translation-rule 10 #14085551212
>
> Matched with rule 1
>
> Original number: #14085551212 Translated number: 14085551212,022
>
> Original number type: none Translated number type: none
>
> Original number plan: none Translated number plan: none
>
>
>
> dial-peer voice 300 pots
>
> description -- POTS Dial peer to route calls out PRI --
>
> destination-pattern #1[2-9]..[2-9]......
>
> translate-outgoing called 10
>
> incoming called-number .
>
> direct-inward-dial
>
> port 0/1/0:23
>
> prefix 1
>
>
>
> I tried "forward-digits extra" which is supposed to send any digits longer
> than the length of the destination-pattern. Didn't work.
>
>
>
> CallManager Attempts:
>
> I also tried the CallManager translation-pattern route:
>
>
>
> Translation Pattern
>
> 91[2-9]XX[2-9]XXXXXX
>
> Calling Party Transformation Mask
>
> XXXXXXXXXXXX022
>
> DNA analysis gives the following
>
> Dialed number 914085551212
>
> Result ???714085551022
>
>
>
>
>
>
>
>
>
> Bill Carter
>
> Sr Business Communications Analyst
>
> Sentinel Technologies, Inc
>
> 217.391.5015
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20080711/e23fa620/attachment-0001.html>
More information about the cisco-voip
mailing list