WHOOPS. My client turned everythign into elipsis characters. <br>I'm going to ask everyone to pretend that the dial-peers with <span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">forward-digits 7 have </span>destination-pattern X+7dots and dial-peers with "forward-digits 11" have X+11dots.<br>
<br>Next time i'll use plaintext.<br><br>-Peter Slow<br><br><br><div class="gmail_quote">On Wed, Apr 11, 2012 at 4:54 PM, Peter Slow <span dir="ltr"><<a href="mailto:peter.slow@gmail.com">peter.slow@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">haha, yes i did but im glad you sent me this one, so i can show you the right-er way to do this. I'm including the list again cause there's some really good info here and i want people to see it. hope you don't mind =) This was written in a not-for-public-consumption-tone of voice but i think the list can handle it. things said here are my $2 ;) anyway...<br>

<br>you made it more complicated than necessary, and i dislike the "forward digits" command because it effects the new number at an awkward point in processing and my experiences have been that it messes up your ability to (easily) use translation profiles (which are much more flexible IMHO) (please weigh in on that nick, interested in your opinion!)  ...because the number is not what you were expecting it to be when you wrote the rule. ...personal preference. I DO usually find that people who use that command are using it unnecessarily. back to what I was saying abou this being too complicated:<br>

<br>my dial-peer 57 will do the SAME thing as your two dial peers, transparently from your user's perspective. while I usually consider it poor form to use the "T" for things other than dial-peers for long distance, here im just trying to make a point. that first point is that your additionof the forward digits command is doign nothign in this case. <br>

<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p></div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">dial-peer voice 72099 pots</span></p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">destination-pattern 72………</span><div class="im">

<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">port 0/1/0:23</span></p></div>
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> forward-digits 7</span><br><br></div>...Is going to behave exactly the same as<br><br><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">dial-peer voice 72099 pots</span></p>


<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">destination-pattern 72………</span>
<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">port 0/1/0:23</span></p></div>

<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><br>...furthermore, the second dial-peer, lacking a $ at the end of the string, will still match an 11 digit number should it not match any other dial peers. if i _wanted_ that to happen, i'd simply say<br>

<br><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">dial-peer voice 72099 pots</span></p>
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">destination-pattern 72T</span>
<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">port 0/1/0:23</span></p></div>

<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><br>This works and you wont get inter-digit because CUCM sends the number enbloc. ...now people know that this dial peer is matching anything that starts with a 72, and since the 72 is matched explicitly, it gets stripped (in the absence of the no digit-strip command.) and this dp behaves just like your other two (below) would. <br>

<br>Original:<div class="im"><br><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p></div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">dial-peer voice 72099 pots</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> description TestPRI-LD</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> destination-pattern 72………..</span></p>

<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind setup enable 3</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind alert enable 8</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> fax rate disable</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> port 0/1/0:23</span></p>

</div><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> forward-digits 11</span><br><br><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">dial-peer voice 729999999 pots</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> description TestPRI</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> destination-pattern 72……..</span></p>

<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind setup enable 3</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind alert enable 8</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> fax rate disable</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> port 0/1/0:23</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> forward-digits 7</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>

</div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">dial-peer voice 72099 pots</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> description TestPRI-LD</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> destination-pattern 72………..</span></p><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind setup enable 3</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind alert enable 8</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> fax rate disable</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> port 0/1/0:23</span></p></div><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> forward-digits 11</span><br>

<br><br><br></div>....Hope that's helpful,<br>   -Peter Slow<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Wed, Apr 11, 2012 at 10:31 AM, Tim Reimers <span dir="ltr"><<a href="mailto:treimers@ashevillenc.gov" target="_blank">treimers@ashevillenc.gov</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(Heh .. just noticed this never went --- I think you probably got my other ‘thanks’ email first! )<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hey Peter—<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Getting back to this finally, after the holiday and some fires we had-<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So, if I do a route pattern of 72.XXXXXXX and 72.XXXXXXXXXX in UCM and tell that to use only this GW, then at that point, I’d need to do a dial-peer like this:<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">dial-peer voice 729999999 pots<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> description TestPRI<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> destination-pattern 72……..<u></u><u></u></span></p>

<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind setup enable 3<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind alert enable 8<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> fax rate disable<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> port 0/1/0:23<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> forward-digits 7<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

