Parrot.Sip.Uri (Parrot Platform v0.0.1-alpha.2)
Represents a SIP URI and provides functions for parsing and manipulating SIP URIs.
Summary
Functions
Decode the user part of the URI, handling percent encoding.
Check if two URIs are equal according to SIP URI comparison rules.
Check if a URI is a SIPS URI.
Create a new SIP URI with the given components.
Parse a SIP URI string into a structured Uri.
Convert a Uri struct back to a string representation.
Add or update a parameter in a URI.
Replace all parameters in a URI.
Add or update a port to a URI.
Types
Functions
Decode the user part of the URI, handling percent encoding.
Check if two URIs are equal according to SIP URI comparison rules.
This implements the URI comparison rules from RFC 3261 section 19.1.4.
Check if a URI is a SIPS URI.
Create a new SIP URI with the given components.
Parse a SIP URI string into a structured Uri.
Returns {:ok, uri}
or {:error, reason}
.
Convert a Uri struct back to a string representation.
Add or update a parameter in a URI.
Replace all parameters in a URI.
Add or update a port to a URI.