- Joined
- Oct 25, 2016
- Messages
- 40
- Reaction score
- 3
Hi everyone,
We had to reconfigure our SQL strings for v16 but apparently when a call comes in, and that the phone number is not yet known/added in the 3CX contacts, 3CX would not do a query using the SQL string setup in the CRM integration. Did a TEST using the Test button and here's the message that we got "CRM Integration is working OK but contact number does not exist. Check log for more info or try a different number."
Here's the SQL lookup statement that we're using "SELECT customer as firstname, contactlastname as lastname, mobile as phonemobile, businessphone as phonebusiness, homephone as phonehome, email1 as email, customername as companyname, telephone as phoneother FROM vw3CXConnection where mobile like '%[Number]%' or businessphone like '%[Number]%' or homephone like '%[Number]%' or telephone like '%[Number]%'"
Odd thing is that the results section of the TEST shows the customer details and phone number queried fine
Any help would be appreciated
Thanks
We had to reconfigure our SQL strings for v16 but apparently when a call comes in, and that the phone number is not yet known/added in the 3CX contacts, 3CX would not do a query using the SQL string setup in the CRM integration. Did a TEST using the Test button and here's the message that we got "CRM Integration is working OK but contact number does not exist. Check log for more info or try a different number."
Here's the SQL lookup statement that we're using "SELECT customer as firstname, contactlastname as lastname, mobile as phonemobile, businessphone as phonebusiness, homephone as phonehome, email1 as email, customername as companyname, telephone as phoneother FROM vw3CXConnection where mobile like '%[Number]%' or businessphone like '%[Number]%' or homephone like '%[Number]%' or telephone like '%[Number]%'"
Odd thing is that the results section of the TEST shows the customer details and phone number queried fine
Any help would be appreciated
Thanks