Assign domain application handler
Assigns an existing resource as the calling handler for a SIP Domain Application, so inbound SIP calls to that Domain Application run the resource. Use it when the Domain Application already exists and its handler should be a Fabric resource such as an AI Agent, Call Flow, or SIP Gateway. Use Create domain application to create and configure the SIP-facing Domain Application itself.
Currently only supports calling as a handler and automatically defaults to it.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.
Authentication
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Path parameters
Request
Response
A list containing whitelisted IP addresses and IP blocks used if ip_auth_enabled is true.
A string representing the HTTP method to use with call_request_url.
A string representing the LaML URL to access when the call to call_request_url fails.
A string representing the HTTP method to use with call_fallback_url.
A string representing the HTTP method to use with call_status_callback_url.
A list of codecs this domain application will support. Currently supported values are: OPUS, G722, PCMU, PCMA, G729, VP8, and H264.
A list of encryption ciphers this domain application 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, and AES_CM_128_HMAC_SHA1_32.
Deprecated. Use call_relay_application instead.
Deprecated. Use call_relay_topic_status_callback_url instead.