Subject: [sip-clf] optional fields in sipclf

From: Hadriel Kaplan <[email-masked]>
Date: Sun, 14 Nov 2010 14:39:47 -0500

Currently the indexed-ascii format does optional fields with (in ABNF):
*(TAB tag-hex COMMA length-hex COMMA value-string)

So an example would be:
<mandatory fields>	01,07,foo.bar	02,0b,hello world

Why can't we just do:
*(SP tag-num EQUAL DQUOTE value-string DQUOTE)

so an example would be:
<mandatory fields> 1="foo.bar" 2="hello world"

That way it's easier to read, and non-existence could be 1=- and non-parse could be 1=X.

Also, the use of numbers or hex to define tags doesn't accommodate vendor-specific fields, does it?
I'll send a separate email on that.

-hadriel