carrier_sip_settings
Creates, updates, deletes, gets or lists a carrier_sip_settings resource.
Overview​
| Name | carrier_sip_settings |
| Type | Resource |
| Id | ovh.telephony.carrier_sip_settings |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
description | string | The carrier SIP trunk description |
max_calls_per_second | integer | The maximum call establishments per second on your carrier sip service (wire: maxCallsPerSecond) |
max_concurrent_calls | integer | The maximum concurrent calls on your carrier sip service (wire: maxConcurrentCalls) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billing_account, service_name | Get the settings | |
update | update | billing_account, service_name | Update the settings |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
billing_account | string | The name of your billingAccount (wire: billingAccount) |
service_name | string | (wire: serviceName) |
SELECT examples​
- get
Get the settings
SELECT
description,
max_calls_per_second,
max_concurrent_calls
FROM ovh.telephony.carrier_sip_settings
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;
UPDATE examples​
- update
Update the settings
UPDATE ovh.telephony.carrier_sip_settings
SET
description = '{{ description }}'
WHERE
billing_account = '{{ billing_account }}' --required
AND service_name = '{{ service_name }}' --required;