400 Bad Request -- Sent from mobile device
On Mar 6, 2009, at 6:00 PM, cool goose <[email protected]> wrote: > Hi Guys, > > What should UAS respond with when it receives REGISTER request where > the > "Uri" field has its value with out being double quoted? Say for eg: > > REGISTER sip:192.168.104.113 SIP/2.0 > Via: SIP/2.0/UDP 192.168.104.110:5060;branch=z9hG4bKbab835b91939ee5dd > Max-Forwards: 0 > From: <sip:192.168.104.113:5060>;tag=4be5501b2b > To: <sip:[email protected]:5060> > Call-ID: 0f2633d154e734df > CSeq: 2 REGISTER > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE,PRACK, > SUBSCRIBE, INFO > Contact: <sip:[email protected]:5060;transport=udp>; expires=3600 > User-Agent: SipTool > Authorization: Digest username="001AA040A", realm="abcd.com", > cnonce="8684c3c0", nc=00000001, qop=auth, uri=SIP:192.168.104.113, > nonce="4805c00a969ec901f146d1927b99fe102ffbc8e21b64fe55", > response="ad9d72e63ff808fe020a07813962023f", algorithm=MD5, opaque="" > Content-Length: 0 > > > Observe the "uri" field value in the above Register request. > > RFC 3261 in Section 22.4 specifies the following: > > 2. The BNF in RFC 2617 has an error in that the 'uri' parameter > of the Authorization header field for HTTP Digest > > authentication is not enclosed in quotation marks. (The > example in Section 3.5 of RFC 2617 is correct.) For SIP, the > 'uri' MUST be enclosed in quotation marks. > > > > Thank You, > CoolGoose. > _______________________________________________ > 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
