Dear All,
<br>
<br>Today I upgraded asterisk 1.6 to 1.8.
<br>As the result of this when peers trying to register to asterisk the
system shows:
<br>NOTICE[24698]: chan_sip.c:23417 handle_request_register: Registration
from '"50" <a class="moz-txt-link-rfc2396E" href="mailto:sip:50@192.168.1.109"><sip:50@192.168.1.109></a>' failed for '<a href="http://192.168.1.80:5062">192.168.1.80:5062</a>' -
Wrong password
<br>even though on 1.6 everything was OK
<br>
<br>here is part of debug messages:
<br>---cut---
<br><--- Transmitting (NAT) to <a href="http://192.168.1.50:5062">192.168.1.50:5062</a> --->
<br>SIP/2.0 401 Unauthorized
<br>Via: SIP/2.0/UDP
192.168.1.50:5062;branch=z9hG4bK-d8754z-d7545057f425cd49-1---d8754z-;received=192.168.1.50;rport=5062
<br>From: "51"<a class="moz-txt-link-rfc2396E" href="mailto:sip:51@192.168.1.109:5062"><sip:51@192.168.1.109:5062></a>;tag=172a701e
<br>To: "51"<a class="moz-txt-link-rfc2396E" href="mailto:sip:51@192.168.1.109:5062"><sip:51@192.168.1.109:5062></a>;tag=as6773fc96
<br>Call-ID: ODlkNDYyMmYwNDAwYzIyMjEzOWZiYzMzNTRlNDhjNmQ.
<br>CSeq: 3 REGISTER
<br>Server: Asterisk PBX 1.8.0:
<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO, PUBLISH
<br>Supported: replaces, timer
<br>WWW-Authenticate: Digest algorithm=MD5, realm="asterisk",
nonce="5fcd5fa1 "
<br>Content-Length: 0
<br>---cut---
<br>
<br>and here the sip.conf part of that peer
<br>---cut---
<br>[50]
<br>type=friend
<br>defaultuser=50
<br>secret=xxxxxx
<br>context=4every1
<br>callerid="Gigaset" <50>
<br>host=dynamic
<br>dtmfmode=rfc2833
<br>---cut---
<br>
<br>
<br>
<br>
What can be the problem?<br>Can someone show me example of sip.conf with Digest authentication (send
me file or drop the link to website)?
<br>Short info how to use digest?
<br>
<br>Thanks a lot
<br>Best regards,
<br>
<br>pepesz