- 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

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
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

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