<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It’s been a while since I have done
H.323 but I think you need a dial-peer to match the incoming call leg. I
think you get a match on dial peer 0 which is a default dial-peer. It appears
that the dial peers you showed are trying to match the outbound call leg of the
call. For instance on one of my old H.323 configs I have as my first dial
peer:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>dial-peer voice 1 pots<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> description ** Inbound Call leg all
calls **<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> incoming called-number .<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> direct-inward-dial<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> port 1/0:23<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> forward-digits all<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Then I have all the dial peers that I am
trying to eventually go to.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Carlos<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
cisco-voip-bounces@puck.nether.net [mailto:cisco-voip-bounces@puck.nether.net] <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
2:14 PM<br>
<b><span style='font-weight:bold'>To:</span></b> cisco-voip@puck.nether.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [cisco-voip] Dial-peer
matching question</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I'm having trouble getting inbound dial-peers to match up. I have the
following scenario<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>voice-port 0/1/1<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> connection plar 39495<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> caller-id enable<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>!<br>
dial-peer voice 1 pots<br>
description Inbound pots dial-peer for port 0/1/1<br>
incoming called-number 39495<br>
!<br>
dial-peer voice 300 voip<br>
description outbound dial-peer to callmanager <a
href="http://10.182.140.10">10.182.140.10</a><br>
destination-pattern 39495<br>
session target ipv4:<a href="http://10.182.140.10">10.182.140.10</a><br>
!<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Unfortunately when I watch the debug voice ccapi inout for a call to
that FXO port, it is always matching dial-peer 0. <o:p></o:p></span></font></p>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>ug 10
18:08:45.958: //-1/195B3C298092/CCAPI/cc_api_display_ie_subfields:<br>
cc_api_call_setup_ind_common:<br>
cisco-username=<br>
----- ccCallInfo IE subfields -----<br>
cisco-ani=<br>
cisco-anitype=0<br>
cisco-aniplan=0 <br>
cisco-anipi=0<br>
cisco-anisi=0<br>
dest=39495<br>
cisco-desttype=0<br>
cisco-destplan=0<br>
cisco-rdie=FFFFFFFF<br>
cisco-rdn=<br>
cisco-rdntype=0<br>
cisco-rdnplan=0<br>
cisco-rdnpi=0<br>
cisco-rdnsi=0 <br>
cisco-redirectreason=0 fwd_final_type =0<br>
final_redirectNumber =<br>
hunt_group_timeout =0<o:p></o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Aug 10
18:08:45.958: //-1/195B3C298092/CCAPI/cc_api_call_setup_ind_common:<br>
Interface=0x46A538BC, Call Info(<br>
Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown,
Screening=Not Screened, Presentation=Al <br>
lowed),<br>
Called Number=39495(TON=Unknown, NPI=Unknown),<br>
Calling Translated=FALSE, Subscriber Type Str=RegularLine,
FinalDestinationFlag=TRUE,<br>
<strong><b><font face="Times New Roman"> Incoming Dial-peer=0</font></b></strong>,
Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=FAL <br>
SE,<br>
<st1:Street w:st="on"><st1:address w:st="on">Source Trkgrp Route</st1:address></st1:Street>
Label=, <st1:Street w:st="on"><st1:address w:st="on">Target Trkgrp Route</st1:address></st1:Street>
Label=, CLID Transparent=FALSE), Call Id=-1<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I've also tried replacing the incoming called-number with "port
0/1/1" 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 uses that destination-patters as an incorrect number for the
callerID. <br clear=all>
<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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. <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Any ideas what i'm doing wrong here?<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
-- <br>
Ed Leatherman<br>
Senior Voice Engineer<br>
<st1:place w:st="on"><st1:PlaceName w:st="on">West Virginia</st1:PlaceName> <st1:PlaceType
w:st="on">University</st1:PlaceType></st1:place><br>
Telecommunications and Network Operations <o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>