[asterisk-users] upgrade 1.6 -> 1.8: wrong password!

pepesz pepesz at gmail.com
Thu Nov 4 14:24:15 CDT 2010


Dear All,

Today I upgraded asterisk 1.6 to 1.8.
As the result of this when peers trying to register to asterisk the system
shows:
NOTICE[24698]: chan_sip.c:23417 handle_request_register: Registration from
'"50" <sip:50 at 192.168.1.109> <sip:50 at 192.168.1.109>' failed for '
192.168.1.80:5062' - Wrong password
even though on 1.6 everything was OK

here is part of debug messages:
---cut---
<--- Transmitting (NAT) to 192.168.1.50:5062 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.168.1.50:5062;branch=z9hG4bK-d8754z-d7545057f425cd49-1---d8754z-;received=192.168.1.50;rport=5062

From: "51"<sip:51 at 192.168.1.109:5062> <sip:51 at 192.168.1.109:5062>;tag=172a701e

To: "51"<sip:51 at 192.168.1.109:5062> <sip:51 at 192.168.1.109:5062>;tag=as6773fc96

Call-ID: ODlkNDYyMmYwNDAwYzIyMjEzOWZiYzMzNTRlNDhjNmQ.
CSeq: 3 REGISTER
Server: Asterisk PBX 1.8.0:
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk",
nonce="5fcd5fa1       "
Content-Length: 0
---cut---

and here the sip.conf part of that peer
---cut---
[50]
type=friend
defaultuser=50
secret=xxxxxx
context=4every1
callerid="Gigaset" <50>
host=dynamic
dtmfmode=rfc2833
---cut---



What can be the problem?
Can someone show me example of sip.conf with Digest authentication (send me
file or drop the link to website)?
Short info how to use digest?

Thanks a lot
Best regards,

pepesz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101104/305ef9ea/attachment.htm 


More information about the asterisk-users mailing list