Hi Joseph,<br><br>Sorry, I still haven't been able to find the reference for you once again.<br><br>One way to confirm this is by changing the order of codecs around and doing "sip show peer" on the peer. This reorders the codec preference around.<br>
<br>Still looking for the actual reference though. Maybe it was in TFoT... :S<br><br>--uzzi<br><br><br><br><div class="gmail_quote">On Tue, Feb 16, 2010 at 9:32 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;">Thanks for the input.<br>
I know that order in extension.conf makes a difference but I did not know that it applies to sip.conf as well.<br>
I would like to find this article you have mentioned on WIKI what should I look for :-/?<br>
<br>
--<br>
<font color="#888888">Joseph<br>
</font><div><div></div><div class="h5"><br>
On 02/16/10 18:50, uzzi wrote:<br>
>Order of configurations does make a difference so you may want to try with<br>
>the same order as the one that works. Saw it on the <a href="http://voip-info.org" target="_blank">voip-info.org</a> wiki<br>
>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<br>
>username/secret out.<br>
><br>
>Some more advanced users can correct me if I'm wrong.<br>
><br>
><br>
><br>
><br>
>On Sun, Feb 14, 2010 at 7:35 PM, Joseph <<a href="mailto:syscon780@gmail.com">syscon780@gmail.com</a>> wrote:<br>
><br>
>> I'm using "insecure=invite" with two different dial plans, it it working<br>
>> 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<br>
>> show:<br>
>> "... username mismatch, have <4>, digest has <pstn-4444><br>
>> handle_request_invite: Failed to authenticate user "KMIEC J"<br>
>><br>
>> --<br>
>> Joseph<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-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>