Table of Contents | ||
---|---|---|
|
GET /extension/alive/
Get extension alive status
Query parameters
Name | Type | Description |
---|---|---|
|
| Extension id, multiple possible. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Extension id, multiple possible. |
...
GET /extension/call_property/
Get call extension property list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
|
...
Get extension registration status
Query parameters
Name | Type | Description |
---|---|---|
|
| Extension id, multiple possible. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| Extension id, multiple possible. |
|
| Default: [] |
Resource registration
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
...
POST /extension/{extension_id}/agent/
...
Name | Type | Description |
---|---|---|
|
| Agent status. One of 'logged_out', 'available'. Default: available |
|
| |
|
| Required. Agent name. |
|
| If the agent is on do not disturb, we wait this defined time before trying him again. Default: 10 |
|
| If the agent does not answer the call, we wait this defined time before trying him again. Default: 10 |
|
| Agent call timeout. |
|
| Allow an agent to have a delay when finishing a call before receiving another one. Default: 0 |
|
| If the agent press the reject on their phone, we wait this defined time amount. Default: 10 |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Agent status. One of 'logged_out', 'available'. |
|
| |
|
| Agent name. |
|
| If the agent is on do not disturb, we wait this defined time before trying him again. |
|
| If the agent does not answer the call, we wait this defined time before trying him again. |
|
| Agent call timeout. |
|
| Allow an agent to have a delay when finishing a call before receiving another one. |
|
| If the agent press the reject on their phone, we wait this defined time amount. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: True |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. Ani . |
Resource fields
Name | Type | Description |
---|---|---|
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
...
Name | Type | Description |
---|---|---|
|
| Restrict or permit transfer of a phone call made to a phone number external to the system. Default: False |
|
| Will transfer src on number if other side hang up. |
|
| Required. Source call number. |
|
| Rate limits for callback to prevent all calls consist of callback. |
|
| Total duration of the call, in seconds. |
|
| Source caller id. |
|
| Will transfer dst on number if other side hang up. |
|
| The maximum number of seconds to wait until one of the phone numbers used picks up. |
|
| Caller name. |
|
| Required. Destination call number. |
|
| Dst number identification on trunks. |
|
| Source caller name. |
|
| Caller id. |
|
| Announce sound id, the sound that will hear src after answer. |
|
| Announce sound id. the sound that will hear dst and src after dst answer. |
|
| Src number identification on trunks. |
|
| Dtmf digtis to send to destination . |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: False |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: False |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. One of 'show_members', 'is_locked', 'max_members', 'count', 'run_time'. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
PUT /extension/{extension_id}/current_calls/{call_api_id
}
Update call
...
Resource call_mdl
Name | Type | Description | ||
---|---|---|---|---|
|
| Required. |
|
|
Required |
| |||
|
| |||
|
| Default: True | ||
|
| |||
|
| |||
|
| |||
|
| |||
|
| |||
|
| |||
|
| |||
|
|
...
PUT /extension/{extension_id}/current_calls/{call_api_id
}
Update call
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. One of 'eavesdrop', 'whisper', 'conference', 'transfer', 'attended_transfer', 'hold', 'offhold', 'park', 'pickup'. |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. Request url. |
|
| Required. Call event type. One of 'dial-in', 'dial-out', 'hangup', 'answer', 'message-in', 'message-out', 'message-out-status', 'voicemail'. |
|
| Required. Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Request url. |
|
| Call event type. One of 'dial-in', 'dial-out', 'hangup', 'answer', 'message-in', 'message-out', 'message-out-status', 'voicemail'. |
|
| Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
...
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: tiff |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: tiff |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. Destination number. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Destination number. |
|
| Resource id. |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. One of 'cancel', 'retry'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
...
Name | Type | Description |
---|---|---|
|
| Allow public called destinations to transfer calls. Default: False |
|
| Extension call status. One of 'no_answer', 'busy', 'any'. Default: any |
|
| Call status. One of 'no_answer', 'busy', 'any'. Default: any |
|
| Transfer destination for transfer rule. multiple destinations divided by space. |
|
| Enable call screening for transfer call. Default: False |
|
| Rule is active. Default: True |
|
| Time interval id. |
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. Default: any |
|
| Rule control code. |
|
| Caller id. |
|
| While transfer play ring back tones instead of early media. Default: True |
|
| Extension status. One of 'registered', 'unreachable', 'any'. Default: any |
|
| Ring to transfer destination this count of seconds. Default: 60 |
|
| Sound id for playfile rule. |
|
| List of elements for cascade rule. |
|
| Required. Rule type. One of 'busy', 'transfer', 'hangup', 'playfile', 'voicemail', 'cascade', 'simple_transfer', 'simple_cascade'. |
|
| If rule is final, next rules will be not executed if call failed. Default: True |
|
| Rule name. |
Resource
...
cascade_number
Name | Type | Description |
|
---|---|---|---|
|
| Required. | |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| One of 'registered', 'unreachable', 'any'. Default: any |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
|
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /extension/{extension_id}/incom_rule/
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| One of 'registered', 'unreachable', 'any'. Default: any |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
|
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
PUT /extension/{extension_id}/incom_rule/order/
...
Name | Type | Description |
---|---|---|
|
| Required. All rules ids in needed order. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: [] |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: [] |
...
Name | Type | Description |
---|---|---|
|
| Allow public called destinations to transfer calls. |
|
| Extension call status. One of 'no_answer', 'busy', 'any'. |
|
| Call status. One of 'no_answer', 'busy', 'any'. |
|
| Transfer destination for transfer rule. multiple destinations divided by space. |
|
| Enable call screening for transfer call. |
|
| Rule is active. |
|
| Time interval id. |
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. |
|
| Rule control code. |
|
| Caller id. |
|
| While transfer play ring back tones instead of early media. |
|
| Extension status. One of 'registered', 'unreachable', 'any'. |
|
| Ring to transfer destination this count of seconds. |
|
| Sound id for playfile rule. |
|
| List of elements for cascade rule. |
|
| Rule type. One of 'busy', 'transfer', 'hangup', 'playfile', 'voicemail', 'cascade', 'simple_transfer', 'simple_cascade'. |
|
| If rule is final, next rules will be not executed if call failed. |
|
| Rule name. |
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| One of 'registered', 'unreachable', 'any'. Default: any |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
|
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /extension/{extension_id}/incom_rule/{rule_id
}
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| One of 'registered', 'unreachable', 'any'. Default: any |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
|
...
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
DELETE /extension/{extension_id}/incom_rule/{rule_id
}
Delete extension incoming call rule by id
...
Name | Type | Description |
---|---|---|
|
| Required. Interval timezone. |
|
| Required. Datetime conditions. |
|
| Required. Interval name. |
Resource
...
condition
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /extension/{extension_id}/interval/
Get interval list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
| Start datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored. | |
|
| Start day of week sun = 1, mon = 2, etc. Min: 1. Max: 7. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| Month. Min: 1. Max: 12. |
|
| End day of week sun = 1, mon = 2, etc. Min: 1. Max: 7. |
|
| Min: 1. |
|
| End month day. Min: 1. Max: 31. |
|
| Start month day. Min: 1. Max: 31. |
|
| End time of day. |
|
| Start time of day. |
|
| End datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| |
|
| Start day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| |
|
| End day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /extension/{extension_id}/interval/
Get interval list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| |
|
| Start day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| |
|
| End day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
PUT /extension/{extension_id}/interval/{interval_id
}
Update interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Interval timezone. |
|
| Required. Datetime conditions. |
|
| Required. Interval name. |
Resource condition
Name | Type | Description |
---|---|---|
|
| Start datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored. |
|
| Start day of week sun = 1, mon = 2, etc. Min: 1. Max: 7. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| Month. Min: 1. Max: 12. |
|
| End day of week sun = 1, mon = 2, etc. Min: 1. Max: 7. |
|
| Min: 1. |
|
| End month day. Min: 1. Max: 31. |
|
| Start month day. Min: 1. Max: 31. |
|
| End time of day. |
|
| Start time of day. |
|
| End datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| |
|
| Start day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| |
|
| End day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /extension/{extension_id}/interval/{interval_id
}
Update Get interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Interval timezone. |
|
| Required. Datetime conditions. |
|
| Required. Interval name. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /extension/{extension_id}/interval/{interval_id
}
Get interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
...
Name
...
Type
...
Description
...
dealer_id
...
integer
...
name
...
string
...
extension_id
...
integer
...
client_id
...
integer
...
timezone
...
string
...
conditions
...
array [interval_condition]
...
id
...
integer
...
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| |
|
| Start day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| |
|
| End day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /extension/{extension_id}/interval/{interval_id
}
...
Name | Type | Description |
---|---|---|
|
| Action after lifetime expires. One of 'hangup', 'transfer'. |
|
| Context with starts when ivr called. |
|
| Transfer destination while lifetime expires. |
|
| Voicemail enabled. |
|
| Voicemail greeting sound id. |
|
| Voicemail configuration. One of 'default', 'record_silence'. |
|
| Ivr call lifetime in seconds. |
|
| Attach voicemail message to notification email. |
|
| Milliseconds before entry context starts. |
|
| Email address for voicemail notifications. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: default |
|
| |
|
| Default: True |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: default |
|
| |
|
| Default: True |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. Context name. |
|
| Number of milliseconds to wait for a selection. Default: 2000 |
|
| Number of milliseconds to wait conform entered digits. Default: 5000 |
|
| |
|
| Allow dial any extension. Default: False |
|
| Maximum number of digits to collect before searching for a matching menu entry. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Context name. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Context name. |
...
Name | Type | Description |
---|---|---|
|
| Context name. |
|
| Number of milliseconds to wait conform entered digits. |
|
| Number of milliseconds to wait for a selection. |
|
| |
|
| Allow dial any extension. |
|
| Maximum number of digits to collect before searching for a matching menu entry. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Context name. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Context name. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
...
Name | Type | Description | |||||
---|---|---|---|---|---|---|---|
|
| Variable name for transfer_from_variable. | |||||
|
| Call status. One of 'no_answer', 'busy', 'any'. Default: any | |||||
|
| Playing method to play digits. One of 'pronounced', 'iterated', 'None'. | |||||
|
| If true - classic ivr navigation from the keyboard will be enabled after recognition (if none of the matches were received earlier). | |||||
|
| Caller id. | |||||
|
| Variable value for variable-based condition. | |||||
|
| Variable name for play_digits_variable. | |||||
|
| Call interactive method. One of 'GET', 'POST', 'None'. Default: GET | |||||
|
| Timeout in milliseconds before stop listen voice and start recognize. | |||||
|
| Maximum digits amount for record_digits. | |||||
|
| If true - transfer to dst from variable will be simple, default false. Default: False | |||||
|
| Maximum digits to terminate listen voice and start recognize. | |||||
|
| Variable name for variable-based condition. | |||||
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. Default: any | |||||
|
| Context option to jump. | |||||
|
| Silence duration in milliseconds. | |||||
|
| Variable name for set_variable. | |||||
|
| Caller_id_number. | |||||
|
| One of 'normal', 'busy'. Default: normal | |||||
|
| If rule is final, next rules will be not executed if call failed. Default: True | |||||
|
| Sound to play. | |||||
|
| Sound type. One of 'background', 'foreground', 'None'. | |||||
|
| ||||||
|
| Call interactive url. | |||||
|
| Insert new rule in position. | |||||
|
| Caller_id_name. | |||||
|
| List of elements for voice helper rule. | |||||
|
| Ring to transfer destination this count of seconds. | |||||
|
| Digits to play. | |||||
|
| Rule name. | |||||
|
| Variable name for record_digits. | |||||
|
| Check if sound in variable- if so - file from variable will be played instead other sound. | |||||
|
| Rule time interval. | |||||
|
| Record digits timeout in milliseconds. | |||||
|
| Transfer destination. | |||||
|
| Context to jump. | |||||
|
| Required. Rule action. One of 'transfer', 'hangup', 'play_sound', 'play_silence', 'jump_to_context', 'play_digits', 'call_interactive', 'transfer_from_variable', 'set_variable', 'voicemail', 'simple_transfer', 'set_caller_id_name', 'set_caller_id_number', 'record_digits', 'play_digits_from_variable', 'quality_rate', 'voice_helper', 'start_record'. | |||||
|
| Variable value for set_variable. | |||||
|
| Call interactive timout. |
|
| Id of sound to play record_digits |
| Call interactive timout. |
|
| Id of sound to play record_digits. |
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: any |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: normal |
|
| Default: True |
|
| |
|
| |
|
| Default: 5 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: any |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: normal |
|
| Default: True |
|
| |
|
| |
|
| Default: 5 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
PUT /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/order/
...
Name | Type | Description |
---|---|---|
|
| Required. All rules ids in needed order. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: [] |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: [] |
...
Name | Type | Description |
---|---|---|
|
| Variable name for transfer_from_variable. |
|
| Call status. One of 'no_answer', 'busy', 'any'. |
|
| Playing method to play digits. One of 'pronounced', 'iterated', 'None'. |
|
| If true - classic ivr navigation from the keyboard will be enabled after recognition (if none of the matches were received earlier). |
|
| Caller id. |
|
| Variable value for variable-based condition. |
|
| Variable name for play_digits_variable. |
|
| Call interactive method. One of 'GET', 'POST', 'None'. |
|
| Timeout in milliseconds before stop listen voice and start recognize. |
|
| Maximum digits amount for record_digits. |
|
| If true - transfer to dst from variable will be simple, default false. Default: False |
|
| Maximum digits to terminate listen voice and start recognize. |
|
| Variable name for variable-based condition. |
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. |
|
| Context option to jump. |
|
| Silence duration in milliseconds. |
|
| Variable name for set_variable. |
|
| Caller_id_number. |
|
| One of 'normal', 'busy'. |
|
| If rule is final, next rules will be not executed if call failed. |
|
| Sound to play. |
|
| Sound type. One of 'background', 'foreground', 'None'. |
|
| |
|
| Call interactive url. |
|
| Caller_id_name. |
|
| List of elements for voice helper rule. |
|
| Ring to transfer destination this count of seconds. |
|
| Digits to play. |
|
| Rule name. |
|
| Variable name for record_digits. |
|
| Check if sound in variable- if so - file from variable will be played instead other sound. |
|
| Rule time interval. |
|
| Record digits timeout in milliseconds. |
|
| Transfer destination. |
|
| Context to jump. |
|
| Rule action. One of 'transfer', 'hangup', 'play_sound', 'play_silence', 'jump_to_context', 'play_digits', 'call_interactive', 'transfer_from_variable', 'set_variable', 'voicemail', 'simple_transfer', 'set_caller_id_name', 'set_caller_id_number', 'record_digits', 'play_digits_from_variable', 'quality_rate', 'voice_helper', 'start_record'. |
|
| Variable value for set_variable. |
|
| Call interactive timout. |
|
| Id of sound to play record_digits. |
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: any |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: normal |
|
| Default: True |
|
| |
|
| |
|
| Default: 5 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/{rule_id
}
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: any |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: normal |
|
| Default: True |
|
| |
|
| |
|
| Default: 5 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
DELETE /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/{rule_id
}
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: default |
|
| |
|
| Default: True |
|
| |
|
|
Resource context_model
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Context name. |
...
POST /extension/{extension_id}/mail_notification/
...
Name | Type | Description |
---|---|---|
|
| Required. Email for notification. |
|
| Required. Notification type. One of 'call_failed_mail'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Email for notification. |
|
| Notification type. One of 'call_failed_mail'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| One of 'digest', 'network', 'both'. Default: digest |
|
| Voicemail enabled. |
|
| Music on hold sound id. |
|
| Preserve original caller id number on attended transfer. |
|
| |
|
| |
|
| |
|
| Append to cid name on transfer. |
|
| One of 'yes', 'no', 'None'. |
|
| Timeout in seconds before hangup if extension does not answer. |
|
| |
|
| Email address for voicemail notifications. |
|
| |
|
| Voicemail greeting sound id. |
|
| |
|
| Attach voicemail message to notification email. |
|
| |
|
| |
|
| Call record enabled. |
|
| Transfer caller id number. |
|
| Ignore early media. |
|
| Voicemail configuration. One of 'default', 'record_silence'. |
|
| Static registration address:port. |
|
| |
|
| |
|
| Call screening enabled. |
|
| |
|
| Ringback sound id. |
|
| One of 'mp3', 'wav', 'None'. |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: default |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: default |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
...
Name | Type | Description |
---|---|---|
|
| Announce sound id. |
|
| Sound id. plays before transfer to destination if no no agents available. |
|
| Start sound id. |
|
| Key for exit from queue. |
|
| |
|
| Agent announce sound id. |
|
| Queue member position announce frequency. |
|
| One of 'None', 'transfer', 'quality_rate'. |
|
| Do not try to call busy agents. |
|
| Email address for voicemail notifications. |
|
| Transfer destination on no agent timeout. |
|
| Report how long caller was in a queue. |
|
| Voicemail enabled. |
|
| |
|
| Queue call strategy. One of 'ring-all', 'longest-idle-agent', 'round-robin', 'top-down', 'agent-with-least-talk-time', 'agent-with-fewest-calls', 'sequentially-by-agent-order', 'random'. Default: round-robin |
|
| Try to connect caller to the same agent if connected in last try_same_agent_time seconds. |
|
| Queue calls recording enabled. |
|
| Attach voicemail message to notification email. |
|
| If false, then once tier_rule_wait_second is passed, the caller is offered to all tiers in order (level/position). if true, the tier_rule_wait_second will be multiplied by the tier level. |
|
| Sound type. One of 'ring', 'music'. Default: ring |
|
| Sound id. plays before transfer to destination if timeout. |
|
| Defines if we should apply tier rules. |
|
| Disable answer in queue. |
|
| Voicemail configuration. One of 'default', 'record_silence'. |
|
| Voicemail greeting sound id. |
|
| |
|
| Announce_sound will play at intervals defined in this parameter (in seconds). |
|
| Transfer destination on exit. |
|
| The time in seconds that a caller is required to wait before advancing to the next tier. |
|
| Queue main sound id. |
|
| Do not put call into the queue if there is no agents available. |
|
| Sound id. plays before transfer to destination on caller exit. |
|
| |
|
| Transfer destination on timeout. |
|
| Define the delay before we quit queue if the member haven't been answered by an agent. |
|
| Transfer on agent hangup destination. |
|
| Maximum time in seconds with no agents in queue before exit. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: True |
|
| Default: False |
|
| Default: music |
|
| |
|
| Default: False |
|
| Default: False |
|
| Default: default |
|
| |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: True |
|
| Default: False |
|
| Default: music |
|
| |
|
| Default: False |
|
| Default: False |
|
| Default: default |
|
| |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Agent position. Default: 0 |
|
| Required. Agent id. |
|
| Agent level. Default: 0 |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| Agent extension id. |
|
| Default: 1 |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| Agent extension id. |
|
| Default: 1 |
...
Name | Type | Description |
---|---|---|
|
| Agent position. |
|
| Agent level. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| Agent extension id. |
|
| Default: 1 |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| Agent extension id. |
|
| Default: 1 |
...
Name | Type | Description |
---|---|---|
|
| Agent position. Default: 0 |
|
| Required. Agent id. |
|
| Agent level. Default: 0 |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| Agent id. |
|
| Default: 1 |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| Agent id. |
|
| Default: 1 |
...
Name | Type | Description |
---|---|---|
|
| Agent position. |
|
| Agent level. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| Agent id. |
|
| Default: 1 |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| Agent id. |
|
| Default: 1 |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 0 |
|
| Default: 0 |
|
| Default: 0 |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. Start datetime. |
|
| Required. End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| |
|
| Default: [] |
Resource registration
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /extension/{extension_id}/registration/
...
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| User email. |
|
| User status. One of 'active', 'blocked'. |
|
| Required. User name. |
|
| Send email with access data for new user. Default: False |
|
| User access type. One of 'full', 'read_only'. |
|
| User extra params. |
|
| User timezone. |
|
| Required. User login. |
|
| Required. User password. |
|
| User email. |
|
| Required. User email. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| User email. |
|
| User status. One of 'active', 'blocked'. |
|
| User name. |
|
| User access type. One of 'full', 'read_only'. |
|
| User extra params. |
|
| User timezone. |
|
| User password. |
|
| User email. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...