cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5804
Views
0
Helpful
28
Replies

ccm-manager fallback-mgcp - Busy signal outside calls

jroussy
Level 1
Level 1

Hi,

I start to configure MGCP for fallback, but each time I try to test the fallback outside calls are getting busy signal.

here the configuration :

!
boot system flash:c2800nm-spservicesk9-mz.124-24.T.bin
!
isdn switch-type primary-dms100
!
voice rtp send-recv
!
voice service voip
fax protocol pass-through g711ulaw
modem passthrough nse codec g711ulaw
!
voice-card 0
dsp services dspfarm
!
application
global
  service alternate Default
!
!
controller T1 0/0/0
cablelength short 110
pri-group timeslots 1-24 service mgcp
!        
controller T1 0/0/1
cablelength long 0db
!
controller T1 0/1/0
cablelength long 0db
pri-group timeslots 1-24 service mgcp
!
controller T1 0/1/1
cablelength long 0db
pri-group timeslots 1-24 service mgcp
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-dms100
isdn timer T310 120000
isdn incoming-voice voice
isdn bind-l3 ccm-manager
isdn send-alerting
fair-queue
no cdp enable
!
interface Serial0/1/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-qsig
isdn timer T310 120000
isdn overlap-receiving T302 2000
isdn protocol-emulate network
isdn incoming-voice voice
isdn bind-l3 ccm-manager
isdn send-alerting
fair-queue
no cdp enable
!
interface Serial0/1/1:23
no ip address
encapsulation hdlc
isdn switch-type primary-dms100
isdn timer T310 120000
isdn incoming-voice voice
isdn bind-l3 ccm-manager
isdn send-alerting
fair-queue
no cdp enable
!
voice-port 0/1/0:23
cptone CA
!
voice-port 0/0/0:23
cptone CA
!
voice-port 0/1/1:23
cptone CA
!
ccm-manager fallback-mgcp
ccm-manager redundant-host **** ****
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server ****
!
mgcp
mgcp call-agent **** 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 ip qos dscp cs3 signaling
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 ecm
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
mgcp bind control source-interface BVI1
mgcp bind media source-interface BVI1
!
mgcp profile default
!        
sccp local Loopback0
sccp ccm 10.89.0.3 identifier 3 priority 3 version 7.0
sccp ccm 10.9.0.14 identifier 2 priority 2 version 7.0
sccp ccm 10.9.0.15 identifier 1 priority 1 version 7.0
sccp
!
sccp ccm group 1
bind interface Loopback0
associate ccm 1 priority 1
associate ccm 2 priority 2
associate ccm 3 priority 3
associate profile 1 register CFB****
!
dspfarm profile 1 conference 
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 10
associate application SCCP
!
dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 911 pots
destination-pattern 911
port 0/0/0:23
forward-digits 3
!
dial-peer voice 9911 pots
destination-pattern 9911
port 0/0/0:23
forward-digits 3
!
dial-peer voice 9411 pots
destination-pattern 9411
port 0/0/0:23
forward-digits 3
!
dial-peer voice 11 pots
destination-pattern 91[2-9]..[2-9]......
port 0/0/0:23
forward-digits 11
!
dial-peer voice 9011 pots
destination-pattern 9011T
port 0/0/0:23
prefix 011
!
dial-peer voice 10 pots
destination-pattern 9T
port 0/0/0:23
forward-digits 10
!
call-manager-fallback
secondary-dialtone 7
max-conferences 10 gain -6
transfer-system full-consult
limit-dn 7910 2
limit-dn 7911 2
limit-dn 7940 2
limit-dn 7941 2
limit-dn 7942 2
limit-dn 7960 2
limit-dn 7961 2
limit-dn 7962 2
timeouts interdigit 5
ip source-address 10.0.64.21 port 2000
max-ephones 96
max-dn 2 dual-line preference 1
system message primary Mode RELEVE - Panne MPLS
system message secondary Mode RELEVE
dialplan-pattern 1 514285.... extension-length 4
dialplan-pattern 2 514499.... extension-length 4
dialplan-pattern 3 514982.... extension-length 4
transfer-pattern .T
voicemail 1207050
call-forward pattern .T
call-forward busy 1207050
call-forward noan 1207050 timeout 10
time-format 24
date-format yy-mm-dd
!