</div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">dial-peer voice 72099 pots<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> description TestPRI-LD<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> destination-pattern 72………..<u></u><u></u></span></p><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind setup enable 3<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> progress_ind alert enable 8<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> fax rate disable<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> port 0/1/0:23<u></u><u></u></span></p></div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> forward-digits 11<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Does that sound correct?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">That way, if I dial any seven digit number and prefix it with 72 (which I think isn’t anything we use internally)<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">the UCM would send to that GW router, and then the router would select only that port based on matching that specific dialpeer??<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Anything I’m not thinking of??<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">thanks, Tim<u></u><u></u></span></p>

<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">

<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Peter Slow [mailto:<a href="mailto:peter.slow@gmail.com" target="_blank">peter.slow@gmail.com</a>] <br>

<b>Sent:</b> Wednesday, April 04, 2012 4:38 PM<br><b>To:</b> Tim Reimers<br><b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><b>Subject:</b> Re: [cisco-voip] Assistance with call routing question...<u></u><u></u></span></p>

</div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">an h323 GW is all one entitiy from CUCMs perspective. If everything is in a single gateway, you'd have to use CUCM to prefic particular digits that the GW could then use to send to a particular interface.</p>

<div><div><br><br>How many PRIs are on this gateway, or are the other PRIs on _different_ gateways?<br><br>sounds like you're about to want to prefix somethign on the front of the called number, based on the callING number, which this document will show you how to do with translation profiles, directly in IOS:<u></u><u></u></div>

</div><p></p><div><div><h2>Mapping Outbound Calls to Unique FXS/FXO Ports on Analog Gateways<u></u><u></u></h2><p class="MsoNormal" style="margin-bottom:12.0pt"><a href="http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00801bc341.shtml" target="_blank">http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00801bc341.shtml</a><br>

<br><br>-Peter Slow<br><br><br><u></u><u></u></p><div><p class="MsoNormal">On Wed, Apr 4, 2012 at 3:23 PM, Tim Reimers <<a href="mailto:treimers@ashevillenc.gov" target="_blank">treimers@ashevillenc.gov</a>> wrote:<u></u><u></u></p>

<div><div><p class="MsoNormal">hi all-<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I should be able to do this myself, but I am experiencing a BSOB (Blue screen of Brain) on this simple one—<u></u><u></u></p>

<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I have a new PRI I want to test for echo and other issues—<u></u><u></u></p><p class="MsoNormal">For inbound calling, I already have a DID configured on the PRI and built on a couple of phones-<u></u><u></u></p>

<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I’ve set up a couple of route patterns for specific numbers, and those calls do go out this PRI<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">

 <u></u><u></u></p><p class="MsoNormal">For outbound calling, I’d like to simply set up a couple of phones in such a way that the only outside gateway they have access to is this PRI.<u></u><u></u></p><p class="MsoNormal">

 <u></u><u></u></p><p class="MsoNormal">The gateway router is running this PRI in H.323 mode-  <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I think I need to configure a new CSS in such a way that the only PSTN access for it would go through this one PRI?<u></u><u></u></p>

<p class="MsoNormal">but I’m stuck on that – <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">For just one number, I can make the system use that PRI by doing this- <u></u><u></u></p><p class="MsoNormal">

 <u></u><u></u></p><p class="MsoNormal">dial-peer voice <myhomephone> pots<u></u><u></u></p><p class="MsoNormal">description Local call test on new PRI<u></u><u></u></p><p class="MsoNormal">destination-pattern 9<myhomephone><u></u><u></u></p>

<p class="MsoNormal">progress_ind setup enable 3<u></u><u></u></p><p class="MsoNormal">progress_ind alert enable 8<u></u><u></u></p><p class="MsoNormal">fax rate disable<u></u><u></u></p><p class="MsoNormal">port 0/1/0:23<u></u><u></u></p>

<p class="MsoNormal">forward-digits 7<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">If I expand that dial-peer out to wildcards, it’s going to affect everyone on the voice network, not just my test phones…<u></u><u></u></p>

<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">But I’m not certain how to set things up so that –all- calls to and from a couple of test phones will always use that one H.323 PRI.<u></u><u></u></p><p class="MsoNormal">

 <u></u><u></u></p><p class="MsoNormal">There’s another PRI on that same gateway that’s in production, so I can’t just switch the config on the entire gateway at large—<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p>

<p class="MsoNormal">When I try building a route list, all I can do is select that router and “all ports” – unlike MGCP, I don’t have  the granular selection of just ports belonging to one Serial interface…<u></u><u></u></p>

<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Clues, anyone? <u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>cisco-voip mailing list<br>

<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><u></u><u></u></p>

</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></blockquote></div><br>
</div></div></blockquote></div><br>