Skip to main content

carrier_sip_cdrs

Creates, updates, deletes, gets or lists a carrier_sip_cdrs resource.

Overview​

Namecarrier_sip_cdrs
TypeResource
Idovh.telephony.carrier_sip_cdrs

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstring (uuid)Identifier of the document
namestringName of the document
descriptionstringDescription of the document
sizeintegerDocument size (in bytes)
urlstringURL to get document
validation_datestring (date-time)Document validation date (wire: validationDate)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbilling_account, service_namemonthGet call detail records

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.

NameDatatypeDescription
api_hoststringThe 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_accountstringThe name of your billingAccount (wire: billingAccount)
service_namestring (wire: serviceName)
monthstringThe month you want to extract (format: YYYY-MM). Current month if not specified.

SELECT examples​

Get call detail records

SELECT
id,
name,
description,
size,
url,
validation_date
FROM ovh.telephony.carrier_sip_cdrs
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
AND month = '{{ month }}'
;