> Is the below message correct or not? Yes. HCOLON and SLASH accommodate the atypical useless line wrapping and tabs of your example.
> Via: \r\n > SIP/2.0 \r\n > /[transport] > [local_ip]:[local_port];branch=[branch]\r\n <snip> > From the above syntax it seems that CRLF is possible > in the above syntax of Via message header after the ":". > Is my understanding correct or is there some error in > understanding the ABNF grammer ? Yes; you are correct as the RFC 3261 ABNF and text indicates. "To separate the header name from the rest of value, a colon is used, which, by the above rule, allows whitespace before, but no line break, and whitespace after, including a linebreak. The HCOLON defines this construct." Via = ( "Via" / "v" ) HCOLON via-parm *(COMMA via-parm) HCOLON = *( SP / HTAB ) ":" SWS _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
