Error Insert in CDR Database

This error occurs to me sometimes when the call is hung up. The rest is saved normally. I expose a bad record and a good one

[Dec 6 19:47:19] ERROR[31348][C-00000045]: cdr_mysql.c:349 mysql_log: Failed to insert into database: (1292) Incorrect datetime value: ‘SIP/sip_lbascunan/961258985,160,wWTt’ for column ‘answer’ at row 1

Good Row
‘1575675020.46’, ‘1575675020.46’, ‘“343591171” <343591171>’, ‘343591171’, ‘101961258985’, ‘engine’, ‘SIP/asterisk-63-0000002e’, ‘SIP/opsmovil-0000002f’, ‘Hangup’, ‘’, ‘2019-12-06 20:30:20’, NULL, ‘2019-12-06 20:30:20’, ‘0’, ‘0’, ‘NO ANSWER’, ‘3’, ‘’, ‘’, ‘55’, ‘’

Bad Row
‘1575674496.30’, ‘1575674496.30’, ‘“SISTEMAS” <1084>’, ‘1084’, ‘90962108827’, ‘lbascunan’, ‘SIP/1084-0000001e’, ‘SIP/sip_lbascunan-0000001f’, ‘Dial’, ‘SIP/sip_lbascunan/962108827,160,wWTt’, ‘2019-12-06 20:21:36’, ‘SIP/sip_lbascunan/962108827,160,wWTt’, ‘2019-12-06 20:22:00’, ‘24’, ‘0’, ‘NO ANSWER’, ‘3’, ‘’, ‘’, ‘35’, ‘’

I had to change the Answer field from Varchar to Datetime so that I could save

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.