• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone

The forum for asterisk and voip discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Strange (SIP) problem after upgrading from 1.4.x to 1.6.1

 
Post new topic   Reply to topic     Forum Index -> Installation and compilation of asterisk
View previous topic :: View next topic  
Author Message
videoenmedia



Joined: 25 Jul 2009
Posts: 1

PostPosted: Sat Jul 25, 2009 6:50 am    Post subject: Strange (SIP) problem after upgrading from 1.4.x to 1.6.1 Reply with quote

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..

This is my SIP.CONF (change IP, nbrs and passes Smile)

[general]
useragent=3002
context=incoming
bindport=5060
bindaddr=10.0.1.21
srvlookup=yes
maxexpirey=180
defaultexpirey=160

register=31231234567:p4ssw0rd@sip-001.somedomain.com/31231234567
register=31237654321:p4ssw0rd@sip-001.somedomain.com/31237654321

[C4L]
accountcode=31231234567
username=31231234567
secret=p4ssw0rd
call-limit=2
type=peer
host=sip-001.somedomain.com
context=from-c4l
trunk=no
insecure=very
canreinvite=yes

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..

Anyone have any ideas?

Thanks in advance..
Back to top
View user's profile Send private message
RefriedNoodle



Joined: 13 Nov 2009
Posts: 1

PostPosted: Fri Nov 13, 2009 3:51 pm    Post subject: Reply with quote

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. Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Installation and compilation of asterisk All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™