<div class="gmail_quote">On Wed, Jan 27, 2010 at 6:10 PM, Kevin P. Fleming <span dir="ltr"><<a href="mailto:kpfleming@digium.com">kpfleming@digium.com</a>></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 'type=friend' *and* has a<br>
specific host IP address (not dynamic), we could just ignore the 'user'<br>
part and create only the 'peer' 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>