mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 22:18:07 +00:00
codec negotiation: add incoming_call_offer_prefs option
Add a new option, incoming_call_offer_pref, to res_pjsip endpoints that specifies the preferred order of codecs after receiving an offer. This patch does the following: Adds a new enumeration, ast_sip_call_codec_pref, used by the the new configuration option that's added to the endpoint media structure. Adds a new ast_sip_session_caps structure that's set for each session media object. Creates a new file, res_pjsip_session_caps that "implements" the new structure and option, and is compiled into the res_pjsip_session library. ASTERISK-28756 #close Change-Id: I35e7a2a0c236cfb6bd9cdf89539f57a1ffefc76f
This commit is contained in:
@@ -66,6 +66,7 @@ $(call MOD_ADD_C,res_stasis,$(wildcard stasis/*.c))
|
||||
$(call MOD_ADD_C,res_snmp,snmp/agent.c)
|
||||
$(call MOD_ADD_C,res_parking,$(wildcard parking/*.c))
|
||||
$(call MOD_ADD_C,res_pjsip,$(wildcard res_pjsip/*.c))
|
||||
$(call MOD_ADD_C,res_pjsip_session,$(wildcard res_pjsip_session/*.c))
|
||||
$(call MOD_ADD_C,res_prometheus,$(wildcard prometheus/*.c))
|
||||
$(call MOD_ADD_C,res_ari,ari/cli.c ari/config.c ari/ari_websockets.c)
|
||||
$(call MOD_ADD_C,res_ari_model,ari/ari_model_validators.c)
|
||||
|
||||
Reference in New Issue
Block a user