Exactly. I have a patch I wrote last year that does precisely that -- ip/port gets checked first, then username/password. That was for 1.2 something. If there's interest I'll make it work for 1.4 and submit a patch.
<br><br><div class="gmail_quote">On Oct 31, 2007 3:02 AM, Benny Amorsen <<a href="mailto:benny+usenet@amorsen.dk">benny+usenet@amorsen.dk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ryan's problem is that he has both a PSTN carrier with a fixed IP and<br>local phones with host=dynamic. Your problem is solved by checking<br>"host=dynamic", but Ryan's problem isn't.<br><br>In general, I think username-based authentication should be done after
<br>ip-based.<br><font color="#888888"><br><br>/Benny<br></font><div><div></div><div class="Wj3C7c"><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">
http://www.api-digital.com--</a><br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev
</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Ryan Mitchell <<a href="mailto:rjm@tcl.net">rjm@tcl.net</a>><br>Telecom Logic, LLC<br><a href="http://www.tcl.net">http://www.tcl.net</a>