Интеграция с UIS — различия между версиями

Материал из ПланФикс
Перейти к: навигация, поиск
Строка 24: Строка 24:
 
Где имя_аккаунта - название аккаунта в ПланФикс. (например https://x18.planfix.ru/tel/uiscom )
 
Где имя_аккаунта - название аккаунта в ПланФикс. (например https://x18.planfix.ru/tel/uiscom )
 
   
 
   
<nowiki>
 
 
1. Входящий звонок на виртуальный номер
 
1. Входящий звонок на виртуальный номер
 
{   
 
{   
Строка 162: Строка 161:
 
}
 
}
 
}}
 
}}
</nowiki>
 
  
 
== Перейти ==
 
== Перейти ==
 
*[[Виртуальные АТС]]
 
*[[Виртуальные АТС]]
 
*[[Интеграции]]
 
*[[Интеграции]]

Версия 13:52, 12 октября 2017

Для настройки интеграции с виртуальной АТС UIS:

1. Перейдите в раздел Управление аккаунтом / Интеграции (доступен владельцу или администратору аккаунта). Нажмите на Интеграция с виртуальной АТС:

dMSlpn.jpg

и в появившемся списке нажмите Активировать напротив UIS.

2. В открывшемся окне введите логин, пароль от личного кабинета UIS, а также принадлежащий вам виртуальный номер, который будет использоваться при исходящих вызовах:

kWDmrT.jpg

3. В личном кабинете UIS для работы интеграции должны быть активированы тарифные опции "Уведомления" и "Call API Базовый набор"

4. В личном кабинете UIS разрешите доступ к Call API с любых IP-адресов:

2arL8M.jpg

5. Обратитесь в поддержку UIS, чтобы вам прописали необходимые для интеграции с ПланФиксом уведомления, указав им адрес своего аккаунта в ПланФиксе.

Или же пропишите их самостоятельно в разделе "Сервисы и статистика - Уведомления"

Все уведомления отправляются методом POST на адрес https://имя_аккаунта.planfix.ru/tel/uiscom Где имя_аккаунта - название аккаунта в ПланФикс. (например https://x18.planfix.ru/tel/uiscom )

1. Входящий звонок на виртуальный номер {

 "notification_mnemonic":Шаблон:Notification mnemonic,
 "notification_name":Шаблон:Notification name,
 "virtual_phone_number":Шаблон:Virtual phone number,
 "notification_time":Шаблон:Notification time,
 "scenario_name": Шаблон:Scenario name,
   "contact_phone_number":Шаблон:Contact phone number,
   "communication_number":Шаблон:Communication number,
   "contact_id": Шаблон:Contact id,
   "contact_full_name": Шаблон:Contact full name,
 "call_session_id":Шаблон:Call session id

}

2. Завершение звонка {

 "notification_name":Шаблон:Notification name,
 "notification_mnemonic":Шаблон:Notification mnemonic,
 "virtual_phone_number":Шаблон:Virtual phone number,
 "notification_time":Шаблон:Notification time,
 "external_id": Шаблон:External id,
   "contact_phone_number":Шаблон:Contact phone number,
   "communication_number":Шаблон:Communication number,
   "employee_full_name": Шаблон:Employee full name,
   "employee_id": Шаблон:Employee id,
   "call_source": Шаблон:Call source,
   "direction": Шаблон:Direction,
   "call_session_id":Шаблон:Call session id,
   "scenario_name": Шаблон:Scenario name,
   "talk_time_duration": Шаблон:Talk time duration,
   "total_time_duration": Шаблон:Total time duration,
   "wait_time_duration": Шаблон:Wait time duration,
   "tag_names": Шаблон:Tag names

}

