ccm-manager fallback-mgcp - Busy signal outside calls

Answered Question

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

Correct Answer by Tracy Larson about 6 years 9 months ago

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.

Correct Answer by Tracy Larson about 6 years 10 months ago

It doesnt look like MGCP took control of the gateway like it should have when creating the ports. You did configure them by clicking on them in the GUI I am assuming individually? In any event, add in these commands so that MGCP will control the ports accordingly.


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


you will notice the tag after the "999" will indicate the ports that mgcp is controlling. Try that out, you may need to do a "no mgcp" "mgcp" after adding the dial-peers in there. MGCP should have added those for you though.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Brandon Buffin Fri, 07/16/2010 - 08:15
User Badges:
  • Purple, 4500 points or more

Does "show isdn status" show the PRI functional during fallback. You should see "State = MULTIPLE_FRAME_ESTABLISHED".


Brandon

Brandon Buffin Fri, 07/16/2010 - 10:16
User Badges:
  • Purple, 4500 points or more

Is the problem with inbound calls, outbound calls or both?


Brandon

Brandon Buffin Mon, 07/19/2010 - 13:43
User Badges:
  • Purple, 4500 points or more

What digits are you dialing for the outbound call? If you enable "debug voip dialpeer", what dial peer is being matched by the outbound call?


Brandon

Thanks for your help, I had the following message :


Jul 21 09:48:26.733: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=10
Jul 21 09:48:26.733: //-1/77A162F18145/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=9514206xxxx, Peer Info Type=DIALPEER_INFO_SPEECH
Jul 21 09:48:26.733: //-1/77A162F18145/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=9514206xxxx
Jul 21 09:48:26.733: //-1/77A162F18145/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
Jul 21 09:48:26.733: //-1/77A162F18145/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=10
Jul 21 09:48:26.733: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=9[2-9]..[2-9]......, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
LQ500-R99V#
Jul 21 09:48:26.733: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt

LQ500-R99V#
Jul 21 09:48:32.093: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=514285xxxx$, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
Jul 21 09:48:32.093: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt

LQ500-R99V#

Tracy Larson Mon, 07/19/2010 - 13:17
User Badges:
  • Silver, 250 points or more

try adding in the command "ccm-manager config"

This command enables the router to download the xml file from the publisher. This seperates out the H323 dial peers from the MGCP dial peers if any. I cant remember if that command needs to be added before the "ccm-manager config server" or not. In any event run a "term mon" and after adding in the command do a "no mgcp" then "mgcp" and you should see the xml file being loaded into the router.

Correct Answer
Tracy Larson Wed, 07/21/2010 - 13:07
User Badges:
  • Silver, 250 points or more

It doesnt look like MGCP took control of the gateway like it should have when creating the ports. You did configure them by clicking on them in the GUI I am assuming individually? In any event, add in these commands so that MGCP will control the ports accordingly.


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


you will notice the tag after the "999" will indicate the ports that mgcp is controlling. Try that out, you may need to do a "no mgcp" "mgcp" after adding the dial-peers in there. MGCP should have added those for you though.

Tracy Larson Tue, 07/27/2010 - 07:01
User Badges:
  • Silver, 250 points or more

Get into Call Manager the go to Device, then Gateway. Find this paritcular gateway and click on the PRI's individually. Verify your setting are correct but then check the part that is in bold "Call Routing Information - Inbound Calls". Make sure your significant digits is defined correctly, i usually use All. Then verify you have the proper CSS defined for it that will include the paritions of your phones.


Edit: Your only problem is with being in fall back right? One more thing you should setup is more dial peers for each of the PRI's. I dont know how you have them trunked for inbound but sometimes only one PRI will get specified from the telco for inbound calls. By default I think the gateways should accept incoming calls with no dial peer configured for them but its best practice to have them configured for troubleshooting. So define another set of dial peers for each of your PRI's for outbound and inbound. Then once in fallback mode run the command "show ephone" to verify the phones are registered with the gateway accordingly.

Tracy Larson Wed, 07/28/2010 - 11:40
User Badges:
  • Silver, 250 points or more

telnet to your gateway and issue the following commands and post the results here.


show ccm-manager

show mgcp

#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

#

Tracy Larson Wed, 07/28/2010 - 13:54
User Badges:
  • Silver, 250 points or more

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

Tracy Larson Fri, 07/30/2010 - 12:44
User Badges:
  • Silver, 250 points or more

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.

Correct Answer
Tracy Larson Mon, 08/09/2010 - 08:15
User Badges:
  • Silver, 250 points or more

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.

Tracy Larson Mon, 08/09/2010 - 08:38
User Badges:
  • Silver, 250 points or more

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#

Tracy Larson Mon, 08/09/2010 - 11:21
User Badges:
  • Silver, 250 points or more

is there a firewall between your gateway and call manager?

Actions

This Discussion