[Serusers] Cisco 7960 don't REGISTER

Paul PREVOT prevot at enseirb.fr
Fri Jun 16 12:53:57 CEST 2006


401 Unauthorized is a challenge sent by a sip proxy.

You are supposed to handle that challenge and send back an other REGISTER or
INVITE request which contains the following field: 

 

Authorization: Digest username="toto", realm="toto.com",
nonce="fsdg324fdsfg34bfd",...

 

Where username is your login and nonce generated from your password and
parts of 401 message

Check your login and password configuration or check if that user exists on
your SER server

 

Regards,

Paul

 

-----Message d'origine-----
De : serusers-bounces at lists.iptel.org
[mailto:serusers-bounces at lists.iptel.org] De la part de Ricardo Carvalho
Envoyé : vendredi 16 juin 2006 11:42
À : serusers at lists.iptel.org
Objet : [Serusers] Cisco 7960 don't REGISTER

 

Hi,

 

I'm trying to get my Cisco 7960 working with my SIP server running 

SER-0.9.0, but it never registers in the server. When I run "ngrep sip" 

I always get "401 Unauthorized" responses sent from server to phone. I 

don't understand why is it happening because I think it's everything 

well configured. What could be causing this problem?

 

Regards,

 

Ricardo.

 

 

ngrep log:

 

 

 

U 192.168.6.16:50988 -> 192.168.10.90:5060

  REGISTER sip:iric.up.pt SIP/2.0..Via: SIP/2.0/UDP 

192.168.6.16:5060;branch=z9hG4bK48104c63..From: 

<sip:105711 at iric.up.pt>;tag=00036baad2f4

  00d600629c68-0c16f516..To: sip:105711 at iric.up.pt..Call-ID: 

00036baa-d2f40009-20a38f54-53f31005 at 192.168.6.16..Max-Forwards: 

70..Date: Fri,

  16 Jun 2006 10:29:05 GMT..CSeq: 224 REGISTER..User-Agent: 

Cisco-CP7960G/8.0..Contact: 

<sip:105711 at 192.168.6.16:5060;transport=udp>;+sip.in

  

stance="<urn:uuid:00000000-0000-0000-0000-00036baad2f4>";+u.sip!model.ccm.ci
sco.com="7"..Content-Length: 

0..Expires: 3600....

#

U 192.168.10.90:5060 -> 192.168.6.16:50988

  SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 

192.168.6.16:5060;branch=z9hG4bK48104c63;rport=50988..From: 

<sip:105711 at iric.up.pt>;tag=00036ba

  ad2f400d600629c68-0c16f516..To: 

sip:105711 at iric.up.pt;tag=11df39ed0e444255bd65b6f6af831c6f.4db5..Call-ID: 

00036baa-d2f40009-20a38f54-53f31

  005 at 192.168.6.16..CSeq: 224 REGISTER..WWW-Authenticate: Digest 

realm="iric.up.pt", nonce="449288cfbfc18bc31d059bf8b935352cf56ec883"..Serve

  r: Sip EXpress router (0.9.0 (i386/linux))..Content-Length: 0....

 

 

_______________________________________________

Serusers mailing list

Serusers at lists.iptel.org

http://lists.iptel.org/mailman/listinfo/serusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060616/20bf3297/attachment.htm>


More information about the sr-users mailing list