Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

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. 

EventDescriptionA queue type where is usedFields that are transferred
FieldTypeDescription

Joined

a subscriber has entered the queue

all queues:

  • offline queue
  • inbound queue
  • outbound IVR
  • preview dialer
  • progressive dialer
  • predictive dialer
  • chat inbound queue
  • task queue

channel

stringchannel (chat/call/task)
attempt_idintegerdialer attempt identifier
destinationstringcall destination number
use_processingboolenpost-processing is enabled 
agent_channel_idstringagent session identifier (a call ID for the agent required to use API)
member_channel_idstringsubscriber session identifier (a call ID for the subscriber required to use API)
+ все переменные, которые передаются с абонентом и в очереди

Answered

an agent has answered the call
  • preview dialer
  • offline queue

channel

stringchannel (chat/call/task)
attempt_idintegerdialer attempt identifier
destinationstringcall destination number
use_processingboolenpost-processing is enabled 
agent_channel_idstringagent session identifier (a call ID for the agent required to use API)
member_channel_idstringsubscriber session identifier (a call ID for the subscriber required to use API)
agent_namestringagent name
agent_idintegeragent identifier
user_idintegeruser identifier
agent_extensionstringagent extension number
member_namestringsubscriber name
member_idintegersubscriber identifier
cc_attempt_seqintegerattempt number
call_bill_sec numberduration of the subscriber conversation - from the moment of answering till the current moment, or to the end of the call
call_duration numbergeneral call time - call duration from the beginning of dialing till the current moment, or to the end of the call (post-processing is not taken into account)
amd_result  stringautomatic detection (AMD) result - HUMAN/MASHINE
call_voice_sec  numberвремя разговора абонента с оператором - от начала соединения абонента с оператором, до окончания звонка
+ все переменные, которые передаются с абонентом и в очереди

Offering

на оператора распределился звонок

все очереди:

  • offline queue
  • inbound queue
  • outbound IVR
  • preview dialer
  • progressive dialer
  • predictive dialer
  • chat inbound queue
  • task queue

channel

stringchannel (chat/call/task)
attempt_idintegerdialer attempt identifier
destinationstringcall destination number
use_processingboolenpost-processing is enabled 
agent_channel_idstringagent session identifier (a call ID for the agent required to use API)
member_channel_idstringsubscriber session identifier (a call ID for the subscriber required to use API)
agent_namestringagent name
agent_idintegeragent identifier
user_idintegeruser identifier
agent_extensionstringagent extension number
member_namestringsubscriber name
member_idintegersubscriber identifier
cc_attempt_seqintegerattempt number
call_bill_sec numberduration of the subscriber conversation - from the moment of answering till the current moment, or the end of the call
call_duration numbergeneral call time - call duration from the beginning of dialing till the current moment, or to the end of the call (post-processing is not taken into account)
amd_result  stringautomatic detection (AMD) result - HUMAN/MASHINE
call_voice_sec  numberвремя разговора абонента с оператором - от начала соединения абонента с оператором, до окончания звонка
+ все переменные, которые передаются с абонентом и в очереди

Bridged

произошло соединение оператора с абонентом

все очереди:

  • offline queue
  • inbound queue
  • outbound IVR
  • preview dialer
  • progressive dialer
  • predictive dialer
  • chat inbound queue
  • task queue

channel

stringchannel (chat/call/task)
attempt_idintegerdialer attempt identifier
destinationstringcall destination number
use_processingboolenpost-processing is enabled  
agent_channel_idstringagent session identifier (a call ID for the agent required to use API)
member_channel_idstringsubscriber session identifier (a call ID for the subscriber required to use API)
agent_namestringagent name
agent_idintegeragent identifier
user_idintegeruser identifier
agent_extensionstringagent extension number
member_namestringsubscriber name
member_idintegersubscriber identifier
cc_attempt_seqintegerattempt number
call_bill_sec numberduration of the subscriber conversation - from the moment of answering till the current moment, or to the end of the call
call_duration numbergeneral call time - call duration from the beginning of dialing till the current moment, or to the end of the call (post-processing is not taken into account)
amd_result  stringautomatic detection (AMD) result - HUMAN/MASHINE
call_voice_sec  numberвремя разговора абонента с оператором - от начала соединения абонента с оператором, до окончания звонка
+ все переменные, которые передаются с абонентом и в очереди

