mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
res/res_pjsip_sdp_rtp: put rtcp-mux in answer only if offered
If in the initial sdp the caller doesn't include the line a=rtcp-mux Then asterisk shoud not include rtcp-mux in the response regardless of rtcp-mux being enabled on the endpoint ASTERISK-28007 #close Change-Id: I58e9b9f40a139afc0da5de41906cc608fb62adc7
This commit is contained in:
committed by
Torrey Searle
parent
61b6d9efa4
commit
926d647def
@@ -445,6 +445,7 @@ struct ast_sip_session_media *ast_sip_session_media_state_add(struct ast_sip_ses
|
||||
|
||||
session_media->encryption = session->endpoint->media.rtp.encryption;
|
||||
session_media->remote_ice = session->endpoint->media.rtp.ice_support;
|
||||
session_media->remote_rtcp_mux = session->endpoint->media.rtcp_mux;
|
||||
session_media->keepalive_sched_id = -1;
|
||||
session_media->timeout_sched_id = -1;
|
||||
session_media->type = type;
|
||||
|
Reference in New Issue
Block a user