[Asterisk-Dev] Patch to support MGCP RSIP keepalive
John Laur
johnl at blurbco.com
Sun Jun 29 00:23:58 MST 2003
Attached is a small patch to chan_mgcp.c to support keepalive requests
as generated by Cisco devices (7960 and ATA-186) running MGCP (and
possibly other MGCP devices). These are used by the devices to keep NAT
tunnels open, but the request comes as an RSIP, and without this patch,
* will drop the connection when it gets the RSIP keepalive request in
the middle of a call.
Request comes in like this:
MGCP read:
RSIP 61 d001 at XXXXXXXXXXXX MGCP 1.0
RM: X-keepalive
from 68.109.XXX.XXX:2727Verb: 'RSIP', Identifier: '61', Endpoint:
'd001 at XXXXXXXXXXXX', Version: 'MGCP 1.0'
2 headers, 0 lines
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mgcp_keepalive.diff
Type: application/octet-stream
Size: 1505 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20030629/245d5e5f/mgcp_keepalive.obj
More information about the asterisk-dev
mailing list