Create SIP address
Creates a standalone SIP Address with a SIP URI, registration password, media and IP-authentication settings, and a resource that handles inbound calls. Use it when an external SIP device or system must register to or dial a dedicated URI. Use Create SIP credential for a device credential managed as a Fabric resource, or Create E911 address for a physical emergency-service location.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Calling, Fax, Messaging, or Video.
Learn more about API scopes.
Request body
Example request
{
"name": "sales-line",
"user": "agent",
"ip_auth_enabled": true,
"ip_auth": [
"10.0.0.0/24"
],
"codecs": [
"OPUS"
],
"ciphers": [
"AES_256_CM_HMAC_SHA1_80"
],
"password": "sup3r-s3cret"
}Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"type": "sip_address",
"name": "support-line",
"display_name": "support-line",
"context": "public",
"uri": "sip:my-space-support-line@sip.signalwire.com",
"user": "*",
"codecs": [
"PCMU",
"PCMA"
],
"ciphers": [
"AEAD_AES_256_GCM_8",
"AES_256_CM_HMAC_SHA1_80",
"AES_CM_128_HMAC_SHA1_80",
"AES_256_CM_HMAC_SHA1_32",
"AES_CM_128_HMAC_SHA1_32"
],
"ip_auth": [],
"created_at": "2024-05-06T12:20:00Z",
"updated_at": "2024-05-06T12:20:00Z"
}Changes
Changed in 4 of the 138 revisions of this API.22
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the pattern
^\S+$to the request propertyrequest-property-pattern-added
- ▲
- ○
endpoint added
endpoint-added
- ○
Of the 138 revisions, 3 have a changelog that could not be searched.