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:5...@192.168.1.109> <sip:5...@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:5...@192.168.1.109:5062> 
<sip:5...@192.168.1.109:5062>;tag=172a701e

To: "51"<sip:5...@192.168.1.109:5062> 
<sip:5...@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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to