Address
The Address interface represents SIP addresses, which are found in headers like From, To, and Contact. These addresses follow the syntax defined in RFC 3261, comprising a URI, an optional display name, and a set of name-value parameters. The interface is used for headers that contain one or more SIP addresses, including Route, Record-Route, Reply-To, and various informational or extension headers such as P-Asserted-Identity, P-Preferred-Identity, and Path. SIP addresses are important for sending requests as a User Agent Client (UAC) and redirecting incoming requests, such as call forwarding. Applications can construct Address objects using methods from SipFactory or retrieve them from SIP messages through methods like SipServletMessage.getAddressHeader and SipServletMessage.getAddressHeaders. Additionally, as an extension of the Parameterable interface, Address allows manipulation of associated parameters, making it flexible for handling SIP-specific requirements in headers.
Start innovating with Mobius
What's next? Let's talk!