Same uri as in Invite. Here is text from RFC 3261: UACs creating an ACK message will duplicate all of the Authorization and Proxy-Authorization header field values that appeared in the INVITE to which the ACK corresponds.
Sanjay >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >Igor Vanin >Sent: Monday, October 09, 2006 9:30 AM >To: [email protected] >Subject: [Sip-implementors] uri parameter of Authorization >header field inACK request > >Hello, All > >Which URI should I use in "uri" parameter of Authorization >header field in ACK request after 200 response from server: >the same URI as in INVITE request or new Request-URI obtained >from Contact HF of 200 response? > >After INVITE/401/ACK transaction, my softphone sends to the >Proxy an INVITE request with the following lines: > >INVITE sip:[EMAIL PROTECTED] SIP/2.0 >To: <sip:[EMAIL PROTECTED]> >Authorization: Digest >username="testcaller",realm="sip.example.com",nonce="55555",uri >="sip:[EMAIL PROTECTED]",response="[skippedmyfirstresponse]" > >Then I receive 200 response from server: > >SIP/2.0 200 OK >To: <sip:[EMAIL PROTECTED]>;tag=111 >Contact: <sip:[EMAIL PROTECTED]:5060> > >Then the UAC core generates ACK request with updated Request-URI: > >ACK sip:[EMAIL PROTECTED] SIP/2.0 >To: <sip:[EMAIL PROTECTED]>;tag=111 >Which Authorization header field is correct? >This: >Authorization: Digest >username="testcaller",realm="sip.example.com",nonce="55555",uri >="sip:[EMAIL PROTECTED]",response="[skippedmysecondresponse]" >or this: >Authorization: Digest >username="testcaller",realm="sip.example.com",nonce="55555",uri >="sip:[EMAIL PROTECTED]:5060",response="[skippedmysecondresponse]" >? > >RFC-3261 claims that the ACK MUST contain the same credentials >as the INVITE. Is the "uri" parameter the part of >"credentials", or it should match the Request-URI of each request? > >-- >With best regards, Igor Vanin, St. Petersburg, Russia >mailto:[EMAIL PROTECTED] http://gpmail.spb.ru > > >_______________________________________________ >Sip-implementors mailing list >[email protected] >https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
