<p> Attention is currently required from: N A. </p>
<p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4; color: #000000;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18186">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">File channels/chan_pjsip.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18186/comment/7e8eb7d4_5deab2e9">Patch Set #1, Line 1257:</a> <code style="font-family:monospace,monospace"> dlg = channel->session->inv_session->dlg;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This violates the PJSIP threading model. You must queue a task on a SIP thread in order to access/use PJSIP things, such as the dlg or creating a memory pool.</p><p style="white-space: pre-wrap; word-wrap: break-word;">This also applies to query option.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18186/comment/9d89d4f9_37ee0792">Patch Set #1, Line 1261:</a> <code style="font-family:monospace,monospace"> dest.flag &= ~PJSIP_TRANSPORT_SECURE;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This doesn't enforce any kind of secure transport requirement. Dest is populated with the destination information, changing it doesn't change the dialog.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18186/comment/757b9aaa_175b6ec1">Patch Set #1, Line 1273:</a> <code style="font-family:monospace,monospace"> channel->session->endpoint->media.rtp.encryption = AST_SIP_MEDIA_ENCRYPT_NONE;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This violates a fundamental principal of sorcery - sorcery objects are immutable. Read only. You can not touch them. You may not alter media.rtp.encryption here.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18186">change 18186</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/+/18186"/><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: I089ec68601c80daf293193c8f4933fd87d7b2a17 </div>
<div style="display:none"> Gerrit-Change-Number: 18186 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.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-Attention: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 10 Mar 2022 12:19:25 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>