11-13-2006 07:12 AM - edited 03-13-2019 03:46 PM
hi,
below u can see my mgcp gateway config.
its c2800nm-ipvoicek9-mz.124-10.bin.
But i can not work srst on that router.
I can not call pstn from PRi line. it alwyas give busy tone even my pri line works correctly with CCM.
!
!
application
global
service alternate DEFAULT
!
!
controller E1 0/2/0
pri-group timeslots 1-28 service mgcp
!
!
ccm-manager fallback-mgcp
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server 172.16.0.2
ccm-manager config
mgcp
mgcp call-agent 172.16.0.2 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 rtp payload-type g726r16 static
!
mgcp profile default
!
!
dial-peer voice 9 pots
destination-pattern 9T
incoming called-number 3199...
direct-inward-dial
port 0/2/0:15
forward-digits 7
!
!!
!
call-manager-fallback
max-conferences 8 gain -6
ip source-address 172.16.0.3 port 2000
max-ephones 40
max-dn 50
!
11-13-2006 07:20 AM
For incoming calls you'll need to add dialplan-pattern under call-manager-fallback to expand your DNs to whatever the telco is sending. For outbound calls you only have one dial-peer that will forward the last 7 digits, so only local calls will work.
Check to see if the PRI falls back to SRST when WAN is down, also posts results of "debug isdn q931" while making a call.
Chris
11-13-2006 08:50 AM
Hi I had similar problems try this config which works on my SRST, note the line
"access-code pri 9.T direct-inward-dial"
call-manager-fallback
secondary-dialtone 9
max-conferences 8 gain -6
transfer-system full-consult
limit-dn 7910 2
limit-dn 7935 2
limit-dn 7940 2
limit-dn 7960 2
limit-dn 7970 2
timeouts interdigit 3
timeouts ringing 20
ip source-address X.x.X.x port 2000
max-ephones 24
max-dn 48 dual-line
dialplan-pattern 1 25268... extension-length 4 no-reg
transfer-pattern 25268...
keepalive 20
access-code pri 9.T direct-inward-dial
voicemail 0003120xxxx
huntstop channel
call-forward pattern .T
moh music-on-hold.au
time-format 24
date-format dd-mm-yy
Colin
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide