Home > sip.js > UserAgent > makeURI
Create a URI instance from a string.
Signature:
static makeURI(uri: string): URI | undefined;| Parameter | Type | Description |
|---|---|---|
| uri | string |
The string to parse. |
Returns:
URI | undefined
const uri = UserAgent.makeURI("sip:edgar@example.com");