- Joined
- Dec 12, 2017
- Messages
- 11
- Reaction score
- 0
Hello,
we are having trouble getting mysql call journaling to work. The connection to the database is valid and working and the contact matching returns a contact with some fields.
Lookup SQL statement:
SELECT id as contactid, firstname, lastname, email, phonemobile FROM contacts WHERE phonemobile LIKE '%[Number]%'


So the connection is working and 3CX can see my database. However, call journaling SQL statement does not execute.
Call journaling SQL:
INSERT INTO calls (NUMBER, CALL_TYPE, AGENT, DURATION, TIME_SPAN, DATE_TIME) VALUES ('[Number]', '[CallType]','[Agent]', '[Duration]', '[DurationTimeSpan]', '[DateTime]')

I have tried enabling verbose logging and searching the logs for any useful information but there seems to be none. Enabling the the integration and calling the real phone does not seem to trigger the journaling, also I have tried everything from this thread and it didnt seem to fix the problem. The system is on v16. Thank you
we are having trouble getting mysql call journaling to work. The connection to the database is valid and working and the contact matching returns a contact with some fields.
Lookup SQL statement:
SELECT id as contactid, firstname, lastname, email, phonemobile FROM contacts WHERE phonemobile LIKE '%[Number]%'


So the connection is working and 3CX can see my database. However, call journaling SQL statement does not execute.
Call journaling SQL:
INSERT INTO calls (NUMBER, CALL_TYPE, AGENT, DURATION, TIME_SPAN, DATE_TIME) VALUES ('[Number]', '[CallType]','[Agent]', '[Duration]', '[DurationTimeSpan]', '[DateTime]')
I have tried enabling verbose logging and searching the logs for any useful information but there seems to be none. Enabling the the integration and calling the real phone does not seem to trigger the journaling, also I have tried everything from this thread and it didnt seem to fix the problem. The system is on v16. Thank you