Solved Call journaling CRM Template

Status
Not open for further replies.

JRodriguez0105

Platinum Distributor
Basic Certified
Joined
Dec 15, 2021
Messages
18
Reaction score
3
Buen dia equipo de 3CX,

Tenemos una integración que estamos realizando con nuestro CRM, pero tenemos un inconveniente con el call journaling, en el CRM template generator pusimos el api para que nos haga los post 3CX de las llamadas, pero no se estan generando, no sabemos porque o que puede estar pasando del porque no entrega reportes, pensamos que era porque no estaba creado el usuario que estabamos llamando de salida, pero si estaba creado, nos aseguramos que el numero coincidiera y lo reconoce y nos da un contact url para abrir la info del cliente, pero no tenemos el reporte de las llamadas, capturamos las api a un webhook y nunca llega nada.

Pongo unas fotos y un support info file a ver si hay algo que nos puedan ayudar para saber que hace falta.
 

Attachments

This seems to be limited to the sip trunk. Try the inbound parameters settings like below example and check the behavior:
1712722576281.png
 
Ok Theodoros, I'm gonna try this tomorrow, and I will let you know what happens, in case if this doesn't works, what else can I try?
 
There seems to be an difference on the caller id received so most probably you need to check this first.
 
I take it, thanks, I will let you know how its going
 
Let me know the outcome
 
Theodoros, I was trying your recommendation, but it didn't work, I received a message in the 3cx SystemService log that makes me think that something is not working and that it is not on the 3CX side but rather on the CRM side:
2024/04/11 10:22:42.052|13695|0005|Verb|CRM: Not processed. Number=3004756981804745, connection=102, state=Ringing
2024/04/11 10:22:42.052|13695|0005|Verb|CRM: Add to processing. Number=3004756981804745, connection=102, state=Ringing
2024/04/11 10:22:42.052|13695|0005|Info|CRM: ProcessActiveConnections(). Attached entries to connection: 222
2024/04/11 10:22:42.052|13695|0005|Verb|CRM: LocalMatches=222. Number=3004756981804745, connection=102, state=Ringing
2024/04/11 10:22:42.052|13695|0005|Info|CRM: Synchronize(...) called
2024/04/11 10:22:42.054|13695|0019|Info|CRM: maxConcurrency=4
2024/04/11 10:22:42.054|13695|0019|Info|CRM: making request to CRM. Number=3004756981804745
2024/04/11 10:22:42.054|13695|0019|Trac|CRM: Obtaining scenario entity order for entity 'id'
2024/04/11 10:22:42.054|13695|0019|Trac|CRM: Ordering configuration not found, using scenario entity order 0 for entity 'id'
2024/04/11 10:22:42.054|13695|0019|Verb|CRM: Processing scenario 'Default'.
2024/04/11 10:22:42.054|13695|0019|Verb|CRM: Creating new HttpClient for Basic authentication
2024/04/11 10:22:42.054|13695|0019|Verb|CRM: Performing GET request 'https://34f2-2800-300-8391-8e50-704...est/clientes3cx/search?number=004756981804745'.
2024/04/11 10:22:42.054|13695|0019|Info|[System.Net.Http.HttpClient.Default.LogicalHandler] Start processing HTTP request GET https://34f2-2800-300-8391-8e50-704...est/clientes3cx/search?number=004756981804745
2024/04/11 10:22:42.054|13695|0019|Info|[System.Net.Http.HttpClient.Default.ClientHandler] Sending HTTP request GET https://34f2-2800-300-8391-8e50-704...est/clientes3cx/search?number=004756981804745
2024/04/11 10:22:44.438|13695|0019|Info|[System.Net.Http.HttpClient.Default.ClientHandler] Received HTTP response headers after 2383.8481ms - 200
2024/04/11 10:22:44.438|13695|0019|Info|[System.Net.Http.HttpClient.Default.LogicalHandler] End processing HTTP request after 2383.9784ms - 200
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: The response is: '{"id":"1486010","rut":null,"nombres":"New 1693940484538","apellidos":"3CX Contact [Number] 1693940484538","mailPersonal":null,"mailCorporativo":null,"email":null,"telPersonal":"004756981804745","telCorporativo":"","phone":"004756981804745","entityId":"1486010","number":"004756981804745","contactUrl":"https://34f2-2800-300-8391-8e50-704...app/dinside/iniciar/llamadaInbound3cx/1486010"}'
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: Filtered variables for matching:
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: 'Email' = ''
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: 'PhoneBusiness' = ''
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: 'LastName' = '3CX Contact [Number] 1693940484538'
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: 'ContactUrl' = 'https://34f2-2800-300-8391-8e50-704...app/dinside/iniciar/llamadaInbound3cx/1486010'
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: 'ContactID' = '1486010'
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: 'FirstName' = 'New 1693940484538'
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: 'PhoneOther' = '004756981804745'
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: Processing scenario 'CreateContactRecord'.
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: Creating new HttpClient for Basic authentication
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: Skipping request...
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: No matchings found.
2024/04/11 10:22:44.438|13695|0019|Verb|CRM: Removed from processing. Number=3004756981804745
2024/04/11 10:22:44.438|13695|0019|Info|CRM: processing of 3004756981804745 has been finished


So with this what I think is that for example I can't get it to send the call record and I don't know why this is happening.
 

Attachments

I just tested this same thing in our base center, where we have had Zoho, salesforce in tests and sent logs without problems, the trunks work fine, and the same thing happens, I attach the support info file
 

Attachments

2024/04/11 10:22:42.054|13695|0019|Info|CRM: making request to CRM. Number=3004756981804745
The issue is here, as you can see the number comes with a different format. If all inbound calls are coming with this format you might need to consider the caller id reformatting to resolve this issue.
 
Theodoros, you are the man, I was trying this all day with another supplier and it worked, I tried it from the beginning with it and it worked, I found what you say, changes the number, but I saw no solution, of course, reformatting the number is the solution, Thanks Theodoros
 
Did you resolved with the reformatting?
 
Yeah, sorry, my keyboard translate all the message and then cut the message and make click in post.
 
No worries, i'm glad this is resolved ;)
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,973
Messages
590,075
Members
164,895
Latest member
jasonkkrause