12-02-2010 01:47 PM - edited 03-16-2019 02:14 AM
I have a 2800 router connected trough VPN with a CallManager 4.2.
It has a T1 CAS configured and it works ok with MGCP.
My problem is when the connection between the router and the CM fails and the SRST mode is enabled.
If I call the T1 number I can hear the calling signal but none of the phones ring. It also shows Codec=None with the 'show active voice call status' command
Here is the router is on MGCP Fallback mode:
GW-S#sh ccm
MGCP Domain Name: GW-S.ccmdom.local
Priority Status Host
============================================================
Primary Down CM1 (192.168.0.1)
First Backup Down CM2 (192.168.0.2)
Second Backup None
Current active Call Manager: None
Backhaul/Redundant link port: 2428
Failover Interval: 30 seconds
Keepalive Interval: 15 seconds
Last keepalive sent: 15:41:06 gmt Dec 2 2010 (elapsed time: 00:01:03)
Last MGCP traffic time: 15:40:36 gmt Dec 2 2010 (elapsed time: 00:01:33)
Last failover time: 15:41:08 gmt Dec 2 2010 from (192.168.70.1)
Last switchback time: 15:41:38 gmt Dec 2 2010 from (192.168.70.2)
Switchback mode: Immediate
MGCP Fallback mode: Enabled/ON
Last MGCP Fallback start time: 15:41:41 gmt Dec 2 2010
Last MGCP Fallback end time: 03:34:36 gmt Nov 30 2010
MGCP Download Tones: Disabled
I call the T1's phone number and when the call is established the first thing I see on the router is this message:
*Dec 2 21:49:09.345: %CALL_CONTROL-6-APP_NOT_FOUND: Application mgcpapp in dial-peer 999010991 not found. Handing callid 50 to the alternate app default.
With the call established ....
GW-S#sh voice call stat
CallID CID ccVdb Port DSP/Ch Called # Codec Dial-peers
0x31 1247 0x48A411F4 0/1/0:1.1 0/1:1 * None 999010991/-
GW-S#sh call active voice brief
<ID>: <CallID> <start>hs.<index> +<connect> pid:<peer_id> <dir> <addr> <state>
dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes>
IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms lost:<lost>/<early>/<late>
delay:<last>/<min>/<max>ms <codec>
media inactive detected:<y/n> media cntrl rcvd:<y/n> timestamp:<time>
long duration call detected:<y/n> long duration call duration :<sec> timestamp:<time>
MODEMPASS <method> buf:<fills>/<drains> loss <overall%> <multipkt>/<corrected>
last <buf event time>s dur:<Min>/<Max>s
FR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
<codec> (payload size)
ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
<codec> (payload size)
Tele <int> (callID) [channel_id] tx:<tot>/<v>/<fax>ms <codec> noise:<l> acom:<l> i/o:<l>/<l> dBm
MODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent> total:<rcvd>/<sent>/<drops>
speeds(bps): local <rx>/<tx> remote <rx>/<tx>
Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3> endpt: <type>/<manf>
bw: <req>/<act> codec: <audio>/<video>
tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>
rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 1
124B : 50 270124840ms.1 +-1 pid:999010991 Answer connected
dur 00:00:00 tx:0/0 rx:0/0
Tele 0/1/0:1 (50) [0/1/0.1] tx:0/0/0ms None noise:0 acom:0 i/0:0/0 dBm
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 1
My configuration------------------------------------------------------------------
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname GW-S
!
boot-start-marker
boot system flash:c2800nm-adventerprisek9-mz.124-4.XC5.bin
boot-end-marker
!
card type t1 0 1
enable secret 5 $1$G4vy$iZ3bbI7Ru.c571aFhts641
!
no aaa new-model
!
resource policy
!
clock timezone gmt -6
network-clock-participate wic 1
network-clock-select 1 T1 0/1/0
no ip source-route
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.7.1 192.168.1.2
!
ip dhcp pool Pool
network 192.168.0.0 255.255.255.0
option 150 ip 192.168.0.1 192.168.0.2
default-router 192.168.1.1
dns-server 192.168.0.1 192.168.0.2
domain-name ccmdom.local
!
!
ip tftp source-interface GigabitEthernet0/0
no ip domain lookup
ip domain name ccmdom.local
ip host CM1 192.168.0.1
ip host CM2 192.168.0.2
ip ssh version 1
!
!
isdn switch-type primary-dms100
!
voice-card 0
no dspfarm
!
!
!
voice service voip
allow-connections h323 to h323
h323
!
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
codec preference 4 g729br8
!
!
!
voice class h323 1
h225 timeout tcp establish 3
h225 timeout setup 3
call preserve
!
!
!
!
!
voice translation-rule 1
rule 1 /.*/ /2100/
!
voice translation-rule 2
rule 1 /^0/ //
!
voice translation-rule 20
rule 1 reject /981999999/
!
!
!
voice translation-profile Bloqueo_in
translate calling 20
!
voice translation-profile translate-in
translate called 1
!
voice translation-profile translate-out
translate called 2
!
!
!
application
global
service alternate default
!
!
!
controller T1 0/1/0
framing sf
linecode ami
ds0-group 1 timeslots 1-24 type e&m-wink-start
description PRIMARIO
!
!
!
interface GigabitEthernet0/0
description INTERFAZ GATEWAY_1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
ccm-manager switchback immediate
ccm-manager fallback-mgcp
ccm-manager redundant-host CM2
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server 192.168.0.1
ccm-manager config
!
mgcp
mgcp call-agent CM1 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 800100 pots
service mgcpapp
port 0/0/1
!
dial-peer voice 999010991 pots
service mgcpapp
port 0/1/0:1
!
dial-peer voice 800000 pots
port 0/0/0
!
dial-peer voice 999001 pots
service mgcpapp
port 0/0/1
!
!
!
call-manager-fallback
max-conferences 8 gain -6
transfer-system full-blind
ip source-address 192.168.1.1 port 2000
max-ephones 30
max-dn 20 dual-line
keepalive 120
time-format 24
date-format dd-mm-yy
!
Reading other posts I understand that my problem might be a bad dial-peer configuration. I've tried a lot of diferent configruations with the dial-peer but the result was the same. Any soul out there can help me?
12-02-2010 08:18 PM
Hi,
MGCP doesn't work once the callmanager is down. The gateway acts likes a H323 device. You need to have additional dial peers configured to have that working
12-03-2010 07:58 AM
Hello Madhusudhan and thank you for your answer.
Yes, I already know that, I forgot to include theese peers on the configuration output:
12-03-2010 08:30 AM
With those peers added the situation remains the same:
GW-S#sh voice call stat
CallID CID ccVdb Port DSP/Ch Called # Codec Dial-peers
0x4B 126D 0x48A411F4 0/1/0:1.1 0/1:1 * None 8000/-
1 active call found
GW-S#sh call active voice brief
dur hh:mm:ss tx:
IP
delay:
media inactive detected:
long duration call detected:
MODEMPASS
last
FR
ATM
Tele
MODEMRELAY info:
speeds(bps): local
Proxy
bw:
tx:
rx:
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 1
1271 : 76 337667170ms.1 +-1 pid:8000 Answer connected
dur 00:00:00 tx:0/0 rx:0/0
Tele 0/1/0:1 (76) [0/1/0.1] tx:0/0/0ms None noise:0 acom:0 i/0:0/0 dBm
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 1
12-09-2010 12:07 AM
Finally I've solved the problem.
voice translation-rule 1
rule 1 /.*/ /2100/
That rule pointed to 2100, that's a Hunt Pilot created in the CallManager.
While in SRST mode, CallManager is not accesible, so the router can't reach that 2100 group.
I created "alias" into the Call-Manager-Fallback section so I can emulate the 2100.
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