<p> Attention is currently required from: N A. </p>
<p>George Joseph <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17657">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bundled_pjproject:  Add more support for multipart bodies<br><br>Adding upstream patch for pull request...<br>https://github.com/pjsip/pjproject/pull/2920<br>---------------------------------------------------------------<br><br>sip_inv:  Additional multipart support (#2919)<br><br>sip_inv.c:inv_check_sdp_in_incoming_msg() deals with multipart<br>message bodies in rdata correctly. In the case where early media is<br>involved though, the existing sdp has to be retrieved from the last<br>tdata sent in this transaction. This, however, always assumes that<br>the sdp sent is in a non-multipart body. While there's a function<br>to retrieve the sdp from multipart and non-multpart rdata bodies,<br>no similar function for tdata exists.  So...<br><br>* The existing pjsip_rdata_get_sdp_info2 was refactored to<br>  find the sdp in any body, multipart or non-multipart, and<br>  from either an rdata or tdata.  The new function is<br>  pjsip_get_sdp_info.  This new function detects whether the<br>  pjsip_msg->body->data is the text representation of the sdp<br>  from an rdata or an existing pjmedia_sdp_session object<br>  from a tdata, or whether pjsip_msg->body is a multipart<br>  body containing either of the two sdp formats.<br><br>* The exsting pjsip_rdata_get_sdp_info and pjsip_rdata_get_sdp_info2<br>  functions are now wrappers that get the body and Content-Type<br>  header from the rdata and call pjsip_get_sdp_info.<br><br>* Two new wrappers named pjsip_tdata_get_sdp_info and<br>  pjsip_tdata_get_sdp_info2 have been created that get the body<br>  from the tdata and call pjsip_get_sdp_info.<br><br>* inv_offer_answer_test.c was updated to test multipart scenarios.<br><br>ASTERISK-29804<br><br>Change-Id: I483c7c3d413280c9e247a96ad581278347f9c71b<br>---<br>A third-party/pjproject/patches/0130-sip_inv-Additional-multipart-support-2919-2920.patch<br>1 file changed, 661 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/57/17657/4</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17657">change 17657</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/+/17657"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I483c7c3d413280c9e247a96ad581278347f9c71b </div>
<div style="display:none"> Gerrit-Change-Number: 17657 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </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-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-CC: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Attention: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>