Thanks

28 Replies 28

#show ccm-manager
MGCP Domain Name: LQ500-R99V.loto-quebec.com
Priority        Status                   Host
============================================================
Primary         Registered               SCCM50004P (10.9.0.14)
First Backup    Backup Ready             SCCM50005P (10.9.0.15)
Second Backup   Down                     SCCMPDC03P (10.89.0.3)

Current active Call Manager:    10.9.0.14
Backhaul/Redundant link port:   2428
Failover Interval:              30 seconds
Keepalive Interval:             15 seconds
Last keepalive sent:            14:43:31 EDT Jul 28 2010 (elapsed time: 00:00:00)
Last MGCP traffic time:         14:43:31 EDT Jul 28 2010 (elapsed time: 00:00:00)
Last failover time:             None
Last switchback time:           None
Switchback mode:                Graceful
MGCP Fallback mode:             Enabled/OFF
Last MGCP Fallback start time:  13:13:14 EDT Jul 28 2010
Last MGCP Fallback end time:    13:13:31 EDT Jul 28 2010
MGCP Download Tones:            Disabled
TFTP retry count to shut Ports: 2

Backhaul Link info:
    Link Protocol:      TCP
    Remote Port Number: 2428
    Remote IP Address:  10.9.0.14
    Current Link State: OPEN
    Statistics:
        Packets recvd:   1049
        Recv failures:   1047
        Packets xmitted: 6
        Xmit failures:   0
    PRI Ports being backhauled:
        Slot 0, VIC 0, port 0
FAX mode: cisco
Configuration Error History:
LQ500-R99V#show mgcp
MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE
MGCP call-agent: SCCM50004P 2427 Initial protocol service is MGCP 0.1
MGCP validate call-agent source-ipaddr DISABLED
MGCP validate domain name DISABLED
MGCP block-newcalls DISABLED
MGCP send SGCP RSIP: forced/restart/graceful/disconnected DISABLED
MGCP quarantine mode discard/step
MGCP quarantine of persistent events is ENABLED
MGCP dtmf-relay voip codec all mode out-of-band
MGCP dtmf-relay for voAAL2 is SDP controlled
MGCP voip modem passthrough mode: NSE, codec: g711ulaw, redundancy: DISABLED,
MGCP voaal2 modem passthrough disabled
MGCP voip modem relay: Disabled
MGCP T.38 Named Signalling Event (NSE) response timer: 200
MGCP Network (IP/AAL2) Continuity Test timer: 200
MGCP 'RTP stream loss' timer disabled
MGCP request timeout 500
MGCP maximum exponential request timeout 4000
MGCP rtp unreachable timeout 1000 action notify
MGCP gateway port: 2427, MGCP maximum waiting delay 3000
MGCP restart delay 0, MGCP vad DISABLED
MGCP rtrcac DISABLED
MGCP system resource check DISABLED
MGCP xpc-codec: DISABLED, MGCP persistent hookflash: DISABLED
MGCP persistent offhook: ENABLED, MGCP persistent onhook: DISABLED
MGCP piggyback msg ENABLED, MGCP endpoint offset DISABLED
MGCP simple-sdp ENABLED
MGCP undotted-notation DISABLED
MGCP codec type g711ulaw, MGCP packetization period 20
MGCP JB threshold lwm 30, MGCP JB threshold hwm 150
MGCP LAT threshold lwm 150, MGCP LAT threshold hwm 300
MGCP PL threshold lwm 1000, MGCP PL threshold hwm 10000
MGCP CL threshold lwm 1000, MGCP CL threshold hwm 10000
MGCP playout mode is adaptive 60, 40, 1000 in msec
MGCP Fax Playout Buffer is 300 in msec
MGCP media (RTP) dscp: ef, MGCP signaling dscp: cs3
MGCP default package: trunk-package
MGCP supported packages: gm-package dtmf-package trunk-package line-package
                         hs-package rtp-package atm-package ms-package dt-package
                         mo-package mt-package sst-package pre-package md-package
