CallGear
Configuración de la integración con CallGear PBX virtual
1. Vaya a Account management / Integrations (disponible para el propietario de la cuenta o el administrador). Haga clic en Virtual PBX:
En la lista que aparece, haga clic en el botón Activar.
2. A continuación se abrirá una ventana; introduzca su login y contraseña de CallGear, y el número virtual que desea utilizar para las llamadas salientes:
3. Configure los números de extensión de los empleados.
4. En su cuenta de CallGear, asegúrese de que las siguientes opciones estén activadas para que la integración funcione: HTTP notifications, Call API Basic Set, Data API.
5. Permita el acceso al Call API y al Data API desde cualquier dirección IP en su cuenta de CallGear:
6. Copie la Notification URL desde la configuración de la integración en Planfix:
Configure las siguientes notificaciones en la sección Notifications de su cuenta de CallGear.
1. Inbound call on a virtual phone number
{
"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. Call finished
{
"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. Call recording completed
{
"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. Waiting for the answer
{
"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}},
"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. Outbound call
{
"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. Talk started
{
"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}},
"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. Talk finished
{
"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. Lost call
{
"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}}
}