[sr-dev] about contact params
Juha Heinanen
jh at tutpro.com
Fri Nov 26 12:57:26 CET 2010
Iñaki Baz Castillo writes:
> > Contact: sip:foo at bar;alias=value
>
> In this header, "alias" is a header parameter. 100% sure.
inaki,
based on what in rfc3261 syntax?
Contact = ("Contact" / "m" ) HCOLON
( STAR / (contact-param *(COMMA contact-param)))
contact-param = (name-addr / addr-spec) *(SEMI contact-params)
name-addr = [ display-name ] LAQUOT addr-spec RAQUOT
addr-spec = SIP-URI / SIPS-URI / absoluteURI
display-name = *(token LWS)/ quoted-string
contact-params = c-p-q / c-p-expires
/ contact-extension
SIP-URI = "sip:" [ userinfo ] hostport
uri-parameters [ headers ]
my reading of the above is that the whole contact body can be an
addr-spec.
-- juha
More information about the sr-dev
mailing list