<p>George Joseph <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15057">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved; Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_session: Restore calls to ast_sip_message_apply_transport()<br><br>Commit 44bb0858cb3ea6a8db8b8d1c7fedcfec341ddf66 ("debugging: Add enough<br>to choke a mule") accidentally removed calls to<br>ast_sip_message_apply_transport when it was attempting to just add<br>debugging code.<br><br>The kiss of death was saying that there were no functional changes in<br>the commit comment.<br><br>This makes outbound calls that use the 'flow' transport mechanism fail,<br>since this call is used to relay headers into the outbound INVITE<br>requests.<br><br>ASTERISK-29124 #close<br><br>Change-Id: I0f3e32c2e8ac415e30b1d29966d75a1546f0526a<br>---<br>M res/res_pjsip_session.c<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c</span><br><span>index 42edaf6..82234aa 100644</span><br><span>--- a/res/res_pjsip_session.c</span><br><span>+++ b/res/res_pjsip_session.c</span><br><span>@@ -4388,6 +4388,8 @@</span><br><span>  SCOPE_ENTER(3, "%s: Method is %.*s\n", ast_sip_session_get_name(session),</span><br><span>          (int) pj_strlen(&req.method.name), pj_strbuf(&req.method.name));</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+  ast_sip_message_apply_transport(session->endpoint->transport, tdata);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>        AST_LIST_TRAVERSE(&session->supplements, supplement, next) {</span><br><span>          if (supplement->outgoing_request && does_method_match(&req.method.name, supplement->method)) {</span><br><span>                     supplement->outgoing_request(session, tdata);</span><br><span>@@ -4412,6 +4414,8 @@</span><br><span>                     ast_sip_session_get_name(session));</span><br><span>  }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ ast_sip_message_apply_transport(session->endpoint->transport, tdata);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>        AST_LIST_TRAVERSE(&session->supplements, supplement, next) {</span><br><span>          if (supplement->outgoing_response && does_method_match(&cseq->method.name, supplement->method)) {</span><br><span>                       supplement->outgoing_response(session, tdata);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15057">change 15057</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/+/15057"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: I0f3e32c2e8ac415e30b1d29966d75a1546f0526a </div>
<div style="display:none"> Gerrit-Change-Number: 15057 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Nick French <naf@ou.edu> </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: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Nick French <nickfrench@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>