You are a challenged  by 401 to your INVITE/BYE as follows,

SIP/2.0 401 Unauthorized
.
.
WWW-Authenticate:Digest realm="192.15.2.20",^M
 nonce="96067c129846861159287b03b7935544",^M
 algorithm=MD5,^M
 opaque="20413e468cba088fa103fa93b7a8a41e",^M
 stale=false,^M
 qop="auth"^M

Then, iI response you should send something like this,

INVITE sip:64.18.103.239 SIP/2.0
.
.
Authorization: Digest
username="7069370064",realm="192.15.2.20",nonce="96067c129846861159287b03b79
35544",uri="sip:192.15.2.20",qop=auth,nc=00000001,cnonce="31fdee9a",response
="812c3d20d579f12e87828a85e802c9e6",opaque="20413e468cba088fa103fa93b7a8a41e
",algorithm=md5^M

-----Original Message-----
From: Banibrata Dutta [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 28, 2005 5:01 AM
To: 'Sip-Implementors'
Subject: RE: [Sip-implementors] uri field in Authorization header


reposting! hoping for some answers.

regards,
bd 

-----Original Message-----

suppose that my INVITE or BYE is challenged by the UA (UAS).
so when i am sending the challenge-response, what should the URI field in
the Authorization: header contain ? Should it contain the Req-URI from the
INVITE/BYE, or the To field from the INVITE/BYE ?


_______________________________________________
Sip-implementors mailing list
[email protected]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors




NOTE: This message, including any attachments, may include privileged,
confidential and/or inside information. Any distribution or use of this
communication by anyone other than the intended recipient(s) is strictly
prohibited and may be unlawful. If you are not the intended recipient,
please notify the sender by replying to this message and then delete it from
your system. Thank you.
_______________________________________________
Sip-implementors mailing list
[email protected]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to