Hello,
We have intermittent issue, when we call it disconnect and if try again it goes.
so I logged into asterisk box and found when this below error comes then calls drops otherwise goes well.
can someone tell me what could be the issue ?
[Jun 12 12:04:19] WARNING[3862]: res_odbc.c:658 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to mysql [mysql]…
[Jun 12 12:04:19] WARNING[3862]: res_odbc.c:762 ast_odbc_sanity_check: Connection is down attempting to reconnect…
[Jun 12 12:04:19] NOTICE[3862]: res_odbc.c:1531 odbc_obj_connect: Connecting mysql
[Jun 12 12:04:19] NOTICE[3862]: res_odbc.c:1563 odbc_obj_connect: res_odbc: Connected to mysql [mysql]
[Jun 12 12:04:19] WARNING[3862]: res_odbc.c:646 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: 42S22: [MySQL][ODBC 5.1 Driver][mysqld-5.0.95]Unknown column ‘dialNumber’ in ‘where clause’ (84)
[Jun 12 12:04:19] WARNING[3862]: res_odbc.c:658 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to mysql [mysql]…
[Jun 12 12:04:19] WARNING[3862]: res_odbc.c:762 ast_odbc_sanity_check: Connection is down attempting to reconnect…
[Jun 12 12:04:19] NOTICE[3862]: res_odbc.c:1531 odbc_obj_connect: Connecting mysql
[Jun 12 12:04:19] NOTICE[3862]: res_odbc.c:1563 odbc_obj_connect: res_odbc: Connected to mysql [mysql]
[Jun 12 12:04:19] WARNING[3862]: cel_odbc.c:727 odbc_log: Insert failed on ‘mysql:cel’. CEL failed: INSERT INTO cel (eventtype,eventtime,userdeftype,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,peeraccount,uniqueid,linkedid,userfield,peer) VALUES (‘HANGUP’,{ ts ‘2018-06-12 12:04:19’ },’’,’’,’’,’’,’’,‘0501481420’,‘0501481420’,‘Outgoing-manual’,‘Console/dsp’,’’,’’,3,’’,’’,‘1528805029.1467’,‘1528805029.1467’,’’,’’)
== Manager ‘lite’ logged off from 127.0.0.1