[cisco-voip] H323 with PRI
Ahmed Elnagar
aelnagar at ACT-EG.COM
Wed Apr 18 03:22:06 EDT 2007
Hello all;
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.
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.
by the way it works normally when configured as MGCP not H323. any ideas about this
here is the configuration:
!
network-clock-participate wic 2
!
!
ip cef
!
!
!
!
isdn switch-type primary-net5
voice-card 0
no dspfarm
!
!
!
!
voice service voip
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
h323
!
!
!
!
voice class h323 1
h225 timeout tcp establish 3
call preserve
!
!
!
!
!
!
!
!
!
!
voice translation-rule 1
rule 1 /.*/ /##37/
!
voice translation-rule 2
rule 1 /.*/ /##38/
!
!
voice translation-profile profile1
translate calling 1
!
voice translation-profile profile2
translate calling 2
!
!
!
!
username xxxx password 0 xxxxxx
!
!
controller E1 0/2/0
pri-group timeslots 1-31
!
controller E1 0/2/1
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
media-type rj45
no keepalive
!
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
media-type rj45
no keepalive
!
interface GigabitEthernet0/1.2
description Voice VLAN
encapsulation dot1Q 102
ip address a.b.c.d 255.255.255.0
h323-gateway voip interface
!
!
interface Serial0/2/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
!
voice-port 0/2/0:15
cptone EG
!
voice-port 0/1/0
timing hookflash-out 500
!
voice-port 0/1/1
timing hookflash-out 500
!
voice-port 0/1/2
translation-profile incoming profile1
timeouts call-disconnect 5
timeouts ringing 5
timeouts wait-release 3
timing hookflash-out 500
connection plar opx 3333
caller-id enable
!
voice-port 0/1/3
translation-profile incoming profile2
timeouts call-disconnect 5
timeouts ringing 5
timeouts wait-release 3
timing hookflash-out 500
connection plar opx 3333
caller-id enable
!
voice-port 0/3/0
!
voice-port 0/3/1
!
ccm-manager redundant-host a.b.c.e
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server a.b.c.f
ccm-manager config
!
mgcp
mgcp call-agent a.b.c.f 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
mgcp package-capability pre-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
!
!
dial-peer voice 3 pots
destination-pattern 54.T
direct-inward-dial
port 0/2/0:15
!
dial-peer voice 18 voip
preference 1
destination-pattern 1..
session target ipv4:a.b.c.f
incoming called-number 1..
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 20 pots
destination-pattern 2..
port 0/1/0
forward-digits all
!
dial-peer voice 21 pots
preference 1
destination-pattern 2..
port 0/1/1
forward-digits all
!
dial-peer voice 800 voip
destination-pattern 800
session target ipv4:a.b.c.f
dtmf-relay h245-alphanumeric
codec g711ulaw
!
dial-peer voice 801 voip
destination-pattern 801
session target ipv4:a.b.c.f
dtmf-relay h245-alphanumeric
codec g711ulaw
!
dial-peer voice 200 pots
preference 1
destination-pattern .T
port 0/1/2
forward-digits all
!
dial-peer voice 300 pots
preference 2
destination-pattern .T
port 0/1/3
!
dial-peer voice 400 pots
destination-pattern 00T
port 0/1/3
!
dial-peer voice 500 voip
destination-pattern 3738
session target ipv4:a.b.c.f
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 4000195 voip
description Test_Fax
destination-pattern 195
session protocol sipv2
session target ipv4:fax_server IP
dtmf-relay rtp-nte
codec g711ulaw
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
no vad
!
dial-peer voice 999010 pots
service mgcpapp
port 0/1/0
!
dial-peer voice 999011 pots
service mgcpapp
port 0/1/1
!
dial-peer voice 999030 pots
service mgcpapp
port 0/3/0
!
dial-peer voice 999031 pots
service mgcpapp
port 0/3/1
!
dial-peer voice 19 voip
preference 2
destination-pattern 1..
session target ipv4:a.b.c.f
incoming called-number 1..
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
!
gateway
timer receive-rtp 1200
!
sip-ua
!
!
!
Thanks and Best Regards
Ahmed A. Elnagar
Network Field Engineer
Advanced Computer Technology (ACT)
16 Fawzy Ramah St.Off Shehab St.Mohandessin, Giza, Egypt
Postal Code:12411 Cairo Egypt
Mob: +2010-2833868
Website: www.act-eg.com
E-mail: aelnagar at act-eg.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20070418/31119b36/attachment.html
More information about the cisco-voip
mailing list