Update a SIP Profile
PUT/sip_profile
Updates the specific SIP Profile by setting the values of any parameters passed in. Any parameters not provided will be unchanged.
Permissions
The API token must include the following scopes: Voice.
Request
- application/json
Body
required
String representing the domain_identifier portion of the profile. Must be unique across your project.
example
A list of codecs this profile will support. Currently supported values are: OPUS
, G722
, PCMU
, PCMA
, VP8
, H264
.
["OPUS"]
A list of encryption ciphers this profile will support. Currently supported values are: 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
.
["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"]
A string representing whether connections to an endpoint that uses this profile require encryption or if encryption is optional. Encryption will always be used if possible. Possible values are required
or optional
.
optional
The e164 formatted number you wish to set as the originating number when dialing PSTN phone numbers from a SIP Endpoint that uses this profile. Specify null
or an empty string to randomly choose a purchased or verified number from within the project.
+15551234567
Responses
- 201
CREATED
- application/json
- Schema
- Example (from schema)
Schema
A string representation of the fully qualified domain name for this profile.
your-space-example.sip.signalwire.com
String representing the domain_identifier portion of the profile. Must be unique across your project.
example
A list of codecs this profile will support. Currently supported values are: OPUS
, G722
, PCMU
, PCMA
, VP8
, H264
.
["OPUS"]
A list of encryption ciphers this profile will support. Currently supported values are: 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
.
["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"]
A string representing whether connections to an endpoint that uses this profile require encryption or if encryption is optional. Encryption will always be used if possible. Possible values are required
or optional
.
optional
The e164 formatted number you wish to set as the originating number when dialing PSTN phone numbers from a SIP Endpoint that uses this profile. Specify null
or an empty string to randomly choose a purchased or verified number from within the project.
+15551234567
{
"domain": "your-space-example.sip.signalwire.com",
"domain_identifier": "example",
"default_codecs": [
"OPUS"
],
"default_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"
],
"default_encryption": "optional",
"default_send_as": "+15551234567"
}