Posted: Sat Jul 25, 2009 6:50 am Post subject: Strange (SIP) problem after upgrading from 1.4.x to 1.6.1
My setup as it worked before:
I have an Asterisk box handeling incomming and outgoing calls to 1 provider (also Asterisk) box.
I setup a SIP connection to get phone calls for 2 different numbers..
All incomming calls are dropped now I upgraded to 1.6.1, the CLI error is:
[Jul 24 18:29:52] WARNING[16313]: chan_sip.c:10992 check_auth: username mismatch, have <C4L>, digest has <31231234567>
[Jul 24 18:29:52] NOTICE[16313]: chan_sip.c:18096 handle_request_invite: Failed to authenticate device "0612345678" <sip:asterisk@10.0.1.1>;tag=as520c1421
If I change the "[C4L]" to "[31231234567]" the call is accepted..
But.... The calls for the 31237654321 number are dropped with the same error.. adding an extra part for that number does not help it allways comes with the same error message "username mismatch, have"
showing the first label found in the SIP.CONF..
Judging from your nickname and phone number, you're dutch as well. I have the same situation with my provider, Xs4all, altough i get a slightly different error:
[Nov 13 16:35:44] WARNING[14139]: chan_sip.c:12230 check_auth: username mismatch, have <xs4all-47>, digest has <anonymous>
[Nov 13 16:35:44] NOTICE[14139]: chan_sip.c:19478 handle_request_invite: Failed to authenticate device "0612345678" <sip:0612345678@sip.xs4all.nl;user=phone>;tag=27879-PQ-14264789-399c52596
Notice that mine says "digest has <anonymous>".
Have you found any solution to the problem?
edit: how typical. I google for this problem all day, find your post, reply to it... and minutes later i find the solution myself. It appears that "insecure=very" is no longer an option in Asterisk 1.6. Replace it by "insecure=port,invite" and you're all set. I found this on http://forums.whirlpool.net.au/forum-replies-archive.cfm/1133054.html.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum