- Update existing SIP endpoint
Updated an existing SIP endpoint by specifying its ID.
The projectId is a required parameter you must include when making any API calls. You can find your project ID on your Build dashboard.
A SIP endpoint which is the address of your SIP infrastructure. SIP endpoints can be one of two types: static endpoints or registered endpoints.
| Endpoint | Description |
|---|---|
| Static endpoints | Static endpoints are defined by a static value which can either be an IP address or a domain name. |
| Registered endpoints | Registered endpoints use a credential list to determine the endpoint. |
Inbound call routing priority. If two or more endpoints have the same priority, calls will be routed to them using a round-robin strategy.
Lower priority endpoints will be routed to first. Equal priority endpoints will round-robin calls between them.
The transport protocol of the SIP endpoint.
| Enum Value | Description |
|---|---|
| TCP | |
| UDP | |
| TLS |
The address of the SIP endpoint can be an IP address or a domain name. EST uses IP authentication and will only accept calls from the specified address or domain.
- https://elastic-trunking.api.sinch.comhttps://elastic-trunking.api.sinch.com/v1/projects/{projectId}/trunks/{sipTrunkId}/endpoints/{sipEndpointId}
curl -i -X PUT \
-u '<username>:<password>' \
'https://elastic-trunking.api.sinch.com/v1/projects/3acb7ae1-cf3d-4112-ba5e-3a9d8c71cd47/trunks/{sipTrunkId}/endpoints/{sipEndpointId}' \
-H 'Content-Type: application/json' \
-d '{
"address": "127.0.0.1",
"port": 5060,
"name": "Acme Endpoint",
"transport": "UDP",
"priority": 1,
"enabled": true
}'A successful response.
A SIP endpoint which is the address of your SIP infrastructure. SIP endpoints can be one of two types: static endpoints or registered endpoints.
| Endpoint | Description |
|---|---|
| Static endpoints | Static endpoints are defined by a static value which can either be an IP address or a domain name. |
| Registered endpoints | Registered endpoints use a credential list to determine the endpoint. |
Inbound call routing priority. If two or more endpoints have the same priority, calls will be routed to them using a round-robin strategy.
Lower priority endpoints will be routed to first. Equal priority endpoints will round-robin calls between them.
The ID of the SIP trunk to which the endpoint is assigned.
The transport protocol of the SIP endpoint.
| Enum Value | Description |
|---|---|
| TCP | |
| UDP | |
| TLS |
The date and time that the SIP endpoint was created.
The date and time that the SIP endpoint was last modified.
The address of the SIP endpoint can be an IP address or a domain name. EST uses IP authentication and will only accept calls from the specified address or domain.
{ "address": "127.0.0.1", "port": 5060 }