MGCP Digit Map matching order: shortest match
SGCP Digit Map matching order: always left-to-right
MGCP VoAAL2 ignore-lco-codec DISABLED
MGCP T.38 Max Fax Rate is DEFAULT
MGCP T.38 Fax is DISABLED
MGCP T.38 Fax ECM is ENABLED
MGCP T.38 Fax NSF Override is DISABLED
MGCP T.38 Fax Low Speed Redundancy: 0
MGCP T.38 Fax High Speed Redundancy: 0
MGCP Fax relay SG3-to-G3: ENABLED
MGCP Fax relay ANSam suppression: DISABLED
MGCP control bound to interface BVI1
MGCP media bound to interface BVI1
MGCP Upspeed payload type for G711ulaw: 0,  G711alaw: 8
MGCP Dynamic payload type for Cisco fax indication: 96, Cisco fax ack: 97
MGCP Static payload type for G.726-16K codec
MGCP Dynamic payload type for G.726-24K codec
MGCP Dynamic payload type for G.726-32K codec
MGCP Dynamic payload type for G.Clear codec
MGCP Dynamic payload type for NSE is 100
MGCP Dynamic payload type for NTE is 99
MGCP rsip-range is enabled for TGCP only.
MGCP Comedia role is NONE
MGCP Comedia check media source is DISABLED
MGCP Comedia SDP force is DISABLED
MGCP Guaranteed scheduler time is DISABLED
MGCP Disconnect delay error recovery DISABLED
MGCP DNS stale threshold is 30 seconds

#

couple of things. Did you add in the other dial-peers that i asked you to earlier? This part makes me wonder if you have not done that yet.

Backhaul Link info:
    Link Protocol:      TCP
    Remote Port Number: 2428
    Remote IP Address:  10.9.0.14
    Current Link State: OPEN
    Statistics:
        Packets recvd:   1049
        Recv failures:   1047
        Packets xmitted: 6
        Xmit failures:   0
   PRI Ports being backhauled:
        Slot 0, VIC 0, port 0

Also under your statistics you see packets recvd: 1049 and Recv failures at 1047, something is a miss. Can you post your entire configuration with ethernet ports included? I am not familiar with your network topology but am wondering if you have the command "h323-gateway voip bind srcaddr xxx.xxx.xxx.xxx" (ip address of your ethernet interface). This could cause problems from outside to inside calls. This is really not needed for mgcp but is good to have.

Also you were missing part of the "show ccm-manager" output. There should be a section that looks like this that i do not see and will tell us if mgcp is able to configure your router correctly.

Configuration Auto-Download Information
=======================================
Current version-id: 1265907504-f86ec626-3af8-4942-982c-8644122ea699
Last config-downloaded:00:00:00
Current state: Waiting for commands
Configuration Download statistics:
        Download Attempted             : 1
          Download Successful          : 1
          Download Failed              : 0
          TFTP Download Failed         : 0
        Configuration Attempted        : 1
          Configuration Successful     : 1
          Configuration Failed(Parsing): 0
          Configuration Failed(config) : 0
Last config download command: New Registration

FAX mode: disable
Configuration Error History:
no network-clock-participate wic 1

Make sure you have those dial-peers in there that need to be in the config from above

dial-peer voice 999000 pots

service mgcpapp

port 0/0/0:23

dial-peer voice 999001 pots

service mgcpapp

port 0/0/1:23

dial-peer voice 999010 pots

service mgcpapp

port 0/1/0:23

dial-peer voice 999011 pots

service mgcpapp

port 0/1/1:23

The gateway is not configure with auto-config.

Not sure I follow you. MGCP will configure your router when you create the ports on the gateway in call manager. If, for some reason, it has not done this correctly that is the reason for putting in the dial-peer commands manually. Without it your PRI's will not work at all while running MGCP. You currently only have one configured and need to add in the others yet. I am guessing at that point your problems will most likely go away. You can issue the command "show isdn status" and you will probably only see the one PRI with "multiple frames established" and the others with "tei assigned" since they are not controlled via MGCP yet, hence the needed dial-peers.

