mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 17:53:15 +00:00
fix for MGCP (bug #2499)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1947,7 +1947,7 @@ static int transmit_modify_with_sdp(struct mgcp_subchannel *sub, struct ast_rtp
|
||||
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 @@ static int transmit_connect_with_sdp(struct mgcp_subchannel *sub, struct ast_rtp
|
||||
/* 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;
|
||||
|
Reference in New Issue
Block a user