We have a cisco 2821 in a remote office and have discovered that mgcp fallback does not work when the gateway loses connectivity with the call manager. We have the same config on it as other gateways in other remote offices which are working fine.
Here an abridged config from the gateway:
!
! boot-start-marker boot-end-marker ! card type e1 0 0
voice-card 0 no dspfarm ! controller E1 0/0/0 pri-group timeslots 1-31 service mgcp
interface GigabitEthernet0/0 no ip address shutdown duplex auto speed auto ! interface GigabitEthernet0/1 ip address 10.96.193.201 255.255.255.0 duplex auto speed auto ! interface Serial0/0/0:15 no ip address encapsulation hdlc isdn switch-type primary-net5 isdn incoming-voice voice isdn bind-l3 ccm-manager no cdp enable ! ip route 0.0.0.0 0.0.0.0 10.96.193.254
voice-port 0/0/0:15 cptone ES ! ccm-manager fallback-mgcp ccm-manager redundant-host 10.96.73.2 10.96.79.133 ccm-manager mgcp ccm-manager music-on-hold ccm-manager config server 10.96.79.133 ccm-manager config ! mgcp mgcp call-agent 10.96.79.132 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 1 pots destination-pattern 9T direct-inward-dial port 0/0/0:15 ! ! ! call-manager-fallback max-conferences 8 gain -6 ip source-address 10.96.193.201 port 2000 max-ephones 52 max-dn 52 system message primary System is in backup mode time-zone 23 time-format 24 date-format dd-mm-yy !
! scheduler allocate 20000 1000 ntp clock-period 17180084 ntp server 10.96.91.223 ntp server 10.96.169.123 ! end
Here is the output from debug isdn q931 when an incoming call is received:
May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: L3IF_rx_L2_pak: received data May 24 12:11:26.909 BST: 08021B080504039090A31803A983811E May 24 12:11:26.909 BST: 0285816C0E1183343437373933313636 May 24 12:11:26.909 BST: 373333700AA1393135393831353631A1 May 24 12:11:26.909 BST: May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: L3_Go: source 0x020A, event 0x00 05, call id 0x int id 0x0 May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: L3_Go: event 0x5 cr_len 2 cr 39 688 May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: L3_Go: call_id 0x4 cr 0x9B08 sta te 0 event 0x5 ces 1 May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: L3_ProcessEvent: callref = 0x9B0 8 SETUP:U0_Setup(nlcb) May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: L3_state_change: callref 0x9B08 old NULL_STATE, new CALL_PRESENT May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: extract_called_number: Extracted called number 915981561 May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: extract_called_number: Extracted called number 915981561 May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: extract_called_number: Extracted called number 915981561 May 24 12:11:26.909 BST: ISDN Se0/0/0:15 Q931d: extract_called_number: Extracted called number 915981561 May 24 12:11:26.913 BST: ISDN Se0/0/0:15 Q931d: extract_called_number: Extracted called number 915981561 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: Default type/plan 0x0 0x1 sw-typ e 18 Calling number 447793166733 isdn_map 0 mask 0x3022 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: Calling plan/type unspecified in call_decode, so ignored. May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: No call_decode, isdn default set May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: From OGW: typeplan 0x1 0x1, prot _id 0x1; Oct3a 0x83 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: Default type/plan 0x0 0x1 sw-typ e 18 Called number 15981561 isdn_map 0 mask 0x3022 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: Called plan/type unspecified in call_decode, so ignored. May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: No call_decode, isdn default set May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: From OGW: typeplan 0x2 0x1, prot _id 0x1 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: CCIE_BuildChanId_IE: int_ident_l en 0 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: L3_Go: source 0x0400, event 0x00 88, call id 0x int id 0x4 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: L3_Go: event 0x88 cr_len 2 cr 3 9688 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: L3_Go: call_id 0x4 cr 0x9B08 sta te 6 event 0x88 ces 1 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: L3_ProcessEvent: callref = 0x9B0 8 CC_CALL_PROC_REQ:U6_CallProcReq(nlcb) May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: srl_send_l3_pak: source_id = Q.931 0x0300, dest_id = Q.921 0x0000, prim = DL_DATA_REQ 0x0 240 priv_len = 4 int_id = 0x46BE4528 datasize = 26 May 24 12:11:26.921 BST: ISDN Se0/0/0:15 Q931d: data = May 24 12:11:26.925 BST: 46BE4528000003000240040000010000 May 24 12:11:26.925 BST: 08029B08021803A98381 May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: L3_state_change: callref 0x9B08 old CALL_PRESENT, new IN_CALL_PROC May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: CCIE_BuildChanId_IE: int_ident_l en 0 May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: L3_Go: source 0x0400, event 0x00 80, call id 0x int id 0x8004 May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: L3_Go: event 0x80 cr_len 2 cr 0 May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: L3_Go: call_id 0x8004 cr 0x0 sta te 0 event 0x80 ces 1 May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: L3_ProcessEvent: callref = 0x000 0 CC_SETUP_REQ:U0_SetupReq(nlcb) May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: srl_send_l3_pak: source_id = Q.931 0x0300, dest_id = Q.921 0x0000, prim = DL_DATA_REQ 0x0 240 priv_len = 4 int_id = 0x46BE4528 datasize = 63 May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: data = May 24 12:11:26.925 BST: 46BE4528000003000240040000010000 May 24 12:11:26.925 BST: 0802008305A104039090A31803A9839F May 24 12:11:26.925 BST: 1E0285816C0E11833434373739333136 May 24 12:11:26.925 BST: 363733337009A13135393831353631 May 24 12:11:26.925 BST: ISDN Se0/0/0:15 Q931d: L3_state_change: callref 0x0083 old NULL_STATE, new CALL_INIT May 24 12:11:27.053 BST: ISDN Se0/0/0:15 Q931d: L3IF_rx_L2_pak: received data May 24 12:11:27.053 BST: 080280835A0802809C May 24 12:11:27.053 BST: ISDN Se0/0/0:15 Q931d: L3_Go: source 0x020A, event 0x00 5A, call id 0x int id 0x0 May 24 12:11:27.053 BST: ISDN Se0/0/0:15 Q931d: L3_Go: event 0x5A cr_len 2 cr 1 31 May 24 12:11:27.053 BST: ISDN Se0/0/0:15 Q931d: L3_Go: call_id 0x8004 cr 0x83 st ate 1 event 0x5A ces 1 May 24 12:11:27.053 BST: ISDN Se0/0/0:15 Q931d: L3_ProcessEvent: callref = 0x008 3 RELEASE_COMP:U1_ReleaseComp(nlcb) May 24 12:11:27.053 BST: ISDN Se0/0/0:15 Q931d: L3_state_change: callref 0x0083 old CALL_INIT, new NULL_STATE May 24 12:11:27.053 BST: ISDN Se0/0/0:15 Q931d: CC_CHAN_GetUserpri: using call_i d = 0x8004 May 24 12:11:27.061 BST: ISDN Se0/0/0:15 Q931d: L3_Go: source 0x0400, event 0x00 84, call id 0x int id 0x4 May 24 12:11:27.061 BST: ISDN Se0/0/0:15 Q931d: L3_Go: event 0x84 cr_len 2 cr 3 9688 May 24 12:11:27.061 BST: ISDN Se0/0/0:15 Q931d: L3_Go: call_id 0x4 cr 0x9B08 sta te 9 event 0x84 ces 1 May 24 12:11:27.061 BST: ISDN Se0/0/0:15 Q931d: L3_ProcessEvent: callref = 0x9B0 8 CC_DISCONNECT_REQ:Ux_DiscReq(nlcb) May 24 12:11:27.061 BST: ISDN Se0/0/0:15 Q931d: srl_send_l3_pak: source_id = Q.931 0x0300, dest_id = Q.921 0x0000, prim = DL_DATA_REQ 0x0 240 priv_len = 4 int_id = 0x46BE4528 datasize = 25 May 24 12:11:27.061 BST: ISDN Se0/0/0:15 Q931d: data = May 24 12:11:27.061 BST: 46BE4528000003000240043300013838 May 24 12:11:27.061 BST: 08029B08450802809C May 24 12:11:27.061 BST: ISDN Se0/0/0:15 Q931d: L3_state_change: callref 0x9B08 old IN_CALL_PROC, new DISCONNECT_REQUEST May 24 12:11:27.149 BST: ISDN Se0/0/0:15 Q931d: L3IF_rx_L2_pak: received data May 24 12:11:27.149 BST: 08021B084D May 24 12:11:27.153 BST: ISDN Se0/0/0:15 Q931d: L3_Go: source 0x020A, event 0x00 4D, call id 0x int id 0x0 May 24 12:11:27.153 BST: ISDN Se0/0/0:15 Q931d: L3_Go: event 0x4D cr_len 2 cr 3 9688 May 24 12:11:27.153 BST: ISDN Se0/0/0:15 Q931d: L3_Go: call_id 0x4 cr 0x9B08 sta te 11 event 0x4D ces 1 May 24 12:11:27.153 BST: ISDN Se0/0/0:15 Q931d: L3_ProcessEvent: callref = 0x9B0 8 RELEASE:U11_Release(nlcb) May 24 12:11:27.153 BST: ISDN Se0/0/0:15 Q931d: srl_send_l3_pak: source_id = Q.931 0x0300, dest_id = Q.921 0x0000, prim = DL_DATA_REQ 0x0 240 priv_len = 4 int_id = 0x46BE4528 datasize = 21 May 24 12:11:27.153 BST: ISDN Se0/0/0:15 Q931d: data = May 24 12:11:27.153 BST: 46BE452800000300024004650001342E May 24 12:11:27.153 BST: 08029B085A May 24 12:11:27.153 BST: ISDN Se0/0/0:15 Q931d: L3_state_change: callref 0x9B08 old DISCONNECT_REQUEST, new NULL_STATE May 24 12:11:27.153 BST: ISDN Se0/0/0:15 Q931d: CC_CHAN_GetUserpri: using call_i d = 0x4