The call of the webhook on the queue occurs when a certain event (event) happens after which a selected, created earlier scheme (flow) is called.
Event | Description | A queue type where is used | Fields that are transferred | ||
---|---|---|---|---|---|
Field | Type | Description | |||
Joined | a subscriber has entered the queue | all queues:
|
| string | channel (chat/call/task) |
attempt_id | integer | dialer attempt identifier | |||
destination | string | call destination number | |||
use_processing | boolen | post-processing is enabled | |||
agent_channel_id | string | agent session identifier (a call ID for the agent required to use API) | |||
member_channel_id | string | subscriber session identifier (a call ID for the subscriber required to use API) | |||
+ все переменные, которые передаются с абонентом и в очереди | |||||
Answered | an agent has answered the call |
|
| string | channel (chat/call/task) |
attempt_id | integer | dialer attempt identifier | |||
destination | string | call destination number | |||
use_processing | boolen | post-processing is enabled | |||
agent_channel_id | string | agent session identifier (a call ID for the agent required to use API) | |||
member_channel_id | string | subscriber session identifier (a call ID for the subscriber required to use API) | |||
agent_name | string | agent name | |||
agent_id | integer | agent identifier | |||
user_id | integer | user identifier | |||
agent_extension | string | agent extension number | |||
member_name | string | subscriber name | |||
member_id | integer | subscriber identifier | |||
cc_attempt_seq | integer | attempt number | |||
call_bill_sec | number | duration of the subscriber conversation - from the moment of answering till the current moment, or the end of the call | |||
call_duration | number | general call time - call duration from the beginning of dialing till the current moment, or the end of the call (post-processing is not taken into account) | |||
amd_result | string | automatic detection (AMD) result - HUMAN/MASHINE | |||
call_voice_sec | number | the duration of the subscriber’s conversation with the agent - from the beginning of the subscriber’s connection with the agent till the end of the call | |||
+ все переменные, которые передаются с абонентом и в очереди | |||||
Offering | на оператора распределился звонок | all queues:
|
| string | channel (chat/call/task) |
attempt_id | integer | dialer attempt identifier | |||
destination | string | call destination number | |||
use_processing | boolen | post-processing is enabled | |||
agent_channel_id | string | agent session identifier (a call ID for the agent required to use API) | |||
member_channel_id | string | subscriber session identifier (a call ID for the subscriber required to use API) | |||
agent_name | string | agent name | |||
agent_id | integer | agent identifier | |||
user_id | integer | user identifier | |||
agent_extension | string | agent extension number | |||
member_name | string | subscriber name | |||
member_id | integer | subscriber identifier | |||
cc_attempt_seq | integer | attempt number | |||
call_bill_sec | number | duration of the subscriber conversation - from the moment of answering till the current moment, or the end of the call | |||
call_duration | number | general call time - call duration from the beginning of dialing till the current moment, or the end of the call (post-processing is not taken into account) | |||
amd_result | string | automatic detection (AMD) result - HUMAN/MASHINE | |||
call_voice_sec | number | the duration of the subscriber’s conversation with the agent - from the beginning of the subscriber’s connection with the agent till the end of the call | |||
+ все переменные, которые передаются с абонентом и в очереди | |||||
Bridged | произошло соединение оператора с абонентом | all queues:
|
| string | channel (chat/call/task) |
attempt_id | integer | dialer attempt identifier | |||
destination | string | call destination number | |||
use_processing | boolen | post-processing is enabled | |||
agent_channel_id | string | agent session identifier (a call ID for the agent required to use API) | |||
member_channel_id | string | subscriber session identifier (a call ID for the subscriber required to use API) | |||
agent_name | string | agent name | |||
agent_id | integer | agent identifier | |||
user_id | integer | user identifier | |||
agent_extension | string | agent extension number | |||
member_name | string | subscriber name | |||
member_id | integer | subscriber identifier | |||
cc_attempt_seq | integer | attempt number | |||
call_bill_sec | number | duration of the subscriber conversation - from the moment of answering till the current moment, or the end of the call | |||
call_duration | number | general call time - call duration from the beginning of dialing till the current moment, or the end of the call (post-processing is not taken into account) | |||
amd_result | string | automatic detection (AMD) result - HUMAN/MASHINE | |||
call_voice_sec | number | the duration of the subscriber’s conversation with the agent - from the beginning of the subscriber’s connection with the agent till the end of the call | |||
+ все переменные, которые передаются с абонентом и в очереди | |||||
Missed | оператор не ответил на звонок | queues with agent participation:
|
| string | channel (chat/call/task) |
attempt_id | integer | dialer attempt identifier | |||
destination | string | call destination number | |||
use_processing | boolen | post-processing is enabled | |||
agent_channel_id | string | agent session identifier (a call ID for the agent required to use API) | |||
member_channel_id | string | subscriber session identifier (a call ID for the subscriber required to use API) | |||
agent_name | string | agent name | |||
agent_id | integer | agent identifier | |||
user_id | integer | user identifier | |||
agent_extension | string | agent extension number | |||
member_name | string | subscriber name | |||
member_id | integer | subscriber identifier | |||
cc_attempt_seq | integer | attempt number | |||
call_bill_sec | number | duration of the subscriber conversation - from the moment of answering till the current moment, or the end of the call | |||
call_duration | number | general call time - call duration from the beginning of dialing till the current moment, or the end of the call (post-processing is not taken into account) | |||
amd_result | string | automatic detection (AMD) result - HUMAN/MASHINE | |||
+ все переменные, которые передаются с абонентом и в очереди | |||||
Leaving | a subcriber has left the queue | all queues:
|
| string | channel (chat/call/task) |
attempt_id | integer | dialer attempt identifier | |||
destination | string | call destination number | |||
use_processing | boolen | post-processing is enabled | |||
agent_channel_id | string | agent session identifier (a call ID for the agent required to use API) | |||
member_channel_id | string | subscriber session identifier (a call ID for the subscriber required to use API) | |||
agent_name | string | agent name | |||
agent_id | integer | agent identifier | |||
user_id | integer | user identifier | |||
agent_extension | string | agent extension number | |||
member_name | string | subscriber name | |||
member_id | integer | subscriber identifier | |||
cc_attempt_seq | integer | attempt number | |||
cc_result | string | call result (success/cancel/abandoned) | |||
call_bill_sec | number | duration of the subscriber conversation - from the moment of answering till the current moment, or the end of the call | |||
call_duration | number | general call time - call duration from the beginning of dialing till the current moment, or the end of the call (post-processing is not taken into account) | |||
call_cause | string | call ending reason (here you can view the variants of possible causes) | |||
call_sip_code | number | call termination code (here you can view possible variants, in the SIP answer column) | |||
amd_result | string | automatic detection (AMD) result - HUMAN/MASHINE | |||
call_voice_sec | number | the duration of the subscriber’s conversation with the agent - from the beginning of the subscriber’s connection with the agent till the end of the call | |||
+ все переменные, которые передаются с абонентом и в очереди | |||||
Processing | оператор вошел в статус постобработки | queues with agent participation:
|
| string | channel (chat/call/task) |
attempt_id | integer | dialer attempt identifier | |||
destination | string | call destination number | |||
use_processing | boolen | post-processing is enabled | |||
agent_channel_id | string | agent session identifier (a call ID for the agent required to use API) | |||
member_channel_id | string | subscriber session identifier (a call ID for the subscriber required to use API) | |||
agent_name | string | agent name | |||
agent_id | integer | agent identifier | |||
user_id | integer | user identifier | |||
agent_extension | string | agent extension number | |||
member_name | string | subscriber name | |||
member_id | integer | subscriber identifier | |||
cc_attempt_seq | integer | attempt number | |||
call_bill_sec | number | duration of the subscriber conversation - from the moment of answering till the current moment, or the end of the call | |||
call_duration | number | general call time - call duration from the beginning of dialing till the current moment, or the end of the call (post-processing is not taken into account) | |||
call_cause | string | call ending reason (here you can view the variants of possible causes) | |||
call_sip_code | number | call termination code (here you can view possible variants, in the SIP answer column) | |||
amd_result | string | automatic detection (AMD) result - HUMAN/MASHINE | |||
call_voice_sec | number | the duration of the subscriber’s conversation with the agent - from the beginning of the subscriber’s connection with the agent till the end of the call | |||
+ все переменные, которые передаются с абонентом и в очереди | |||||
Active | аналогично, что и Answered |
Настройка веб-хуков на очереди осуществляется в админ-панели на вкладке Hooks в разделе Queues.
Для добавления хука нужно нажать кнопку
0 Comments