<p>George Joseph <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/6607">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pjsip_message_filter: Fix regression causing bad contact address<br><br>The "res_pjsip: Filter out non SIP(S) requests" commit moved the<br>filtering of messages to pjproject's PJSIP_MOD_PRIORITY_TRANSPORT_LAYER<br>in order to filter out incoming bad uri schemes as early as possible.<br>Since the change affected outgoing messages as well and the TRANSPORT<br>layer is the last to be run on outgoing messages, we were overwriting<br>the setting of external_signaling_address (which is set earlier by<br>res_pjsip_nat) with an internal address.<br><br>* pjsip_message_filter now registers itself as a pjproject module<br>twice. Once in the TSX layer for the outgoing messages (as it was<br>originally), then a second time in the TRANSPORT layer for the<br>incoming messages to catch the invalid uri schemes.<br><br>ASTERISK-27295<br>Reported by: Sean Bright<br><br>Change-Id: I2c90190c43370f8a9d1c4693a19fd65840689c8c<br>---<br>M res/res_pjsip/pjsip_message_filter.c<br>1 file changed, 23 insertions(+), 9 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/07/6607/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/6607">change 6607</a>. To unsubscribe, 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/6607"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I2c90190c43370f8a9d1c4693a19fd65840689c8c </div>
<div style="display:none"> Gerrit-Change-Number: 6607 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>