<div>Are you using this as a guide?</div>
<div>&nbsp;</div>
<div><a href="http://www.cisco.com/en/US/tech/tk1077/technologies_configuration_example09186a00800942a5.shtml">http://www.cisco.com/en/US/tech/tk1077/technologies_configuration_example09186a00800942a5.shtml</a><br><br>&nbsp;</div>

<div><span class="gmail_quote">On 8/10/06, <b class="gmail_sendername">Keith Klevenski</b> &lt;<a href="mailto:keith.klevenski@rig.net">keith.klevenski@rig.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div lang="EN-US" vlink="blue" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I'd be curious what 'sh dialplan num 39495' showed…</span></font></p></div>
<div><span class="e" id="q_10cf97472c5df6a6_1">
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">
cisco-voip-bounces@puck.nether.net</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>] <b><span style="FONT-WEIGHT: bold">
On Behalf Of </span></b>Ed Leatherman<br><b><span style="FONT-WEIGHT: bold">Sent:</span></b> Thursday, August 10, 2006 1:14 PM<br><b><span style="FONT-WEIGHT: bold">To:</span></b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cisco-voip@puck.nether.net" target="_blank">
cisco-voip@puck.nether.net</a><br><b><span style="FONT-WEIGHT: bold">Subject:</span></b> [cisco-voip] Dial-peer matching question</span></font></p></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">I'm having trouble getting inbound dial-peers to match up. I have the following scenario</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">voice-port 0/1/1</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;connection plar 39495</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;caller-id enable</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">!<br>dial-peer voice 1 pots<br>&nbsp;description Inbound pots dial-peer for port 0/1/1<br>&nbsp;incoming called-number 39495<br>!<br>dial-peer voice 300 voip<br>
&nbsp;description outbound dial-peer to callmanager <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://10.182.140.10/" target="_blank">10.182.140.10</a><br>&nbsp;destination-pattern 39495<br>&nbsp;session target ipv4:
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://10.182.140.10/" target="_blank">10.182.140.10</a><br>!</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Unfortunately when I watch the debug voice ccapi inout for a call to that FXO port, it is always matching dial-peer 0. </span></font></p></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">ug 10 18:08:45.958: //-1/195B3C298092/CCAPI/cc_api_display_ie_subfields:<br>&nbsp;&nbsp; cc_api_call_setup_ind_common:<br>&nbsp;&nbsp; cisco-username=<br>&nbsp;&nbsp; ----- ccCallInfo IE subfields -----
<br>&nbsp;&nbsp; cisco-ani=<br>&nbsp;&nbsp; cisco-anitype=0<br>&nbsp;&nbsp; cisco-aniplan=0 <br>&nbsp;&nbsp; cisco-anipi=0<br>&nbsp;&nbsp; cisco-anisi=0<br>&nbsp;&nbsp; dest=39495<br>&nbsp;&nbsp; cisco-desttype=0<br>&nbsp;&nbsp; cisco-destplan=0<br>&nbsp;&nbsp; cisco-rdie=FFFFFFFF<br>&nbsp;&nbsp; cisco-rdn=<br>&nbsp;&nbsp; cisco-rdntype=0
<br>&nbsp;&nbsp; cisco-rdnplan=0<br>&nbsp;&nbsp; cisco-rdnpi=0<br>&nbsp;&nbsp; cisco-rdnsi=0 <br>&nbsp;&nbsp; cisco-redirectreason=0&nbsp;&nbsp; fwd_final_type =0<br>&nbsp;&nbsp; final_redirectNumber =<br>&nbsp;&nbsp; hunt_group_timeout =0</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Aug 10 18:08:45.958: //-1/195B3C298092/CCAPI/cc_api_call_setup_ind_common:<br>&nbsp;&nbsp; Interface=0x46A538BC, Call Info(<br>&nbsp;&nbsp; Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Al 
<br>lowed),<br>&nbsp;&nbsp; Called Number=39495(TON=Unknown, NPI=Unknown),<br>&nbsp;&nbsp; Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,<br><strong><b><font face="Times New Roman">&nbsp;&nbsp; Incoming Dial-peer=0
</font></b></strong>, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=FAL <br>SE,<br>&nbsp;&nbsp; Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1</span></font></p>

<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">I've also tried replacing the incoming called-number with &quot;port 0/1/1&quot; to force it to match on that criteria, but it doesnt match that either. I need to get the inbound dialpeer nailed down, because when I put the rest of my dial-peers in, it inevitably chooses another dial-peer in my config and&nbsp;uses that destination-patters as&nbsp;an incorrect number for the callerID. 
<br clear="all"></span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">From what I read on cco, the incoming called-number should take precidence and cause it to match. Maybe this doesnt work because its a PLAR configuration.. But then when I tried the voice-port, that should have matched. Its the the port that is ringing in and its the first dial-peer in the config. 
</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Any ideas what i'm doing wrong here?</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br>-- <br>Ed Leatherman<br>Senior Voice Engineer<br>West Virginia University<br>Telecommunications and Network Operations </span></font></p></div></span>
</div>
<div></div></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><br></blockquote>
</div><br>