Skip to main content

conference_rooms

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

Overview​

Nameconference_rooms
TypeResource
Idovh.telephony.conference_rooms

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
announce_sound_idintegerThe announce sound id (wire: announceSoundId)
announce_filebooleanWhether announce file is played before entrance (wire: announceFile)
announce_filenamestringThe announce file name (wire: announceFilename)
anonymous_rejectionbooleanWhether anonymous participants are allowed (wire: anonymousRejection)
enter_mutedbooleanWhether participants enter conference room muted (wire: enterMuted)
events_channelstringThe events channel hash (wire: eventsChannel)
expiration_datestring (date-time)The expiration date of the conference room. (wire: expirationDate)
languagestringThe conference sounds language (de, en, es, fr, it)
pinstring (password)The conference pin number
record_statusbooleanWhether conference is recorded (wire: recordStatus)
report_emailstringThe email address to send conference report to (wire: reportEmail)
report_statusstringThe status of the reporting (customer, none, other) (wire: reportStatus)
room_numberintegerThe conference room number (wire: roomNumber)
white_label_reportbooleanTrue if you want to receive a white-labelled mail report of your conference (wire: whiteLabelReport)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbilling_account, room_number, service_nameGet a conference room
listselectbilling_account, service_namex_pagination_modeList conference rooms
createinsertbilling_account, service_nameCreate a conference room
updateupdatebilling_account, room_number, service_nameUpdate a conference room
lockexecbillingAccount, roomNumber, serviceNameLock the conference room
unlockexecbillingAccount, roomNumber, serviceNameUnlock the conference room

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"}})
billingAccountstringThe name of your billingAccount
billing_accountstringThe name of your billingAccount (wire: billingAccount)
roomNumberintegerThe conference room number
room_numberintegerThe conference room number (wire: roomNumber)
serviceNamestring
service_namestring (wire: serviceName)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get a conference room

SELECT
announce_sound_id,
announce_file,
announce_filename,
anonymous_rejection,
enter_muted,
events_channel,
expiration_date,
language,
pin,
record_status,
report_email,
report_status,
room_number,
white_label_report
FROM ovh.telephony.conference_rooms
WHERE billing_account = '{{ billing_account }}' -- required
AND room_number = '{{ room_number }}' -- required
AND service_name = '{{ service_name }}' -- required
;

INSERT examples​

Create a conference room

INSERT INTO ovh.telephony.conference_rooms (
room_number,
billing_account,
service_name
)
SELECT
{{ room_number }},
'{{ billing_account }}',
'{{ service_name }}'
RETURNING
announce_sound_id,
announce_file,
announce_filename,
anonymous_rejection,
enter_muted,
events_channel,
expiration_date,
language,
pin,
record_status,
report_email,
report_status,
room_number,
white_label_report
;

UPDATE examples​

Update a conference room

UPDATE ovh.telephony.conference_rooms
SET
announce_file = {{ announce_file }},
announce_sound_id = {{ announce_sound_id }},
anonymous_rejection = {{ anonymous_rejection }},
enter_muted = {{ enter_muted }},
expiration_date = '{{ expiration_date }}',
language = '{{ language }}',
pin = '{{ pin }}',
record_status = {{ record_status }},
report_email = '{{ report_email }}',
report_status = '{{ report_status }}',
white_label_report = {{ white_label_report }}
WHERE
billing_account = '{{ billing_account }}' --required
AND room_number = '{{ room_number }}' --required
AND service_name = '{{ service_name }}' --required;

Lifecycle Methods​

EXEC variables use wire (API) names.

Lock the conference room

EXEC ovh.telephony.conference_rooms.lock
@billingAccount='{{ billingAccount }}' --required,
@roomNumber='{{ roomNumber }}' --required,
@serviceName='{{ serviceName }}' --required
;