3. Записанный разговор {

 "notification_name": Шаблон:Notification name,
 "notification_mnemonic":Шаблон:Notification mnemonic,
 "virtual_phone_number": Шаблон:Virtual phone number,
 "notification_time": Шаблон:Notification time,
 "scenario_name": Шаблон:Scenario name,
   "contact_phone_number": Шаблон:Contact phone number,
   "communication_number": Шаблон:Communication number,
   "contact_id": Шаблон:Contact id,
   "contact_full_name": Шаблон:Contact full name,
 "call_session_id": Шаблон:Call session id,
   "employee_full_name": Шаблон:Employee full name,
   "employee_id": Шаблон:Employee id,
   "file_link": Шаблон:File link,
   "file_duration": Шаблон:File duration,
 "tag_ids": Шаблон:Tag ids,
 "tag_names": Шаблон:Tag names

}

4. Ожидание ответа {

 "notification_name":Шаблон:Notification name,
 "notification_mnemonic":Шаблон:Notification mnemonic,
 "notification_time":Шаблон:Notification time,
 "external_id": Шаблон:External id,
   "contact_phone_number":Шаблон:Contact phone number,
   "contact_id": Шаблон:Contact id,
   "employee_full_name": Шаблон:Employee full name,
   "employee_id": Шаблон:Employee id,
 "call_source": Шаблон:Call source,
 "call_session_id":Шаблон:Call session id,
 "direction": Шаблон:Direction,
 "leg_id": Шаблон:Leg id

}

5. Исходящий звонок {

 "notification_name": Шаблон:Notification name,
 "notification_mnemonic":Шаблон:Notification mnemonic,
 "virtual_phone_number": Шаблон:Virtual phone number,
 "notification_time": Шаблон:Notification time,
   "contact_phone_number":Шаблон:Contact phone number,
   "contact_id":Шаблон:Contact id,
   "contact_full_name":Шаблон:Contact full name,
 "call_session_id":Шаблон:Call session id,
   "employee_full_name":Шаблон:Employee full name,
   "employee_id":Шаблон:Employee id,
   "employee_phone_number":Шаблон:Employee phone number

}

6. Начало разговора {

 "notification_name":Шаблон:Notification name,
 "notification_mnemonic":Шаблон:Notification mnemonic,
 "notification_time":Шаблон:Notification time,
 "external_id": Шаблон:External id,
   "contact_phone_number":Шаблон:Contact phone number,
   "contact_id": Шаблон:Contact id,
   "employee_full_name": Шаблон:Employee full name,
   "employee_id": Шаблон:Employee id,
 "call_source": Шаблон:Call source,
 "call_session_id":Шаблон:Call session id,
 "direction": Шаблон:Direction,
 "leg_ids": Шаблон:Leg ids

}

7. Окончание разговора {

 "notification_name":Шаблон:Notification name,
 "notification_mnemonic":Шаблон:Notification mnemonic,
 "virtual_phone_number":Шаблон:Virtual phone number,
 "notification_time":Шаблон:Notification time,
 "external_id": Шаблон:External id,
   "contact_phone_number":Шаблон:Contact phone number,
   "communication_number":Шаблон:Communication number,
   "employee_full_name": Шаблон:Employee full name,
   "employee_id": Шаблон:Employee id,
   "call_source": Шаблон:Call source,
   "call_session_id":Шаблон:Call session id,
   "direction": Шаблон:Direction,
   "scenario_name": Шаблон:Scenario name,
   "talk_time_duration": Шаблон:Talk time duration,
 "leg_ids": Шаблон:Leg ids

}

8. Потерянный звонок {

 "notification_name":Шаблон:Notification name,
 "notification_mnemonic":Шаблон:Notification mnemonic,
 "virtual_phone_number":Шаблон:Virtual phone number,
 "notification_time":Шаблон:Notification time,
 "scenario_name": Шаблон:Scenario name,
 "wait_time_duration" : Шаблон:Wait time duration,
 "employee_ids":Шаблон:Employee ids,
   "contact_phone_number":Шаблон:Contact phone number,
   "communication_number":Шаблон:Communication number,
   "contact_id": Шаблон:Contact id,
   "contact_full_name":Шаблон:Contact full name,
 "call_session_id":Шаблон:Call session id

} }}

Перейти