|
|
@ -1951,7 +1951,7 @@ static int transmit_modify_with_sdp(struct mgcp_subchannel *sub, struct ast_rtp
|
|
|
|
add_header(&resp, "X", sub->txident);
|
|
|
|
add_header(&resp, "X", sub->txident);
|
|
|
|
add_header(&resp, "I", sub->cxident);
|
|
|
|
add_header(&resp, "I", sub->cxident);
|
|
|
|
/*add_header(&resp, "S", "");*/
|
|
|
|
/*add_header(&resp, "S", "");*/
|
|
|
|
ast_rtp_offered_from_local(rtp, 0);
|
|
|
|
ast_rtp_offered_from_local(sub->rtp, 0);
|
|
|
|
add_sdp(&resp, sub, rtp);
|
|
|
|
add_sdp(&resp, sub, rtp);
|
|
|
|
/* SC: fill in new fields */
|
|
|
|
/* SC: fill in new fields */
|
|
|
|
resp.cmd = MGCP_CMD_MDCX;
|
|
|
|
resp.cmd = MGCP_CMD_MDCX;
|
|
|
@ -1985,7 +1985,7 @@ static int transmit_connect_with_sdp(struct mgcp_subchannel *sub, struct ast_rtp
|
|
|
|
/* SC: X header should not be sent. kept for compatibility */
|
|
|
|
/* SC: X header should not be sent. kept for compatibility */
|
|
|
|
add_header(&resp, "X", sub->txident);
|
|
|
|
add_header(&resp, "X", sub->txident);
|
|
|
|
/*add_header(&resp, "S", "");*/
|
|
|
|
/*add_header(&resp, "S", "");*/
|
|
|
|
ast_rtp_offered_from_local(rtp, 1);
|
|
|
|
ast_rtp_offered_from_local(sub->rtp, 1);
|
|
|
|
add_sdp(&resp, sub, rtp);
|
|
|
|
add_sdp(&resp, sub, rtp);
|
|
|
|
/* SC: fill in new fields */
|
|
|
|
/* SC: fill in new fields */
|
|
|
|
resp.cmd = MGCP_CMD_CRCX;
|
|
|
|
resp.cmd = MGCP_CMD_CRCX;
|
|
|
|