[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.79.2.3,1.79.2.4
russell at lists.digium.com
russell at lists.digium.com
Sun Oct 17 00:57:17 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30494/channels
Modified Files:
Tag: v1-0
chan_mgcp.c
Log Message:
fix for MGCP (bug #2499)
Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.79.2.3
retrieving revision 1.79.2.4
diff -u -d -r1.79.2.3 -r1.79.2.4
--- chan_mgcp.c 12 Oct 2004 02:29:08 -0000 1.79.2.3
+++ chan_mgcp.c 17 Oct 2004 04:57:10 -0000 1.79.2.4
@@ -1947,7 +1947,7 @@
add_header(&resp, "X", sub->txident);
add_header(&resp, "I", sub->cxident);
/*add_header(&resp, "S", "");*/
- ast_rtp_offered_from_local(rtp, 0);
+ ast_rtp_offered_from_local(sub->rtp, 0);
add_sdp(&resp, sub, rtp);
/* SC: fill in new fields */
resp.cmd = MGCP_CMD_MDCX;
@@ -1981,7 +1981,7 @@
/* SC: X header should not be sent. kept for compatibility */
add_header(&resp, "X", sub->txident);
/*add_header(&resp, "S", "");*/
- ast_rtp_offered_from_local(rtp, 1);
+ ast_rtp_offered_from_local(sub->rtp, 1);
add_sdp(&resp, sub, rtp);
/* SC: fill in new fields */
resp.cmd = MGCP_CMD_CRCX;
More information about the svn-commits
mailing list