Hi, the following Via causes a parsing error in sip-router:

  Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bK1aaaaa;rport;param1 ;param2<CRLF>

It occurs due to the space before ";param2".
If param2 has value (param2=abc or param2 = abc) the error also occurs.

According to RFC 3261 BNF the above Via is 100% valid as header
parameters separator is SEMI which is defined as:

  SEMI    =  SWS ";" SWS
  SWS    =  [LWS]
  LWS    =  [*WSP CRLF] 1*WSP
  WSP    = SP | HTAB;


-- 
Iñaki Baz Castillo
<[email protected]>

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to