<p>George Joseph <strong>uploaded patch set #8</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13945">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">codec_negotiation: Implement outgoing_call_offer_pref<br><br>Based on this new endpoint setting, a joint list of preferred codecs<br>between those received from the Asterisk core (remote), and those<br>specified in the endpoint's "allow" parameter (local) is created and<br>is used to create the outgoing SDP offer.<br><br>* Add outgoing_call_offer_pref to pjsip_configuration (endpoint)<br><br>* Add "call_direction" to res_pjsip_session.<br><br>* Update pjsip_session_caps.c to make the functions more generic<br> so they could be used for both incoming and outgoing.<br><br>* Update ast_sip_session_create_outgoing to create the<br> pending_media_state->topology with the results of<br> ast_sip_session_create_joint_call_stream().<br><br>* The endpoint "preferred_codec_only" option now automatically sets<br> AST_SIP_CALL_CODEC_PREF_FIRST in incoming_call_offer_pref.<br><br>ASTERISK-28777<br><br>Change-Id: Id4ec0b4a906c2ae5885bf947f101c59059935437<br>---<br>M configs/samples/pjsip.conf.sample<br>A doc/CHANGES-staging/res_pjsip_call_offer_pref.txt<br>D doc/CHANGES-staging/res_pjsip_incoming_call_offer_pref.txt<br>M include/asterisk/res_pjsip.h<br>M include/asterisk/res_pjsip_session.h<br>M include/asterisk/res_pjsip_session_caps.h<br>M res/res_pjsip.c<br>M res/res_pjsip/pjsip_configuration.c<br>M res/res_pjsip_sdp_rtp.c<br>M res/res_pjsip_session.c<br>M res/res_pjsip_session/pjsip_session_caps.c<br>11 files changed, 374 insertions(+), 289 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/45/13945/8</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13945">change 13945</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/13945"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id4ec0b4a906c2ae5885bf947f101c59059935437 </div>
<div style="display:none"> Gerrit-Change-Number: 13945 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>