[asterisk-users] sip.conf - sort order, does it matter
Olle E. Johansson
oej at edvina.net
Fri Feb 19 01:54:40 CST 2010
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
More information about the asterisk-users
mailing list