[asterisk-users] sip.conf - sort order, does it matter
Joseph
syscon780 at gmail.com
Mon Feb 22 17:51:08 CST 2010
On 02/19/10 08:54, 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"
>>
>You propably have a type=friend where the user part matches before you even hit the peer part, where the insecure configuration parameter matches. There is a confusion here on the From: username and the authentication username used, so there is a challenge sent.
>
>/O
Yes, I have "type=friend" but I've loaded my other dial plan where I have "type=friend" as well and "insecure=invite" is working.
So, it must be the sort order that is generating problems.
--
Joseph
More information about the asterisk-users
mailing list