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

Joseph syscon780 at gmail.com
Sun Feb 14 18:35:38 CST 2010


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