sql integration number not proper

Status
Not open for further replies.

kvinay

Forum User
Joined
Jan 10, 2020
Messages
3
Reaction score
0
Hello,
i am trying to add Lookup SQL Statement: using https://www.3cx.com/docs/sql-database-pbx-integration/ but when i test it convert my NUMBER into 6 digit
suppose i enter 9874563210 it gets converted into 563210

13974

this is my query
SELECT id as contactid, first_name as firstname, last_name as lastname, phone as phonebusiness FROM contacts WHERE phone = '[Number]'
do i need to do something else or my query is not correct ?
Thanks
 
You need to change the configuration from the 3CX Console > Advanced > Contacts > Options > Match exactly.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,324
Messages
591,897
Members
165,476
Latest member
awan05