<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>H323 with PRI</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>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<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>