<p>George Joseph <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15387">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>is empty, MD5 or plaintext. You also couldn't specify a default auth<br>method in the [general] section of iax.conf so if you don't have<br>static peers defined and just use the dial string, Asterisk will<br>still crash even if you have a secret specified in the dial string.<br><br>* Added the ability to specify a default "auth" in the [general]<br> section of iax.conf.<br><br>* Added warnings to iax2_call() if (force)encryption is set and<br> there's no secret or auth method. The call is cancelled in<br> these cases.<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, 34 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/87/15387/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15387">change 15387</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/+/15387"/><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: I5928e16137581f7d383fcc7fa04ad96c919e6254 </div>
<div style="display:none"> Gerrit-Change-Number: 15387 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </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-CC: George Joseph - Unused <gjoseph+unused@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>