<div class="gmail_quote">On Wed, Jan 27, 2010 at 6:10 PM, Kevin P. Fleming <span dir="ltr">&lt;<a href="mailto:kpfleming@digium.com">kpfleming@digium.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1) When a sip.conf entry is defined as &#39;type=friend&#39; *and* has a<br>
specific host IP address (not dynamic), we could just ignore the &#39;user&#39;<br>
part and create only the &#39;peer&#39; part. This would result in incoming<br>
calls being matched by IP address instead of username, which is likely<br>
what the administrator wants anyway.<br>
</blockquote></div><br>I think it would make more sense to give a warning about illegal use of the host parameter when type=friend.<br>This way the user gets information of why this is wrong, instead of continuing to misuse the parameter.<br>