[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sip] BNF for Accept-Contact Header




Hi,

According to the draft "draft-ietf-sip-callerprefs-06.txt" , the grammar of
the Accept-Contact and Reject-Contact header is as follows:

        Accept-Contact  =  ("Accept-Contact" / "a") HCOLON feature-set
*(COMMA feature-set)
        Reject-Contact  =  ("Reject-Contact" / "j") HCOLON feature-set
*(COMMA feature-set)
        feature-set     =  ( name-addr / addr-spec / "*")   *(SEMI tag-set)
 [q-param]
        tag-set         =  feature-tag EQUAL (tag-value-list |
string-value)
        tag-value-list  =  LDQUOT ["!"] tag-values RDQUOT
        feature-tag     =  ftag ; From RFC 2533
        tag-values      =  tag-value *("," tag-value)
        tag-value       =  boolean / number / token
        boolean         =  "TRUE" / "FALSE"
        number          =  integer / rational
        integer         =  [ "+" / "-" ] 1*DIGIT
        rational        =  [ "+" / "-" ] 1*DIGIT "/" 1*DIGIT
        string-value    =  quoted-string
        q-param         =  "q" EQUAL qvalue

In the feature-set field, there is no separator between tag-set and
q-param. Whereas the "draft-ietf-sip-callerprefs-05.txt" defines SEMICOLON
as
the separator. Is it a mistake in the grammar ? Please correct me if I am
wrong.

Thanks
Manoj Chauhan
Hughes Software Systems


_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip