diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-26 04:56:26 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-26 04:56:26 +0000 |
commit | 3fc6b9c9a533b049f7f4cba5ced5a324bada816e (patch) | |
tree | bb73408f4403d40d76b51e984ddc382ff6d9cd54 /channels/chan_mgcp.c | |
parent | 78778424f85d0310a03fd7a10018c96d979f66eb (diff) |
Repair offer/answer model (bug #2293), initial CNG work for new frametype
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3658 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rwxr-xr-x | channels/chan_mgcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index c0fd5a7d6..beb80fef6 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -1945,6 +1945,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); add_sdp(&resp, sub, rtp); /* SC: fill in new fields */ resp.cmd = MGCP_CMD_MDCX; @@ -1978,6 +1979,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); add_sdp(&resp, sub, rtp); /* SC: fill in new fields */ resp.cmd = MGCP_CMD_CRCX; |