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

[Sip] SIP grammar



Hi All,

I have a small doubt on SIP grammar defined in RFC
3261. I see the grammar to be ambigious.

Accept         =  "Accept" HCOLON
                   [ accept-range *(COMMA
accept-range) ]
accept-range   =  media-range *(SEMI accept-param)
media-range    =  ( "*/*"
                  / ( m-type SLASH "*" )
                  / ( m-type SLASH m-subtype )
                  ) *( SEMI m-parameter )
accept-param   =  ("q" EQUAL qvalue) / generic-param

Both m-parameter and  accept-param are delimited by
SEMI. How do I differentiate?

Thanks in advance

Regards,
Murali


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
_______________________________________________
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