...
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| Extension id, multiple possible. |
|
| Default: [] |
Resource registration
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
...
POST /extension/{extension_id}/agent/
...
Name | Type | Description |
---|---|---|
|
|
Resource call_mdl
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
PUT /extension/{extension_id}/current_calls/{call_api_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
...
fields
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. |
|
|
GET /extension/{extension_id}/incom_rule/
...
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 |
Name | Type | Description |
|
| Required. |
|
|
Resource cascade_number
|
| Required. |
...
PUT /extension/{extension_id}/incom_rule/order/
...
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 |
Name | Type | Description |
|
| Required. |
|
|
Resource cascade_number
|
| Required. |
GET /extension/{extension_id}/incom_rule/{rule_id
}
...
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}/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
...
fields
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/
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 id. |
GET /extension/{extension_id}/interval/
Get interval list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
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. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
PUT /extension/{extension_id}/interval/{interval_id
}
Get Update 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. |
Resource interval_condition
...
Name
...
Type
...
Description
...
start_datetime
...
string
...
start_dow
...
integer
...
Start day of week sun = 1, mon = 2, etc.
...
sched_skip_days
...
integer
...
Min: 1.
...
sched_start_date
...
string
...
Start datetime formatted as yyyy-mm-dd.
...
month
...
integer
...
end_dow
...
integer
...
End day of week sun = 1, mon = 2, etc.
...
sched_active_days
...
integer
...
Min: 1.
...
end_mday
...
integer
...
start_mday
...
integer
...
end_time
...
string
...
type
...
string
...
start_time
...
string
...
end_datetime
...
GET /extension/{extension_id}/interval/{interval_id
}
Get interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /extension/{extension_id}/interval/{interval_id
}
...
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. |
Resource voice_helper_rules
Name | Type | Description | |
---|---|---|---|
|
| Required. | |
|
| Required | Call interactive timout. |
|
| Id of sound to play record_digits. |
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. |
|
|
GET /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/
...
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 |
---|---|---|
|
| 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 | TypeDescription | |
---|---|---|
|
| Required. |
|
|
GET /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/{rule_id
}
...
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 |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: default |
|
| |
|
| Default: True |
|
| |
|
|
Resource context_model
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
...
POST /extension/{extension_id}/mail_notification/
...
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| |
|
| Default: [] |
Resource registration
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /extension/{extension_id}/registration/
...