Problem with CRM integration

Status
Not open for further replies.

PabloGesplanet

Forum User
Joined
Sep 28, 2020
Messages
3
Reaction score
0
Buenas,

He hecho todo tipo de pruebas con el generador de plantillas. Lo último que he hecho a sido una plantilla con una llamada a la que le paso todos los parámetros posibles que me permite la plantilla.

La siguiente es la respuesta que me devuelve el CRM con los datos que a su vez le da la centralita al hacer una llamada:

{
"Agent":",
"CallDirection":Inbound,
"CallEndTimeLocal":,
"CallEndTimeUTC":,
"CallStartTimeLocal":,
"CallStartTimeUTC":,
"CallType":,
"ContactId":,
"ContactUrl":,
"DateTime":,
"DestinationEmail":,
"Duration":,
"DurationTimespan":,
"endCall":18:00:00,
"EntityId":,
"FirstName":,
"FoundRecordCount":0,
"InboundCallText":[DateTime]: Answered incoming call from [Number] to [Agent] ([Duration]),
"MissedCallText":[DateTime]: Missed call from [Number] to [Agent],
"NotAnsweredOutboundCallText":[DateTime]: Unanswered outgoing call from [Agent] to [Number],
"Number": (Numero de teléfono),
"OutboundCallText":[DateTime]: Answered outgoing call from [Agent] to [Number] ([Duration]),
"PhoneBusiness":,
"Query":,
"RedirectUri":,
"ReportCallEnabled":True,
"startCall":09:00:00,
"State":,
"Subject":3CX PhoneSystem Call"
}

(Ahora simplemente he sustituido el número de teléfono por privacidad del cliente).

Pero no soy capaz de hacer una plantilla que me mande ni el "Agent", ni la hora de inicio o de fin de la llamada, etc...
Ya no sé que mas hacer.

Un saludo.
 
I'm reading it troguht PHP, because i need to pass it into our database.

How do i perform a Call journaling?? I set the Url in the 3CX template, but i got no response in the .phptemplate.PNG

search.php is the only .php that is being called when somebody call us.search php.PNG

I dont know how to get those variables.


Thanks in advance
 
When you receive a call, the contact lookup scenario will be executed (search.php in your case). There you only have the [Number] variable. Anything else will be empty.

The Call Journaling scenario is invoked when the call ends, and only when the contact lookup scenario returned a matched contact.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,324
Messages
591,897
Members
165,475
Latest member
lastshadow