GetUri
The GetUri function returns the URI portion of a SIP "address" header, such as the "From" and "To" headers.
string GetUri(
string address
);
Parameters
- address
The SIP address for which the associated URI portion is returned. For example,GetUri("\"Display Name\" <sip:someone@example.com>;lr")returns "sip:someone@example.com".
Return Values
Returns the SIP URI as a string; for example, "sip:someone@example.com". If the address does not contain a URI, an empty string is returned.