easy_huntings
Creates, updates, deletes, gets or lists an easy_huntings resource.
Overview​
| Name | easy_huntings |
| Type | Resource |
| Id | ovh.telephony.easy_huntings |
Fields​
The following fields are returned by SELECT queries:
- get
- list
successful operation
| Name | Datatype | Description |
|---|---|---|
service_name | string | (wire: serviceName) |
anonymous_rejection | boolean | Reject (hangup) anonymous calls (wire: anonymousRejection) |
description | string | Description of the service |
feature_type | string | Feature of the service (aiAgent, carrierSip, cloudHunting, cloudIvr, conference, contactCenterSolution, contactCenterSolutionExpert, ddi, easyHunting, empty, fax, freefax, mgcp, oldConference, plugAndFax, redirect, sip, svi, voicefax, voicemail, vxml) (wire: featureType) |
is_ccs | boolean | Does the service have extended CCS options enabled? (wire: isCCS) |
max_wait_time | integer | Max wait time when caller is in queue (in seconds) (wire: maxWaitTime) |
queue_size | integer | Max number of callers in queue (wire: queueSize) |
service_type | string | General type of the service (alias, line) (wire: serviceType) |
show_caller_number | string | The presented number when bridging calls (alias, both, caller) (wire: showCallerNumber) |
status_ivr_enabled | boolean | Enable/Disable the status change IVR on your callcenter. The IVR is enabled by default. (wire: statusIvrEnabled) |
strategy | string | The calls dispatching strategy (cumulationByAgentOrder, longestHangupAgent, longestIdleAgent, random, ringAll, roundRobin, sequentiallyByAgentOrder) |
tone_on_closing | integer | Tone played just before call is hang up (wire: toneOnClosing) |
tone_on_hold | integer | Tone played when caller is put on hold (wire: toneOnHold) |
tone_on_opening | integer | Tone played when call is picked up (wire: toneOnOpening) |
voicemail | string (phone-number) | The voicemail used by the EasyPABX |
OVH easy calls queues
| Name | Datatype | Description |
|---|---|---|
service_name | string | (wire: serviceName) |
anonymous_rejection | boolean | Reject (hangup) anonymous calls (wire: anonymousRejection) |
description | string | Description of the service |
feature_type | string | Feature of the service (aiAgent, carrierSip, cloudHunting, cloudIvr, conference, contactCenterSolution, contactCenterSolutionExpert, ddi, easyHunting, empty, fax, freefax, mgcp, oldConference, plugAndFax, redirect, sip, svi, voicefax, voicemail, vxml) (wire: featureType) |
is_ccs | boolean | Does the service have extended CCS options enabled? (wire: isCCS) |
max_wait_time | integer | Max wait time when caller is in queue (in seconds) (wire: maxWaitTime) |
queue_size | integer | Max number of callers in queue (wire: queueSize) |
service_type | string | General type of the service (alias, line) (wire: serviceType) |
show_caller_number | string | The presented number when bridging calls (alias, both, caller) (wire: showCallerNumber) |
status_ivr_enabled | boolean | Enable/Disable the status change IVR on your callcenter. The IVR is enabled by default. (wire: statusIvrEnabled) |
strategy | string | The calls dispatching strategy (cumulationByAgentOrder, longestHangupAgent, longestIdleAgent, random, ringAll, roundRobin, sequentiallyByAgentOrder) |
tone_on_closing | integer | Tone played just before call is hang up (wire: toneOnClosing) |
tone_on_hold | integer | Tone played when caller is put on hold (wire: toneOnHold) |
tone_on_opening | integer | Tone played when call is picked up (wire: toneOnOpening) |
voicemail | string (phone-number) | The voicemail used by the EasyPABX |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billing_account, service_name | Get a contact center service | |
list | select | billing_account | x_pagination_mode | List contact center services |
update | update | billing_account, service_name | Update a contact center service | |
sound_upload | exec | billingAccount, serviceName | Upload a sound |
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"}}) |
billingAccount | string | The name of your billingAccount |
billing_account | string | The name of your billingAccount (wire: billingAccount) |
serviceName | string | |
service_name | string | (wire: serviceName) |
x_pagination_mode | string | Sent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode) |
SELECT examples​
- get
- list
Get a contact center service
SELECT
service_name,
anonymous_rejection,
description,
feature_type,
is_ccs,
max_wait_time,
queue_size,
service_type,
show_caller_number,
status_ivr_enabled,
strategy,
tone_on_closing,
tone_on_hold,
tone_on_opening,
voicemail
FROM ovh.telephony.easy_huntings
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;
List contact center services
SELECT
service_name,
anonymous_rejection,
description,
feature_type,
is_ccs,
max_wait_time,
queue_size,
service_type,
show_caller_number,
status_ivr_enabled,
strategy,
tone_on_closing,
tone_on_hold,
tone_on_opening,
voicemail
FROM ovh.telephony.easy_huntings
WHERE billing_account = '{{ billing_account }}' -- required
AND x_pagination_mode = '{{ x_pagination_mode }}'
;
UPDATE examples​
- update
Update a contact center service
UPDATE ovh.telephony.easy_huntings
SET
anonymous_rejection = {{ anonymous_rejection }},
description = '{{ description }}',
max_wait_time = {{ max_wait_time }},
queue_size = {{ queue_size }},
show_caller_number = '{{ show_caller_number }}',
status_ivr_enabled = {{ status_ivr_enabled }},
strategy = '{{ strategy }}',
tone_on_closing = {{ tone_on_closing }},
tone_on_hold = {{ tone_on_hold }},
tone_on_opening = {{ tone_on_opening }},
voicemail = '{{ voicemail }}'
WHERE
billing_account = '{{ billing_account }}' --required
AND service_name = '{{ service_name }}' --required;
Lifecycle Methods​
EXEC variables use wire (API) names.
- sound_upload
Upload a sound
EXEC ovh.telephony.easy_huntings.sound_upload
@billingAccount='{{ billingAccount }}' --required,
@serviceName='{{ serviceName }}' --required
@@json=
'{
"documentId": "{{ documentId }}",
"name": "{{ name }}",
"url": "{{ url }}"
}'
;