Ben Dugdale
2005-May-16 10:39 UTC
[Asterisk-Users] ShoreTel 210 MGCP phone drops calls with MGCP RSIP
I've got a ShoreTel 210 MGCP phone drops calls. My packet capture indicates that the phone may be trying to renew its registration with *, but reports Restart Method of Disconnected (frame 2), then * seems to take that as a sign that it has lost the connection and closes things down. The phone, meanwhile, seems to think it can continue the conversation until a few ICMP "port unreachable" packets set it straight. I am able to duplicate this on a fairly regular basis and it appears that the call is always dropped similarly. Everything is groovy until the first MGCP RSIP during a call. The phone seems to send these MGCP RSIPs (perhaps on a schedule, looks like every 120 seconds) even when there is no call taking place. Is my diagnosis correct? What can I do about it? ...Normal RTP, then one final RTP packet and the following... 1 0.000000 192.168.0.5 5004 192.168.1.137 5004 UDP Source port: 5004 Destination port: 5004 2 0.007970 192.168.1.137 2427 192.168.0.5 2727 MGCP RSIP 14831 SHOR_001049007E83@[192.168.1.137] MGCP 1.0 3 0.008096 192.168.0.5 2727 192.168.1.137 2427 MGCP 200 14831 OK 4 0.008150 192.168.0.5 2727 192.168.1.137 2427 MGCP RQNT 7 SHOR_001049007E83@[192.168.1.137] MGCP 1.0 5 0.008186 192.168.0.5 2727 192.168.1.137 2427 MGCP AUEP 8 SHOR_001049007E83@[192.168.1.137] MGCP 1.0 6 0.008267 192.168.0.5 2727 192.168.1.137 2427 MGCP DLCX 9 SHOR_001049007E83@[192.168.1.137] MGCP 1.0 7 0.009226 192.168.0.5 4569 192.168.1.135 4569 IAX2 IAX, source call# 2, timestamp 61056ms HANGUP 8 0.012188 192.168.1.135 4569 192.168.0.5 4569 IAX2 IAX, source call# 10281, timestamp 61056ms ACK 9 0.015216 192.168.1.137 5004 192.168.0.5 5004 UDP Source port: 5004 Destination port: 5004 10 0.015265 192.168.0.5 192.168.1.137 ICMP Destination unreachable (Port unreachable) 11 0.029923 192.168.1.137 2427 192.168.0.5 2727 MGCP 200 7 OK 12 0.030090 192.168.0.5 2727 192.168.1.137 2427 MGCP RQNT 10 SHOR_001049007E83@[192.168.1.137] MGCP 1.0 13 0.035268 192.168.1.137 5004 192.168.0.5 5004 UDP Source port: 5004 Destination port: 5004 14 0.035306 192.168.0.5 192.168.1.137 ICMP Destination unreachable (Port unreachable) 15 0.050434 192.168.1.137 2427 192.168.0.5 2727 MGCP 200 8 OK 16 0.055251 192.168.1.137 5004 192.168.0.5 5004 UDP Source port: 5004 Destination port: 5004 17 0.055282 192.168.0.5 192.168.1.137 ICMP Destination unreachable (Port unreachable) 18 0.077638 192.168.1.137 2427 192.168.0.5 2727 MGCP 250 9 Connection was deleted 19 0.100808 192.168.1.137 2427 192.168.0.5 2727 MGCP 200 10 OK rtp.conf: [general] rtpstart=5004 rtpend=5005 mgcp.conf: [general] port = 2727 bindaddr = 0.0.0.0 [192.168.1.137] host = 192.168.1.137 context = home callerid = "ShoreTel" <4368> dtmfmode = inband accountcode = 1000 amaflags = billing callwaiting = no callreturn = no cancallforward = no canreinvite = no transfer = no line => SHOR_001049007E83 -- Ben Dugdale <ben@apachecounty.net> -------------- next part -------------- A non-text attachment was scrubbed... Name: mgcp.dmp Type: application/octet-stream Size: 3250 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050516/c4b2260c/mgcp.obj
Duane Cox
2005-May-16 12:30 UTC
[Asterisk-Users] ShoreTel 210 MGCP phone drops calls with MGCP RSIP
RSIP = Restart in Progress. This message is sent from and endpoint to the call-agent when the line is being disabled/reenabled, and at startup. I would think that * should tear down any active calls that is going on when a RSIP comes in, so from what I am reading this is correct. The bigger question is, why is your phone sending RSIP during a call? Maybe your phone isn't 100% setup yet, but enough to get calls up. See if you can capture an "mgcp debug" from the * CLI. Duane ----- Original Message ----- From: "Ben Dugdale" <ben@apachecounty.net> To: <asterisk-users@lists.digium.com> Sent: Monday, May 16, 2005 12:39 PM Subject: [Asterisk-Users] ShoreTel 210 MGCP phone drops calls with MGCP RSIP> I've got a ShoreTel 210 MGCP phone drops calls. My packet > capture indicates that the phone may be trying to renew its registration > with *, but reports Restart Method of Disconnected (frame 2), then * > seems to take that as a sign that it has lost the connection and closes > things down. The phone, meanwhile, seems to think it can continue the > conversation until a few ICMP "port unreachable" packets set it straight. > > I am able to duplicate this on a fairly regular basis and it appears > that the call is always dropped similarly. Everything is groovy until > the first MGCP RSIP during a call. The phone seems to send these MGCP > RSIPs (perhaps on a schedule, looks like every 120 seconds) even when > there is no call taking place. > > Is my diagnosis correct? What can I do about it? > > ...Normal RTP, then one final RTP packet and the following... > > 1 0.000000 192.168.0.5 5004 192.168.1.137 5004 UDP Source port: > 5004 Destination port: 5004 > 2 0.007970 192.168.1.137 2427 192.168.0.5 2727 MGCP RSIP 14831 > SHOR_001049007E83@[192.168.1.137] MGCP 1.0 > 3 0.008096 192.168.0.5 2727 192.168.1.137 2427 MGCP 200 14831 OK > 4 0.008150 192.168.0.5 2727 192.168.1.137 2427 MGCP RQNT 7 > SHOR_001049007E83@[192.168.1.137] MGCP 1.0 > 5 0.008186 192.168.0.5 2727 192.168.1.137 2427 MGCP AUEP 8 > SHOR_001049007E83@[192.168.1.137] MGCP 1.0 > 6 0.008267 192.168.0.5 2727 192.168.1.137 2427 MGCP DLCX 9 > SHOR_001049007E83@[192.168.1.137] MGCP 1.0 > 7 0.009226 192.168.0.5 4569 192.168.1.135 4569 IAX2 IAX, source > call# 2, timestamp 61056ms HANGUP > 8 0.012188 192.168.1.135 4569 192.168.0.5 4569 IAX2 IAX, source > call# 10281, timestamp 61056ms ACK > 9 0.015216 192.168.1.137 5004 192.168.0.5 5004 UDP Source port: > 5004 Destination port: 5004 > 10 0.015265 192.168.0.5 192.168.1.137 ICMP Destination unreachable > (Port unreachable) > 11 0.029923 192.168.1.137 2427 192.168.0.5 2727 MGCP 200 7 OK > 12 0.030090 192.168.0.5 2727 192.168.1.137 2427 MGCP RQNT 10 > SHOR_001049007E83@[192.168.1.137] MGCP 1.0 > 13 0.035268 192.168.1.137 5004 192.168.0.5 5004 UDP Source port: > 5004 Destination port: 5004 > 14 0.035306 192.168.0.5 192.168.1.137 ICMP Destination unreachable > (Port unreachable) > 15 0.050434 192.168.1.137 2427 192.168.0.5 2727 MGCP 200 8 OK > 16 0.055251 192.168.1.137 5004 192.168.0.5 5004 UDP Source port: > 5004 Destination port: 5004 > 17 0.055282 192.168.0.5 192.168.1.137 ICMP Destination unreachable > (Port unreachable) > 18 0.077638 192.168.1.137 2427 192.168.0.5 2727 MGCP 250 9 > Connection was deleted > 19 0.100808 192.168.1.137 2427 192.168.0.5 2727 MGCP 200 10 OK > > rtp.conf: > > [general] > rtpstart=5004 > rtpend=5005 > > mgcp.conf: > > [general] > port = 2727 > bindaddr = 0.0.0.0 > > [192.168.1.137] > host = 192.168.1.137 > context = home > callerid = "ShoreTel" <4368> > dtmfmode = inband > accountcode = 1000 > amaflags = billing > callwaiting = no > callreturn = no > cancallforward = no > canreinvite = no > transfer = no > line => SHOR_001049007E83 > > -- > Ben Dugdale <ben@apachecounty.net> > > >--------------------------------------------------------------------------------> _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users