Add Contact problem

Status
Not open for further replies.

MartinaP

Titanium Partner
Joined
Mar 8, 2022
Messages
41
Reaction score
7
I have a custom CRM, When 3cx doesn't find the number in the CRM the json has the fields null.
Tested everything with the CRM template wizard and it creates the new contact correctly, but it doesn't from the 3cx . Why? what am I doing wrong?

This is the answer from CRM

2023/12/06 16:51:47.858|1665|0037|Info|[System.Net.Http.HttpClient.Default.ClientHandler] Received HTTP response headers after 8.7531ms - 200
2023/12/06 16:51:47.858|1665|0037|Info|[System.Net.Http.HttpClient.Default.LogicalHandler] End processing HTTP request after 8.9583ms - 200
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: The response is: '{"contact":[[{"firstName":"null","lastName":"null","mobilePhone":"null","id":"null","businessPhone":"null","email":"null"}]]}'
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: Filtered variables for matching:
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: 'PhoneMobile' = 'null'
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: 'LastName' = 'null'
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: 'Email' = 'null'
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: 'FirstName' = 'null'
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: 'ContactID' = 'null'
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: Result returned includes invalid PhoneMobile field : 'null'. PhoneMobile is set to blank.
2023/12/06 16:51:47.858|1665|0037|Verb|CRM: Removed from processing. Number=xxxxxxx
2023/12/06 16:51:47.858|1665|0037|Info|CRM: processing of 3348078747 has been finished
2023/12/06 16:51:47.966|1665|0005|Verb|Enqueue Inserted.CONNECTION.21

Why in wizard works and create Contact and in 3cx pbx no?
I remember it worked

Martina
 
The CRM Tool contains the old CRM engine for debugging purposes. This has been changed in 3CX v18 U8, and contacts are not created automatically anymore, you need to trigger this contact creation from the Web Client.
 
Thank you
 
  • Like
Reactions: edossantos
Status
Not open for further replies.