Update a SIP Endpoint
Updates the specific SIP Endpoint 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.
Path Parameters |
---|
id uuid — REQUIREDUnique ID of the SIP endpoint |
Request Body — REQUIRED |
---|
username stringString representing the username portion of the endpoint. Must be unique across your project and must not container white space characters or |
password stringA password to authenticate registrations to this endpoint. |
caller_id stringFriendly Caller ID used as the |
send_as stringWhen dialing a PSTN phone number, you must send it Defaults to the project's SIP Settings default send as number. |
ciphers string[]A list of encryption ciphers this endpoint will support. Currently supported values are: Defaults to the project's SIP Settings default cipher list. You can unset the custom cipher list and use the project's SIP Settings default cipher list by sending an empty array. |
codecs string[]A list of codecs this endpoint will support. Currently supported values are: Defaults to the project's SIP Settings default codec list. You can unset the custom codec list and use the project's SIP Settings default codec list by sending an empty array. |
encryption stringA string representing whether connections to this endpoint require encryption or if encryption is optional. Encryption will always be used if possible. Possible values are Defaults to the project's SIP Settings default. |
call_handler stringWhat type of handler you want to run on inbound calls. Possible values are: |
call_request_url stringA string representing the LaML URL to access when a call is received. This is only used (and required) when |
call_request_method stringA string representing the HTTP method to use with |
call_fallback_url stringA string representing the LaML URL to access when the call to |
call_fallback_method stringA string representing the HTTP method to use with |
call_status_callback_url stringA string representing a URL to send status change messages to. This is only used (and required) when |
call_status_callback_method stringA string representing the HTTP method to use with |
call_laml_application_id stringA string representing the ID of the LaML application to forward incoming calls to. This is only used (and required) when |
call_relay_context stringA string representing the Relay context to forward incoming calls to. This is only used (and required) when |
call_video_room_id uuidA string representing the ID of the Video Room to forward incoming calls to. This is only used (and required) when |
call_flow_id uuidA string representing the ID of the Call Flow to forward incoming calls to. This is only used (and required) when |
call_ai_agent_id uuidA string representing the ID of the Ai Agent to forward incoming calls to. This is only used (and required) when |
call_relay_script_url stringA string representing a URL of a SWML script to response incoming calls. This is only used (and required) when |
Responses | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201 CREATED
|