<HTML dir=ltr><HEAD><TITLE>H323 with PRI</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE>
<!--
font-face
        {font-family:"Cambria Math";}
font-face
        {font-family:Calibri;}
font-face
        {font-family:Tahoma;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {
        color:purple;
        text-decoration:underline;}
p
        {
        margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {
        font-family:"Tahoma","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {
        font-size:10.0pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV id=idOWAReplyText43472 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>thanks very much for ur reply but what is the logic for this??</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature97470 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV class=ecsection1 style="MARGIN: auto 0in"><SPAN style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma">Thanks and Best Regards<BR><B><BR>Ahmed A. Elnagar<BR></B>Network Field Engineer</SPAN></DIV>
<DIV class=ecsection1 style="MARGIN: auto 0in"><SPAN style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma"></SPAN><SPAN style="FONT-SIZE: 6pt; COLOR: black; FONT-FAMILY: Tahoma"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN> </DIV>
<DIV class=ecsection1 style="MARGIN: auto 0in"><SPAN lang=ES style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma; mso-ansi-language: ES">Advanced Computer Technology (ACT)<BR>16 Fawzy Ramah St.Off Shehab St.Mohandessin, Giza, Egypt <BR>Postal Code:12411 Cairo Egypt<BR></SPAN><SPAN style="FONT-SIZE: 6pt; COLOR: #003366; FONT-FAMILY: Tahoma"><BR></SPAN><SPAN class=ecspelle><B><SPAN lang=ES style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma; mso-ansi-language: ES">Mob</SPAN></B></SPAN><B><SPAN style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma">:</SPAN></B><SPAN style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma"> +2010-2833868</SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma"><BR></SPAN><B><SPAN lang=ES style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma; mso-ansi-language: ES">Website</SPAN></B><B><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">: </SPAN></B><SPAN lang=ES style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma; mso-ansi-language: ES">www.act-eg.com<BR><B>E-mail</B></SPAN><B><SPAN style="FONT-SIZE: 10pt; COLOR: #004600; FONT-FAMILY: Tahoma">: </SPAN></B><SPAN lang=ES style="FONT-SIZE: 10pt; COLOR: #003366; FONT-FAMILY: Tahoma; mso-ansi-language: ES"><A href="mailto:aelnagar@act-eg.com">aelnagar@act-eg.com</A></SPAN></DIV></FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ian Worms [MTN Network Solutions] [mailto:ianw@mtnns.net]<BR><B>Sent:</B> Wed 18-Apr-07 10:05 AM<BR><B>To:</B> Ahmed Elnagar<BR><B>Subject:</B> RE: [cisco-voip] H323 with PRI<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'">Hi,</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'">What I understand is that you get a dial tone when you phone in, instead of the call going straight through to the right phone, I had a problem like this and I added the following dial-peer.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'">!</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'">dial-peer voice 10 pots</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'"> incoming called-number .T</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'"> direct-inward-dial</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'">!</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'">This takes the call and routes it to the correct voip dial-peer. Just use the dial-peer as above and don’t put any port number on it.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'">Thx</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'">Ian </SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> cisco-voip-bounces@puck.nether.net [mailto:cisco-voip-bounces@puck.nether.net] <B>On Behalf Of </B>Ahmed Elnagar<BR><B>Sent:</B> 18 April 2007 09:22 AM<BR><B>To:</B> cisco-voip@puck.nether.net<BR><B>Subject:</B> [cisco-voip] H323 with PRI</SPAN></P></DIV></DIV>
<P class=MsoNormal> </P>
<P style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt">Hello all;<BR><BR>I have a H323 gateway with one E1 PRI port, I have a callmanager ver 4.2. I want to configure outside calling to PSTN and inbound calling to IP Phones. for outside calling it worked normally I can call from IP Phones to outside and my correct caller ID is shown.<BR><BR>The problem when I am calling from outside to an IP Phone if I leave the E1 voice port with its dfault I got a dial tone when I call the number and if I dailed another extension number I can reach to this number. the alternative to this is to configure Connection plar 123 and all the calls to E1 is directed to that extension "123". I want when I call 6789123 i go to 123 extnsion and when I call 6789126 I go to 126, the normal operation for PRI as u know.<BR>by the way it works normally when configured as MGCP not H323. any ideas about this<BR><BR>here is the configuration:<BR><BR><BR>!<BR>network-clock-participate wic 2<BR>!<BR>!<BR>ip cef<BR>!<BR>!<BR>!<BR>!<BR>isdn switch-type primary-net5<BR>voice-card 0<BR> no dspfarm<BR>!<BR>!<BR>!<BR>!<BR>voice service voip<BR> fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco<BR> h323<BR>!<BR>!<BR>!<BR>!<BR>voice class h323 1<BR> h225 timeout tcp establish 3<BR> call preserve<BR>!<BR>!<BR>!<BR>!<BR>!<BR>!<BR>!<BR>!<BR>!<BR>!<BR>voice translation-rule 1<BR> rule 1 /.*/ /##37/<BR>!<BR>voice translation-rule 2<BR> rule 1 /.*/ /##38/<BR>!<BR>!<BR>voice translation-profile profile1<BR> translate calling 1<BR>!<BR>voice translation-profile profile2<BR> translate calling 2<BR>!<BR>!<BR>!<BR>!<BR>username xxxx password 0 xxxxxx<BR>!<BR>!<BR>controller E1 0/2/0<BR> pri-group timeslots 1-31<BR>!<BR>controller E1 0/2/1<BR>!<BR><BR>interface GigabitEthernet0/0<BR> no ip address<BR> shutdown<BR> duplex auto<BR> speed auto<BR> media-type rj45<BR> no keepalive<BR>!<BR><BR>!<BR>interface GigabitEthernet0/1<BR> no ip address<BR> duplex auto<BR> speed auto<BR> media-type rj45<BR> no keepalive<BR><BR>!<BR>interface GigabitEthernet0/1.2<BR> description Voice VLAN<BR> encapsulation dot1Q 102<BR> ip address a.b.c.d 255.255.255.0<BR> h323-gateway voip interface<BR>!<BR><BR>!<BR>interface Serial0/2/0:15<BR> no ip address<BR> encapsulation hdlc<BR> isdn switch-type primary-net5<BR> isdn incoming-voice voice<BR> no cdp enable<BR>!<BR>!<BR>voice-port 0/2/0:15<BR> cptone EG<BR>!<BR>voice-port 0/1/0<BR> timing hookflash-out 500<BR>!<BR>voice-port 0/1/1<BR> timing hookflash-out 500<BR>!<BR>voice-port 0/1/2<BR> translation-profile incoming profile1<BR> timeouts call-disconnect 5<BR> timeouts ringing 5<BR> timeouts wait-release 3<BR> timing hookflash-out 500<BR> connection plar opx 3333<BR> caller-id enable<BR>!<BR>voice-port 0/1/3<BR> translation-profile incoming profile2<BR> timeouts call-disconnect 5<BR> timeouts ringing 5<BR> timeouts wait-release 3<BR> timing hookflash-out 500<BR> connection plar opx 3333<BR> caller-id enable<BR>!<BR>voice-port 0/3/0<BR>!<BR>voice-port 0/3/1<BR>!<BR>ccm-manager redundant-host a.b.c.e<BR>ccm-manager mgcp<BR>ccm-manager music-on-hold<BR>ccm-manager config server a.b.c.f <BR>ccm-manager config<BR>!<BR>mgcp<BR>mgcp call-agent a.b.c.f 2427 service-type mgcp version 0.1<BR>mgcp dtmf-relay voip codec all mode out-of-band<BR>mgcp rtp unreachable timeout 1000 action notify<BR>mgcp modem passthrough voip mode nse<BR>mgcp package-capability rtp-package<BR>no mgcp package-capability res-package<BR>mgcp package-capability sst-package<BR>no mgcp package-capability fxr-package<BR>mgcp package-capability pre-package<BR>no mgcp timer receive-rtcp<BR>mgcp sdp simple<BR>mgcp fax t38 inhibit<BR>mgcp rtp payload-type g726r16 static<BR>!<BR>mgcp profile default<BR>!<BR>!<BR>!<BR>dial-peer voice 3 pots<BR> destination-pattern 54.T<BR> direct-inward-dial<BR> port 0/2/0:15<BR>!<BR>dial-peer voice 18 voip<BR> preference 1<BR> destination-pattern 1..<BR> session target ipv4:a.b.c.f<BR> incoming called-number 1..<BR> dtmf-relay h245-alphanumeric<BR> codec g711ulaw<BR> no vad<BR>!<BR>dial-peer voice 20 pots<BR> destination-pattern 2..<BR> port 0/1/0<BR> forward-digits all<BR>!<BR>dial-peer voice 21 pots<BR> preference 1<BR> destination-pattern 2..<BR> port 0/1/1<BR> forward-digits all<BR>!<BR>dial-peer voice 800 voip<BR> destination-pattern 800<BR> session target ipv4:a.b.c.f<BR> dtmf-relay h245-alphanumeric<BR> codec g711ulaw<BR>!<BR>dial-peer voice 801 voip<BR> destination-pattern 801<BR> session target ipv4:a.b.c.f<BR> dtmf-relay h245-alphanumeric<BR> codec g711ulaw<BR>!<BR>dial-peer voice 200 pots<BR> preference 1<BR> destination-pattern .T<BR> port 0/1/2<BR> forward-digits all<BR>!<BR>dial-peer voice 300 pots<BR> preference 2<BR> destination-pattern .T<BR> port 0/1/3<BR>!<BR>dial-peer voice 400 pots<BR> destination-pattern 00T<BR> port 0/1/3<BR>!<BR>dial-peer voice 500 voip<BR> destination-pattern 3738<BR> session target ipv4:a.b.c.f<BR> dtmf-relay h245-alphanumeric<BR> codec g711ulaw<BR> no vad<BR>!<BR>dial-peer voice 4000195 voip<BR> description Test_Fax<BR> destination-pattern 195<BR> session protocol sipv2<BR> session target ipv4:fax_server IP<BR> dtmf-relay rtp-nte<BR> codec g711ulaw<BR> fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco<BR> no vad<BR>!<BR>dial-peer voice 999010 pots<BR> service mgcpapp<BR> port 0/1/0<BR>!<BR>dial-peer voice 999011 pots<BR> service mgcpapp<BR> port 0/1/1<BR>!<BR>dial-peer voice 999030 pots<BR> service mgcpapp<BR> port 0/3/0<BR>!<BR>dial-peer voice 999031 pots<BR> service mgcpapp<BR> port 0/3/1<BR>!<BR>dial-peer voice 19 voip<BR> preference 2<BR> destination-pattern 1..<BR> session target ipv4:a.b.c.f<BR> incoming called-number 1..<BR> dtmf-relay h245-alphanumeric<BR> codec g711ulaw<BR> no vad<BR>!<BR>!<BR>gateway<BR> timer receive-rtp 1200<BR>!<BR>sip-ua<BR>!<BR>!<BR>! <BR><BR><BR><BR><BR>Thanks and Best Regards<BR><BR>Ahmed A. Elnagar<BR>Network Field Engineer<BR><BR>Advanced Computer Technology (ACT)<BR>16 Fawzy Ramah St.Off Shehab St.Mohandessin, Giza, Egypt<BR>Postal Code:12411 Cairo Egypt<BR><BR>Mob: +2010-2833868<BR>Website: www.act-eg.com<BR>E-mail: aelnagar@act-eg.com</SPAN></P></DIV></DIV></BODY></HTML>