Expand description
Address headers: From, To, Contact, Route, Record-Route, Refer-To.
All share one grammar (RFC 3261 §20.10, §20.20, §20.39):
( name-addr / addr-spec ) *( SEMI generic-param )
name-addr = [ display-name ] LAQUOT addr-spec RAQUOTThe trap is the bare addr-spec form: without angle brackets, a semicolon starts a
header parameter, not a URI parameter, so sip:a@b;tag=1 is one URI and one header
parameter — while <sip:a@b;tag=1> is one URI with a URI parameter and no header
parameters. The two mean entirely different things and differ by two characters.
Structs§
- Address
- A display name with a URI and header parameters.
- Contact
- The
Contactheader (RFC 3261 §20.10). - From
- The
Fromheader (RFC 3261 §20.20). - Path
- The
Pathheader (RFC 3327 §4). - Record
Route - The
Record-Routeheader (RFC 3261 §20.30). - Route
- The
Routeheader (RFC 3261 §20.34). - Service
Route - The
Service-Routeheader (RFC 3608 §5). - To
- The
Toheader (RFC 3261 §20.39).
Enums§
- Contact
Value - A
Contactvalue, which may be the wildcard*.