[asterisk-users] insecure=invite - not working for different dial plan

Joseph syscon780 at gmail.com
Tue Feb 16 20:32:42 CST 2010


Thanks for the input.
I know that order in extension.conf makes a difference but I did not know that it applies to sip.conf as well.
I would like to find this article you have mentioned on WIKI what should I look for :-/?

--
Joseph

On 02/16/10 18:50, uzzi wrote:
>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 voip-info.org wiki
>somewhere, but can't get you the link at the moment.
>
>In general, if you will be authenticating based on IP, you should leave
>username/secret out.
>
>Some more advanced users can correct me if I'm wrong.
>
>
>
>
>On Sun, Feb 14, 2010 at 7:35 PM, Joseph <syscon780 at gmail.com> wrote:
>
>> I'm using  "insecure=invite" with two different dial plans, it it working
>> with one dial plan but not with the other.
>> What other parameters could influence "insecure=invite"
>>
>> In sip.conf below "insecure=invite" is working OK
>> [pstn-1270]
>> type=friend
>> secret=spa3k
>> username=voice-1270
>> mailbox=369
>> host=dynamic
>> insecure=invite
>> canreinvite=no
>> disallow=all
>> allow=ulaw
>> allow=alaw
>> nat=no
>> context=incoming
>> callgroup=1
>> pickupgroup=1
>>
>>
>> In sip.conf below "insecure=invite" is NOT WORKING
>>
>> [pstn-4444]
>> type=friend
>> secret=256
>> insecure=invite
>> username=voice-4444
>> mailbox=622
>> context=incoming
>> host=dynamic
>> canreinvite=no
>> disallow=all
>> allow=ulaw
>> allow=alaw
>> nat=no
>> callgroup=1
>> pickupgroup=1
>>
>> Both dial plan loaded on the same asterisk using the same Audiocodes MP-114
>> What other variable would influence operation of  "insecure=invite" ?
>>
>> With the dial plan that  "insecure=invite" is not working, asterisk logs
>> show:
>> "... username mismatch, have <4>, digest has <pstn-4444>
>> handle_request_invite: Failed to authenticate user "KMIEC J"
>>
>> --
>> Joseph



More information about the asterisk-users mailing list