<p>George Joseph <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14637">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ACN: Advanced Codec Negotiation for chan_pjsip<br><br>This commit is the second in a series that implements<br>Advanced Codec Negotiation and does not represent a final<br>implementation.  Many existing features either do not yet work<br>or have yet to be tested including...<br><br> * Direct media<br> * 100rel/early media<br> * Re-invites<br> * Fax<br> * Multi-stream<br> * Deferred SDP<br> * ARI channel operations<br> * Operation with other channel technologies<br><br>There are also several refactors that still need to happen to remove<br>duplicated code, re-organize internal functions, consolidate<br>activities, etc.<br><br>Summary of functional changes by module:<br><br>res_pjsip<br> * Updated documentation.<br> * Removed obsolete code.<br><br>res_pjsip/pjsip_configuration<br> * Updated endpoint configuration parsing.<br> * Removed obsolete code.<br><br>res_pjsip_refer<br> * Use ast_raw_answer_with_stream_topology instead of ast_raw_answer.<br><br>res_pjsip_sdp_rtp<br> * Refactored get_codecs to return an ast_format_caps.<br> * Removed obsolete code in set_incoming_call_offer_cap.<br> * Removed obsolete code in set_caps.<br> * Removed obsolete code in negotiate_incoming_sdp_stream.<br> * Removed obsolete code in create_outgoing_sdp_stream.<br><br>res_pjsip_session<br> * Preserve the pending topology in handle_negotiated_sdp so<br>   chan_pjsip can do a topology resolution.<br> * Removed obsolete code in ast_sip_session_create_outgoing.<br> * Removed obsolete code in new_invite.<br> * Updated session_inv_on_tsx_state_changed to call handlers with<br>   the proper BEFORE/AFTER MEDIA flag.<br> * Removed obsolete code in create_local_sdp.<br><br>res_pjsip_session/pjsip_session_caps<br>tests/test_res_pjsip_session_caps<br> * Removed.<br><br>chan_pjsip<br> * Implement chan_pjsip_answer_with_stream_topology<br> * chan_pjsip_incoming_request now resolves the topology on an<br>   incoming invite with that of the endpoint.<br> * chan_pjsip_request_with_stream_topology now resolves the<br>   topology passed from the core on an outgoing call with that<br>   of the endpoint.<br> * chan_pjsip_incoming_response now resolves the topology received<br>   on a 200 OK with that which was sent on the original invite.<br> * chan_pjsip_answer_with_stream_topology now resolves the topology<br>   passed from the core with that which was originally passed to<br>   the core.<br><br>ASTERISK-28856<br><br>Change-Id: Iad188ae997bdcb5c28e2eb12c6bb2b732538ad45<br>---<br>M channels/chan_pjsip.c<br>M configs/samples/pjsip.conf.sample<br>M contrib/ast-db-manage/config/versions/b80485ff4dd0_add_pjsip_endpoint_acn_options.py<br>M include/asterisk/res_pjsip.h<br>M include/asterisk/res_pjsip_session.h<br>D include/asterisk/res_pjsip_session_caps.h<br>M main/bridge_channel.c<br>M res/Makefile<br>M res/res_pjsip.c<br>M res/res_pjsip/pjsip_configuration.c<br>M res/res_pjsip_refer.c<br>M res/res_pjsip_sdp_rtp.c<br>M res/res_pjsip_session.c<br>D res/res_pjsip_session/pjsip_session_caps.c<br>D tests/test_res_pjsip_session_caps.c<br>15 files changed, 768 insertions(+), 1,194 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/14637/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14637">change 14637</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/+/14637"/><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: Iad188ae997bdcb5c28e2eb12c6bb2b732538ad45 </div>
<div style="display:none"> Gerrit-Change-Number: 14637 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-CC: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>