[asterisk-users] sip.conf - sort order, does it matter

Joseph syscon780 at gmail.com
Thu Feb 18 23:51:16 CST 2010


On 02/18/10 09:00, Olle E. Johansson wrote:
>
>17 feb 2010 kl. 19.12 skrev Joseph:
>
>> Does the sort order matter in sip.conf file?
>> I know sort order might effect:
>> allow=ulaw
>> allow=alaw
>>
>> but does it matter where I place: insecure=invite ?
>>
>> The reason I'm asking is that I've loaded almost two identical (sip.conf and extension.conf) files on the same asterisk server and with one set
>>   insecure=invite is working correctly.
>> When I load the second set of dial plan (sip.conf and extension.conf) insecure=invite is not taking effect.
>> I get:
>> "... username mismatch, have <4>, digest has <pstn-4444>
>> handle_request_invite: Failed to authenticate user "KMIEC J"
>>
>> Someone have mentioned that sort order in sip.conf might effect the way it works.
>
>No, where you place the insecure=invite in the device specification does not matter.
>
>/O

But for some reason or the other it "insecure=invite" works in one sip.conf but not the other; that is what puzzling me.
I've compered two sip.conf with "meld" and they are identical except some registration context and numbers.

-- 
Joseph



More information about the asterisk-users mailing list