update
Replace a SIP endpoint resource. Uses PUT for full replacement.
Path parameters
id
Unique ID of the SIP endpoint.
Request
username
The username of the Sip Endpoint
password
A new password for the Sip Endpoint. Omit to keep the current password.
caller_id
The caller ID that will showup when dialing from this Sip Endpoint
send_as
The Sip username that will show up on the calle's side. Overrides the username.
ciphers
Ciphers that can be enabled for calls on this Sip Endpoint.
Allowed values:
codecs
Codecs that can be enabled for calls on this Sip Endpoint.
encryption
The set encryption type on the Sip Endpoint. Omit to keep the current setting.
Allowed values:
call_handler
Specify how the SIP endpoint will handle outbound calls.
- **default**: The SIP endpoint will pull the outbound policy setting from the [SIP Profile Settings](https://my.signalwire.com?page=sip_profile/edit). This allows centralized management of outbound call behavior across multiple endpoints from a single configuration.
- **passthrough**: The SIP endpoint will be allowed to dial PSTN numbers. This permits outbound calling to traditional phone numbers without restrictions.
- **block-pstn**: The SIP endpoint will be blocked from dialing PSTN numbers. Use this to restrict the endpoint from initiating calls to the public telephone network.
- **resource**: Outbound calls from this SIP endpoint will dial the specified resource and execute its instructions. Requires setting `calling_handler_resource_id` to a valid resource. This enables custom call handling workflows for outbound calls.
Allowed values:
calling_handler_resource_id
The ID of the resource that handles outbound calls. Required when `call_handler` is `resource`.
Response
id
Unique ID of the SIP Endpoint.
project_id
Unique ID of the Project.
display_name
Display name of the SIP Endpoint Fabric Resource
type
Type of the Fabric Resource
Allowed values:
created_at
Date and time when the resource was created.
updated_at
Date and time when the resource was updated.
sip_endpoint
SIP Endpoint data.
Response Example
Response