[SR-Users] SIP Status: 401 Unauthorized (0 bindings)

Saul Waizer saulwaizer at gmail.com
Tue Apr 17 20:16:16 CEST 2012


Hello List,

I have a fresh install kamailio 3.2.0 running on ubuntu. Everything seems
to work fine according to the logs, I have enabled support for the
following:


   - enabled support to connect to MySQL server
   - enabled user authentication
   - enabled persistent user location service
   - enabled NAT traversal and updated RTPProxy control socket parameter

   I added a few users with kamctl add user pass but when I try to register
   with my client I get the following:


  8.257745 x.x.x.x -> 10.62.99.103 SIP Request: REGISTER sip:x.x.x.x
  8.258462 10.62.99.103 -> x.x.x.x SIP Status: 401 Unauthorized    (0
bindings)

Here are some detailed logs for the reg process:

T x.x.x.x:63171 -> 10.62.99.103:5060 [AP]

REGISTER sip:x.x.x.x SIP/2.0.

Via: SIP/2.0/TCP 192.168.126.19:4369;rport;branch=z9hG4bK239028812.

From: <sip:daniel at x.x.x.x>;tag=303867081.

To: <sip:daniel at x.x.x.x>.

Call-ID: 1300614569.

CSeq: 7 REGISTER.

Contact: <sip:daniel at x.x.x.x:63171;transport=tcp;line=5a9552052fb65c8>.

Max-Forwards: 70.

User-Agent: Linphone/3.5.0 (eXosip2/3.6.0).

Expires: 600.

Content-Length: 0.

.



T 10.62.99.103:5060 -> x.x.x.x:63171 [AP]

SIP/2.0 401 Unauthorized.

Via: SIP/2.0/TCP 192.168.126.19:4369
;rport=63171;branch=z9hG4bK239028812;received=x.x.x.x.

From: <sip:daniel at x.x.x.x>;tag=303867081.

To: <sip:daniel at x.x.x.x>;tag=b27e1a1d33761e85846fc98f5f3a7e58.b260.

Call-ID: 1300614569.

CSeq: 7 REGISTER.

WWW-Authenticate: Digest realm="x.x.x.x",
nonce="T42z9U+NssnZP82+sdkwPgl1nRk61QDm".

Server: kamailio (3.2.0 (i386/linux)).

Content-Length: 0.


Any help is greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120417/5611166a/attachment.htm>


More information about the sr-users mailing list