<div><br>Hi Bill,</div>
<div> </div>
<div>Shouldnt you be pre-pending the access code?</div>
<div> </div>
<div>If you are using CallManager it is quite neat to do this sort of thing at the Route List > Route Group binding level.</div>
<div> </div>
<div>i.e.</div>
<div> </div>
<div>Create a Route list like "Site1-LD-Carrier_RL"</div>
<div>Prefix the required digits when you add the route group to this route list</div>
<div>Point your LD route pattern to this list.</div>
<div>Gives you some flexibility.</div>
<div> </div>
<div>What is the # in your Dial peer? Is this to match outbound calls from callmanager?</div>
<div>If so why not use </div>
<div> </div>
<div>
<p>dial-peer voice 300 pots</p>
<p> description -- POTS Dial peer to route calls out PRI --</p>
<p> destination-pattern #T</p>
<p> port 0/1/0:23</p>
<p> </p>
<p>In your route list you can prefix #022</p>
<p>Dialpeer will strip the # and send the 022 + your number</p>
<p> </p></div>
<div>Cheers,</div>
<div> </div>
<div>Tim</div>
<div> </div>
<div><br> </div>
<div><span class="gmail_quote">On 7/10/08, <b class="gmail_sendername">Carter, Bill</b> <<a href="mailto:bcarter@sentinel.com">bcarter@sentinel.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p>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??</p>
<p> </p>
<p>Background:</p>
<p>PSTN connection is PRI</p>
<p>Telco says LD code required for all outbound calls. (can't disable based on calling party #)</p>
<p>GW is H323</p>
<p> </p>
<p> </p>
<p> </p>
<p>Gateway Attempts:</p>
<p>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).</p>
<p> </p>
<p>voice translation-rule 10</p>
<p> rule 1 /^\#\(1[2-9]..[2-9]......\)/ /\1\2,022/</p>
<p> </p>
<p>test voice translation-rule 10 #14085551212</p>
<p>Matched with rule 1</p>
<p>Original number: #14085551212 Translated number: 14085551212,022</p>
<p>Original number type: none Translated number type: none</p>
<p>Original number plan: none Translated number plan: none</p>
<p> </p>
<p>dial-peer voice 300 pots</p>
<p> description -- POTS Dial peer to route calls out PRI --</p>
<p> destination-pattern #1[2-9]..[2-9]......</p>
<p> translate-outgoing called 10</p>
<p> incoming called-number .</p>
<p> direct-inward-dial</p>
<p> port 0/1/0:23</p>
<p> prefix 1</p>
<p> </p>
<p>I tried "forward-digits extra" which is supposed to send any digits longer than the length of the destination-pattern. Didn't work.</p>
<p> </p>
<p>CallManager Attempts:</p>
<p>I also tried the CallManager translation-pattern route:</p>
<p> </p>
<p>Translation Pattern</p>
<p>91[2-9]XX[2-9]XXXXXX</p>
<p>Calling Party Transformation Mask</p>
<p>XXXXXXXXXXXX022</p>
<p>DNA analysis gives the following</p>
<p>Dialed number 914085551212</p>
<p>Result ???714085551022</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>Bill Carter</p>
<p>Sr Business Communications Analyst</p>
<p>Sentinel Technologies, Inc</p>
<p>217.391.5015</p>
<p> </p></div></div><br>_______________________________________________<br>cisco-voip mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br><br></blockquote></div><br>