<p>George Joseph <strong>uploaded patch set #5</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15403">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_iax2.c: Require secret and auth method if encryption is enabled<br><br>If there's no secret specified for an iax2 peer and there's no secret<br>specified in the dial string, Asterisk will crash if the auth method<br>requested by the peer is MD5 or plaintext.  You also couldn't specify<br>a default auth method in the [general] section of iax.conf so if you<br>don't have static peers defined and just use the dial string, Asterisk<br>will still crash even if you have a secret specified in the dial string.<br><br>* Added logic to iax2_call() and authenticate_reply() to print<br>  a warning and hanhup the call if encryption is requested and<br>  there's no secret or auth method.  This prevents the crash.<br><br>* Added the ability to specify a default "auth" in the [general]<br>  section of iax.conf.<br><br>ASTERISK-29624<br>Reported by: N A<br><br>Change-Id: I5928e16137581f7d383fcc7fa04ad96c919e6254<br>---<br>M channels/chan_iax2.c<br>M configs/samples/iax.conf.sample<br>A doc/CHANGES-staging/chan_iax2.txt<br>3 files changed, 44 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/03/15403/5</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15403">change 15403</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/+/15403"/><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: I5928e16137581f7d383fcc7fa04ad96c919e6254 </div>
<div style="display:none"> Gerrit-Change-Number: 15403 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@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-MessageType: newpatchset </div>