<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD><TITLE>H323 with PRI</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE>font-face {
        FONT-FAMILY: "Cambria Math"
}
font-face {
        FONT-FAMILY: Calibri
}
font-face {
        FONT-FAMILY: Tahoma
}
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman","serif"
}
SPAN.EmailStyle18 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: "Tahoma","sans-serif"; TEXT-DECORATION: none
}
.MsoChpDefault {
        FONT-SIZE: 10pt
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=752144412-18042007><FONT face=Arial
color=#0000ff size=2>There is a default dial-peer with number 0. This
default dial-peer does not have 'direct-inward-dial' configured so when your
inbound call matches the default dial-peer you get a dial tone from the
router. To correct this you create a pots dial-peer with 'incoming
called-number .' and assign it to the PRI port so that any inbound call via the
PRI matches that pots dial-peer on the inbound call leg. The
direct-inward-dial command then signals the router to take the dialed digits
from that call leg and pass them through to the outbound call
leg.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=752144412-18042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=752144412-18042007><FONT face=Arial
color=#0000ff size=2><A
href="http://www.cisco.com/warp/public/788/voip/in_dial_peer_match.html">http://www.cisco.com/warp/public/788/voip/in_dial_peer_match.html</A></FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>-Ryan </FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] <B>On Behalf Of </B>Ahmed
Elnagar<BR><B>Sent:</B> Wednesday, April 18, 2007 5:25 AM<BR><B>To:</B> Ian
Worms [MTN Network Solutions]<BR><B>Cc:</B>
cisco-voip@puck.nether.net<BR><B>Subject:</B> Re: [cisco-voip] H323 with
PRI<BR></FONT><BR></DIV>
<DIV></DIV>
<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"><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>