Both TEI are in "multiple frames established" .. So in orther to make this work, I have to activated auto-config?

jroussy
Level 1
Level 1

I think I found one of my problem! The PRI 0/0/0 should not be part of the MGCP... So how do I tell

MGCP to not try to control this interface...

If you dont want MGCP to control a port on the gateway, get into call manager, bring up that particular gateway and delete the PRI port 0/0/0 from the gateway. Then verify on the gateway that the command "service mgcpapp" is no longer there. If it is, then get into config mode and remove the command from the voice port using "no service mgcpapp". I was on vacation last week so sorry for the late response.

No problem!

I find out myself, now the problem I have is this message when i'm in Fallback mode :

Aug  9 10:23:23.063: ASSERTION FAILED : ../voip/cctsp/tsp_cdapi.c:  tsp_cdb_assert_check:  9447

since MGCP is not controlling that port any longer do you still show "multiple frames established" when issuing the command "show isdn status" ? You will also now need some voip dial peers created for your incoming calls to be sent to call manager to be processed.

Yep the two ports is  "multiple frames established".

The other problem I see is those message :

LQ500-R99V#sh ccm
MGCP Domain Name: LQ500-R99V.loto-quebec.com
Priority        Status                   Host
============================================================
Primary         Registered               xxx
First Backup    Backup Ready             yyy
Second Backup   None                   

Current active Call Manager:    10.9.0.14
Backhaul/Redundant link port:   2428
Failover Interval:              30 seconds
Keepalive Interval:             15 seconds
Last keepalive sent:            13:47:16 EDT Aug 9 2010 (elapsed time: 00:00:02)
Last MGCP traffic time:         13:47:16 EDT Aug 9 2010 (elapsed time: 00:00:02)
Last failover time:             10:14:47 EDT Aug 9 2010 from (10.9.0.14)
Last switchback time:           10:15:17 EDT Aug 9 2010 from (10.9.0.15)
Switchback mode:                Graceful
MGCP Fallback mode:             Enabled/OFF
Last MGCP Fallback start time:  10:15:34 EDT Aug 9 2010
Last MGCP Fallback end time:    10:27:45 EDT Aug 9 2010
MGCP Download Tones:            Disabled
TFTP retry count to shut Ports: 2

Backhaul Link info:
    Link Protocol:      TCP
    Remote Port Number: 2428
    Remote IP Address:  10.9.0.14
    Current Link State: OPEN
    Statistics:
        Packets recvd:   3
        Recv failures:   0
        Packets xmitted: 3
        Xmit failures:   0
    PRI Ports being backhauled:
        Slot 0, VIC 0, port 1
Configuration Auto-Download Information
=======================================
Current version-id: 1281364352-3fffbb40-1eb7-434a-ae5f-1433481fab6f
Last config-downloaded:00:00:00
Current state: Waiting for commands
Configuration Download statistics:
        Download Attempted             : 36
          Download Successful          : 36
          Download Failed              : 0
          TFTP Download Failed         : 174
        Configuration Attempted        : 18
          Configuration Successful     : 8
          Configuration Failed(Parsing): 0
          Configuration Failed(config) : 10
Last config download command: New Registration
FAX mode: disable
Configuration Error History:
voice-port 0/0/1:23
echo-cancel coverage 24
end


no network-clock-participate wic 0
end


voice-port 0/0/1:23
echo-cancel coverage 24
end


voice-port 0/0/1:23
echo-cancel coverage 64
end


no network-clock-participate wic 0
end


voice-port 0/0/1:23
echo-cancel coverage 64
end


voice-port 0/0/1:23
echo-cancel coverage 64
end


no network-clock-participate wic 0
end


voice-port 0/0/1:23
echo-cancel coverage 64
end


voice-port 0/0/1:23
echo-cancel coverage 64
end


LQ500-R99V#

is there a firewall between your gateway and call manager?

Maybe... I will check, but the calls when not in fallback are working now...

No, and they are on the same vlan.

jroussy
Level 1
Level 1

Working right now... I gad to delete all and start from the beginning. The only thing that dont work is the voicemail but i'm working on it!!

THANKS A LOT!!