-
- Downloads
codec_negotiation: Implement outgoing_call_offer_pref
Based on this new endpoint setting, a joint list of preferred codecs between those received from the Asterisk core (remote), and those specified in the endpoint's "allow" parameter (local) is created and is used to create the outgoing SDP offer. * Add outgoing_call_offer_pref to pjsip_configuration (endpoint) * Add "call_direction" to res_pjsip_session. * Update pjsip_session_caps.c to make the functions more generic so they could be used for both incoming and outgoing. * Update ast_sip_session_create_outgoing to create the pending_media_state->topology with the results of ast_sip_session_create_joint_call_stream(). * The endpoint "preferred_codec_only" option now automatically sets AST_SIP_CALL_CODEC_PREF_FIRST in incoming_call_offer_pref. * A helper function ast_stream_get_format_count() was added to streams to return the current count of formats. ASTERISK-28777 Change-Id: Id4ec0b4a906c2ae5885bf947f101c59059935437
Showing
- configs/samples/pjsip.conf.sample 48 additions, 13 deletionsconfigs/samples/pjsip.conf.sample
- doc/CHANGES-staging/res_pjsip_call_offer_pref.txt 8 additions, 0 deletionsdoc/CHANGES-staging/res_pjsip_call_offer_pref.txt
- doc/CHANGES-staging/res_pjsip_incoming_call_offer_pref.txt 0 additions, 53 deletionsdoc/CHANGES-staging/res_pjsip_incoming_call_offer_pref.txt
- include/asterisk/res_pjsip.h 43 additions, 11 deletionsinclude/asterisk/res_pjsip.h
- include/asterisk/res_pjsip_session.h 12 additions, 3 deletionsinclude/asterisk/res_pjsip_session.h
- include/asterisk/res_pjsip_session_caps.h 36 additions, 36 deletionsinclude/asterisk/res_pjsip_session_caps.h
- include/asterisk/stream.h 11 additions, 0 deletionsinclude/asterisk/stream.h
- main/stream.c 7 additions, 0 deletionsmain/stream.c
- res/res_pjsip.c 83 additions, 10 deletionsres/res_pjsip.c
- res/res_pjsip/pjsip_configuration.c 52 additions, 26 deletionsres/res_pjsip/pjsip_configuration.c
- res/res_pjsip_sdp_rtp.c 13 additions, 9 deletionsres/res_pjsip_sdp_rtp.c
- res/res_pjsip_session.c 6 additions, 40 deletionsres/res_pjsip_session.c
- res/res_pjsip_session/pjsip_session_caps.c 76 additions, 83 deletionsres/res_pjsip_session/pjsip_session_caps.c
Loading
Please register or sign in to comment