Hi all,
I am having strange issue while my cdrs were working fine but now suddenly I receive this error and cdrs are not writing in to the pbx. I am using FreePBX 16.
[2024-11-19 12:07:35] WARNING[17364]: res_odbc.c:529 ast_odbc_print_errors: SQL Execute returned an error: 42S02: [MySQL][ODBC 5.2(w) Driver][mysqld-5.5.65-MariaDB]Table 'asteriskcdrdb.acdrunichan' doesn't exist
[2024-11-19 12:07:35] WARNING[17364]: res_odbc.c:424 ast_odbc_prepare_and_execute: SQL Execute error -1!
[2024-11-19 12:07:35] WARNING[17364]: cdr_adaptive_odbc.c:765 odbc_log: cdr_adaptive_odbc: Insert failed on 'asteriskcdrdb:cdr'. CDR failed: INSERT INTO cdr (calldate, clid, src, dst, dcontext, channel, dstchannel, lastapp, lastdata, duration, billsec, disposition, amaflags, accountcode, uniqueid, recordingfile, cnum, cnam, outbound_cnum, linkedid, peeraccount, sequence) VALUES ({ ts '2024-11-19 12:06:28' }, '"" <123456789>', '123456789', '123456789', 'from-internal', 'PJSIP/501-0000000a', 'SIP/VoipInnovations-00000008', 'Dial', 'SIP/VoipInnovations/123456789,300,Ttb(func-apply-sipheaders^s^1,(2))', 32, 0, 'FAILED', 3, 'Outbound', '1732046788.240', 'out-123456789-501-20241119-120628-1732046788.240.wav', '501', 'Mark Ladd', '123456789', '1732046788.240', 'Outbound', 230)