Order of configurations does make a difference so you may want to try with the same order as the one that works. Saw it on the <a href="http://voip-info.org">voip-info.org</a> wiki somewhere, but can't get you the link at the moment.<br>
<br>In general, if you will be authenticating based on IP, you should leave username/secret out.<br><br>Some more advanced users can correct me if I'm wrong.<br><br><br><br><br><div class="gmail_quote">On Sun, Feb 14, 2010 at 7:35 PM, Joseph <span dir="ltr"><<a href="mailto:syscon780@gmail.com">syscon780@gmail.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;">I'm using "insecure=invite" with two different dial plans, it it working with one dial plan but not with the other.<br>
What other parameters could influence "insecure=invite"<br>
<br>
In sip.conf below "insecure=invite" is working OK<br>
[pstn-1270]<br>
type=friend<br>
secret=spa3k<br>
username=voice-1270<br>
mailbox=369<br>
host=dynamic<br>
insecure=invite<br>
canreinvite=no<br>
disallow=all<br>
allow=ulaw<br>
allow=alaw<br>
nat=no<br>
context=incoming<br>
callgroup=1<br>
pickupgroup=1<br>
<br>
<br>
In sip.conf below "insecure=invite" is NOT WORKING<br>
<br>
[pstn-4444]<br>
type=friend<br>
secret=256<br>
insecure=invite<br>
username=voice-4444<br>
mailbox=622<br>
context=incoming<br>
host=dynamic<br>
canreinvite=no<br>
disallow=all<br>
allow=ulaw<br>
allow=alaw<br>
nat=no<br>
callgroup=1<br>
pickupgroup=1<br>
<br>
Both dial plan loaded on the same asterisk using the same Audiocodes MP-114<br>
What other variable would influence operation of "insecure=invite" ?<br>
<br>
With the dial plan that "insecure=invite" is not working, asterisk logs show:<br>
"... username mismatch, have <4>, digest has <pstn-4444><br>
handle_request_invite: Failed to authenticate user "KMIEC J"<br>
<br>
--<br>
<font color="#888888">Joseph<br>
</font><div><div></div><div class="h5"><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-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>