I'm facing a similar problem ...
From SER:
WWW-Authenticate: Digest realm="iptel.org", nonce="41a27b3b6184801b57dba727f73804c29f91f1b3"
My client replied: Authorization: Digest username="admin", realm="iptel.org", nonce="41a27b3b6184801b57dba727f73804c29f91f1b3", uri="sip:10.0.0.113:6060", response="55a3888ff8ff7e8a9b31e38091effe21"
And I keep getting 401 Unautherize ...
Nicolas, I see that we have 2 differences: 1) In your WWW-Authenticate you have qop="auth", what in your ser.cfg triggered that? 2) Your replied uri == your realm == 192.168.3.1, whereas for me my uri is what I ripped out from my original REGISTER request URI: REGISTER sip:10.0.0.113:6060 SIP/2.0
I'm also stuck for 2 days! Hopefully we can figure this out together.
Regards, Andrew Ho
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of Matt Schulte Sent: Wednesday, November 24, 2004 2:05 PM To: Nicolas Fauvel Cc: serusers@lists.iptel.org Subject: RE: [Serusers] Digest Authentification pb
What kind of UA are you using? Some ua's don't like qop from what I'm told.
-----Original Message----- From: Nicolas Fauvel [mailto:n_fauvel@yahoo.fr] Sent: Wednesday, November 24, 2004 11:28 AM To: serusers@lists.iptel.org Subject: [Serusers] Digest Authentification pb
Hi,
I have a problem with the digest authentification: here is my ser.cfg:
_________________________________________________ modparam("usrloc", "db_mode", 2) modparam("auth", "password_column", "HA1") modparam("auth", "password_column_2", "ha1b")
..... if (method=="REGISTER") { if (!www_authorize("192.168.3.1", "subscriber")) { www_challenge("192.168.3.1", "1"); break; };
save("location"); break; }; .............. ________________________________________________
Here are the server auth. request:
WWW-Authenticate: Digest realm="192.168.3.1", nonce="41a4bc4b000000005991791bfd119f83463ba82e93c3e1cc", qop="auth", algorithm=MD5
and the client reply:
Authorization: Digest username="nico",realm="192.168.3.1", nonce="41a4bc4b000000005991791bfd119f83463ba82e93c3e1cc", response="469f787618a743f08dd6e8768df3173f",uri="sip:192.168.3.1", algorithm=MD5,qop=auth,cnonce="A8858AF297CE4CE5AC94ADE4467C8A9B",nc=00000134 ______________________________________________________
Please !!! helpme, I've spent 2 days on it and... nothing !
Thanks
Vous manquez d'espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers