Yeah.. I think its more of what is the implementation approach. My only worry was for backwards compatibility. I guess it safe to NOT ALLOW SPACES b/w ’sip' and : and wish interop goes well :) Or at-least the network capture will show spaces b/w ‘sip’ and :
On 10/11/15, 4:55 PM, "Brett Tate" <br...@broadsoft.com> wrote: >No. I doubt anyone thought that the RFC 2543 appendix C ambiguity would >imply that it was okay to separate "sip" from ":". However from a parser >perspective, you still need to decide how you wish to interpret/handle it if >you receive such a thing. > > SIP-URL = "sip:" [ userinfo "@" ] hostport > url-parameters [ headers ] > > > >> -----Original Message----- >> From: Arun Arora [mailto:arun.arora....@gmail.com] >> Sent: Tuesday, November 10, 2015 6:14 AM >> To: Brett Tate; sip-implementors@lists.cs.columbia.edu >> Subject: Re: [Sip-implementors] Is it OK to put spaces b/w SIP and COLON >> in >> SIP URI >> >> OK, thanks for clarification. >> >> So, it I need to keep backwards compatibility with RFC2543 then should >> SPACE >> b/w ‘sip’ and : to be allowed? >> >> Thanks, >> Arun >> >> >> >> >> On 10/11/15, 4:40 PM, "Brett Tate" <br...@broadsoft.com> wrote: >> >> >RFC 3261 does not allow it (RFC 2543 tended to be more vague concerning >> >where whitespace was valid). If RFC 3261 intended to allow it, it >> >would have used things like COLON instead of ":" within the ABNF. >> > >> >SIP-URI = "sip:" [ userinfo ] hostport >> > uri-parameters [ headers ] >> >SIPS-URI = "sips:" [ userinfo ] hostport >> > uri-parameters [ headers ] >> > >> >absoluteURI = scheme ":" ( hier-part / opaque-part ) >> > >> >scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." ) >> > >> >COLON = SWS ":" SWS ; colon >> > >> > >> > >> >> -----Original Message----- >> >> From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip- >> >> implementors-boun...@lists.cs.columbia.edu] On Behalf Of Arun Arora >> >> Sent: Tuesday, November 10, 2015 5:52 AM >> >> To: sip-implementors@lists.cs.columbia.edu >> >> Subject: [Sip-implementors] Is it OK to put spaces b/w SIP and COLON >> >> in SIP URI >> >> >> >> I am working on a SIP parser while reading RFC3261. I wonder is it OK >> >> to put WHITESPACE between SIP and COLON in a SIP URI, for e.g. >> >> >> >> “BOB"<sip :b...@biloxi.com> >> >> >> >> Is this syntactically correct. >> >> >> >> >> >> Thanks, >> >> Arun _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors