<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<title>Re: [cisco-voip] H.323 Gateway (Cisco) and Plan Type</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have always used the &#8220;isdn map&#8221; command on the serial
interface to mark international calls as plan/type unknown, which always seems
to work.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

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

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>interface Serial0/0/0:23<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;no ip address<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;encapsulation hdlc<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;isdn switch-type primary-ni<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;isdn incoming-voice voice<o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;isdn map address ^011* plan unknown type unknown<o:p></o:p></span></b></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;no cdp enable<o:p></o:p></span></p>

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

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

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

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

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

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>My blog: <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="http://atc.go0se.com/">http://atc.go0se.com</a><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

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

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Help Hopegivers International <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>feed the orphans of India.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="http://www.hopegivers.org/">http://www.hopegivers.org</a><o:p></o:p></span></p>

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

</div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<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"'>
cisco-voip-bounces@puck.nether.net [mailto:cisco-voip-bounces@puck.nether.net] <b>On
Behalf Of </b>Matthew Ballard<br>
<b>Sent:</b> Wednesday, March 10, 2010 6:32 PM<br>
<b>To:</b> Mathew Miller<br>
<b>Cc:</b> cisco-voip@puck.nether.net<br>
<b>Subject:</b> Re: [cisco-voip] H.323 Gateway (Cisco) and Plan Type<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif"'>Thank you (to both of you) for your help.<br>
<br>
Both methods seemed to have worked, but I went with the translation option as
it also allowed me to force the type of call to international to make sure
there wasn&#8217;t any confusion with our provider (when I used the other dial
peers, it started going out as unknown). &nbsp;I also confirmed with our
provider that everything is presenting as it should now.<br>
<br>
The final adjustments I made were:<br>
voice translation-rule 2<br>
&nbsp;rule 1 /^9011/ /9/ type any international plan any isdn<br>
<br>
(translation-rule 1 was in use, and I had to add the 9 so that it would match
the number being sent to the gateway, and then the dial-peer properly).<br>
<br>
voice translation-profile OUTGOING<br>
&nbsp;translate called 2<br>
<br>
dial-peer voice 2 pots<br>
&nbsp;translation-profile outgoing OUTGOING<br>
&nbsp;destination-pattern 9T<br>
&nbsp;direct-inward-dial<br>
&nbsp;port 0/0/0:23<br>
!<br>
dial-peer voice 4 pots<br>
&nbsp;translation-profile outgoing OUTGOING<br>
&nbsp;destination-pattern 9T<br>
&nbsp;direct-inward-dial<br>
&nbsp;port 0/0/1:23<br>
!<br>
<br>
Thank You,<br>
Matthew<br>
<br>
<br>
On 3/10/10 3:54 PM, &quot;Mathew Miller&quot; &lt;<a
href="miller.mathew@gmail.com">miller.mathew@gmail.com</a>&gt; wrote:</span><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif"'>Sorry typo. Would add to dial-peer 2 and 4.<br>
<br>
<br>
On Mar 10, 2010, at 5:51 PM, Mathew Miller wrote:</span><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif"'>You could also add a translation profile to
your outbound dial-peer to strip off the digits.<br>
<br>
<br>
voice translation-rule 1<br>
&nbsp;rule 1 /^011/ //<br>
!<br>
<br>
voice translation-profile OUTGOING<br>
&nbsp;translate called 1<br>
<br>
dial-peer 2 pots<br>
translation-profile outgoing OUTGOING<br>
<br>
dial-peer 3 pots<br>
&nbsp;translation-profile OUTGOING<br>
<br>
<br>
<br>
On Mar 10, 2010, at 5:45 PM, Cristobal Priego wrote:</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>create
a more specific dial peer something like<br>
<br>
dial-peer voice 9011 pots<br>
destination-pattern 9011T<br>
port0/0/0:23<br>
<br>
<br>
by default, the exact match on the destination pattern is ignored when you send
the call out in this case 9011will be ignored and it will send the rest of the
chain out &nbsp;442075147212 <br>
and the call to UK should be good<br>
<br>
let me know how it goes<br>
<br>
2010/3/10 Matthew Ballard &lt;<a href="mballard@otis.edu">mballard@otis.edu</a>&gt;</span><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif"'>Here&#8217;s all of the pots dial peers:<br>
dial-peer voice 1 pots<br>
&nbsp;call-block translation-profile incoming call_block<br>
&nbsp;call-block disconnect-cause incoming call-reject<br>
&nbsp;destination-pattern 9[2-9]......<br>
&nbsp;direct-inward-dial<br>
&nbsp;port 0/0/0:23<br>
&nbsp;prefix 1310<br>
!<br>
dial-peer voice 2 pots<br>
&nbsp;destination-pattern 9T<br>
&nbsp;direct-inward-dial<br>
&nbsp;port 0/0/0:23<br>
! &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
dial-peer voice 3 pots<br>
&nbsp;call-block translation-profile incoming call_block<br>
&nbsp;call-block disconnect-cause incoming call-reject<br>
&nbsp;destination-pattern 9[2-9]......<br>
&nbsp;direct-inward-dial<br>
&nbsp;port 0/0/1:23<br>
&nbsp;prefix 1310<br>
!<br>
dial-peer voice 4 pots<br>
&nbsp;destination-pattern 9T<br>
&nbsp;direct-inward-dial<br>
&nbsp;port 0/0/1:23<br>
!<br>
<br>
Matthew<br>
<br>
<br>
<br>
On 3/10/10 3:37 PM, &quot;Cristobal Priego&quot; &lt;<a
href="cristobalpriego@gmail.com">cristobalpriego@gmail.com</a> &lt;<a
href="http://cristobalpriego@gmail.com/">http://cristobalpriego@gmail.com/</a>&gt;
&gt; wrote:</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>could
you show your H.323 dial-peer for international calls<br>
<br>
2010/3/10 Matthew Ballard &lt;<a href="mballard@otis.edu">mballard@otis.edu</a>
&lt;<a href="http://mballard@otis.edu/">http://mballard@otis.edu/</a>&gt; &gt;</span><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif"'>I had included that in the subject line, it
is a H.323 gateway.<br>
<span style='color:#888888'><br>
Matthew<br>
</span><br>
<br>
<br>
<br>
On 3/10/10 3:32 PM, &quot;Cristobal Priego&quot; &lt;<a
href="cristobalpriego@gmail.com">cristobalpriego@gmail.com</a> &lt;<a
href="http://cristobalpriego@gmail.com/">http://cristobalpriego@gmail.com/</a>&gt;
&nbsp;&lt;<a href="http://cristobalpriego@gmail.com">http://cristobalpriego@gmail.com</a>
&lt;<a href="http://cristobalpriego@gmail.com/">http://cristobalpriego@gmail.com/</a>&gt;
&gt; &gt; wrote:</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>is
your gateway configured as a MGCP or H.323 gateway ?<br>
<br>
2010/3/10 Matthew Ballard &lt;<a href="mballard@otis.edu">mballard@otis.edu</a>
&lt;<a href="http://mballard@otis.edu/">http://mballard@otis.edu/</a>&gt;
&nbsp;&lt;<a href="http://mballard@otis.edu">http://mballard@otis.edu</a> &lt;<a
href="http://mballard@otis.edu/">http://mballard@otis.edu/</a>&gt; &gt; &gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I
ran into a problem with our telephony provider that has been discovered as<br>
of yesterday. &nbsp;Our system is sending out a Type of International (see
below)<br>
when it is connecting a call that begins with 011. &nbsp;After opening a ticket<br>
with our provider when trying to call international (at least some of the<br>
time), there is a problem with sending the 011 and sending the type<br>
international. &nbsp;I'm not sure in IOS how to either strip the 011 or change<br>
the Type being sent (someone else did the initial setup of the gateway).<br>
Can someone point me in the right direction?<br>
<br>
Thank You,<br>
Matthew Ballard<br>
Network Manager<br>
Otis College of Art and Design<br>
<a href="mballard@otis.edu">mballard@otis.edu</a> &lt;<a
href="http://mballard@otis.edu/">http://mballard@otis.edu/</a>&gt; &nbsp;&lt;<a
href="http://mballard@otis.edu">http://mballard@otis.edu</a> &lt;<a
href="http://mballard@otis.edu/">http://mballard@otis.edu/</a>&gt; &gt; <br>
<br>
.Mar 10 14:15:11.540 PST: ISDN Se0/0/0:23 Q931: pak_private_number: Invalid<br>
type/plan 0x0 0x0 may be overriden; sw-type 13<br>
.Mar 10 14:15:11.540 PST: ISDN Se0/0/0:23 Q931: pak_private_number: Invalid<br>
type/plan 0x0 0x0 may be overriden; sw-type 13<br>
.Mar 10 14:15:11.540 PST: ISDN Se0/0/0:23 Q931: Applying typeplan for<br>
sw-type 0xD is 0x1 0x1, Called num 011442075147212<br>
.Mar 10 14:15:11.544 PST: ISDN Se0/0/0:23 Q931: TX -&gt; SETUP pd = 8
&nbsp;callref<br>
= 0x6D92<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bearer Capability i = 0x8090A2<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Standard
= CCITT<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transfer
Capability = Speech<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transfer
Mode = Circuit<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transfer
Rate = 64 kbit/s<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Channel ID i = 0xA98397<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exclusive,
Channel 23<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calling Party Number i =
0x2181, '3106656929'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Plan:ISDN,
Type:National<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called Party Number i = 0x91,
'011442075147212'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Plan:ISDN,
Type:International<br>
<br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a> &lt;<a
href="http://cisco-voip@puck.nether.net/">http://cisco-voip@puck.nether.net/</a>&gt;
&nbsp;&lt;<a href="http://cisco-voip@puck.nether.net">http://cisco-voip@puck.nether.net</a>
&lt;<a href="http://cisco-voip@puck.nether.net/">http://cisco-voip@puck.nether.net/</a>&gt;
&gt; <br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><o:p></o:p></p>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

</blockquote>

</blockquote>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

</blockquote>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif"'><br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><o:p></o:p></p>

</blockquote>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><o:p></o:p></p>

</blockquote>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</blockquote>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>