Missed 

оператор не ответил на звонок

очереди с участием оператора:

  • offline queue
  • inbound queue
  • preview dialer
  • progressive dialer
  • predictive dialer
  • chat inbound queue
  • task queue

channel

stringchannel (chat/call/task)
attempt_idintegerdialer attempt identifier
destinationstringcall destination number
use_processingboolenpost-processing is enabled 
agent_channel_idstringagent session identifier (a call ID for the agent required to use API)
member_channel_idstringsubscriber session identifier (a call ID for the subscriber required to use API)
agent_namestringagent name
agent_idintegeragent identifier
user_idintegeruser identifier
agent_extensionstringagent extension number
member_namestringsubscriber name
member_idintegersubscriber identifier
cc_attempt_seqintegerattempt number
call_bill_sec numberduration of the subscriber conversation - from the moment of answering till the current moment, or to the end of the call
call_duration numbergeneral call time - call duration from the beginning of dialing till the current moment, or to the end of the call (post-processing is not taken into account)
amd_result  stringautomatic detection (AMD) result - HUMAN/MASHINE
+ все переменные, которые передаются с абонентом и в очереди

Leaving

абонент покинул очередь

все очереди:

  • offline queue
  • inbound queue
  • outbound IVR
  • preview dialer
  • progressive dialer
  • predictive dialer
  • chat inbound queue
  • task queue

channel

stringchannel (chat/call/task)
attempt_idintegerdialer attempt identifier
destinationstringcall destination number
use_processingboolenpost-processing is enabled 
agent_channel_idstringagent session identifier (a call ID for the agent required to use API)
member_channel_idstringsubscriber session identifier (a call ID for the subscriber required to use API)
agent_namestringagent name
agent_idintegeragent identifier
user_idintegeruser identifier
agent_extensionstringagent extension number
member_namestringsubscriber name
member_idintegersubscriber identifier
cc_attempt_seqintegerattempt number
cc_resultstringрезультат звонка (sucess/cancel/abandoned)
call_bill_sec numberduration of the subscriber conversation - from the moment of answering till the current moment, or to the end of the call
call_duration numbergeneral call time - call duration from the beginning of dialing till the current moment, or to the end of the call (post-processing is not taken into account)
call_cause stringпричина окончания звонка (варианты возможных причин можно посмотреть здесь)
call_sip_codenumberкод окончания звонка (варианты  можно посмотреть здесь в колонке SIP ответ)
amd_result  stringautomatic detection (AMD) result - HUMAN/MASHINE
call_voice_sec  numberвремя разговора абонента с оператором - от начала соединения абонента с оператором, до окончания звонка
+ все переменные, которые передаются с абонентом и в очереди

Processing

оператор вошел в статус постобработки

очереди с участием оператора:

  • offline queue
  • inbound queue
  • preview dialer
  • progressive dialer
  • predictive dialer
  • chat inbound queue
  • task queue

channel

stringchannel (chat/call/task)
attempt_idintegerdialer attempt identifier
destinationstringcall destination number
use_processingboolenpost-processing is enabled 
agent_channel_idstringagent session identifier (a call ID for the agent required to use API)
member_channel_idstringsubscriber session identifier (a call ID for the subscriber required to use API)
agent_namestringagent name
agent_idintegeragent identifier
user_idintegeruser identifier
agent_extensionstringagent extension number
member_namestringsubscriber name
member_idintegersubscriber identifier
cc_attempt_seqintegerattempt number
call_bill_sec numberduration of the subscriber conversation - from the moment of answering till the current moment, or to the end of the call
call_duration numbergeneral call time - call duration from the beginning of dialing till the current moment, or to the end of the call (post-processing is not taken into account)
call_cause stringпричина окончания звонка (варианты возможных причин можно посмотреть здесь)
call_sip_codenumberкод окончания звонка (варианты  можно посмотреть здесь в колонке SIP ответ)
amd_result  stringautomatic detection (AMD) result - HUMAN/MASHINE
call_voice_sec  numberвремя разговора абонента с оператором - от начала соединения абонента с оператором, до окончания звонка
+ все переменные, которые передаются с абонентом и в очереди

Active

аналогично, что и Answered

Настройка веб-хуков на очереди осуществляется в админ-панели на вкладке Hooks в разделе Queues.

Для добавления хука нужно нажать кнопку 

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.