#0 0x0017a3df in SQLGetDiagFieldA () from /usr/lib/libodbc.so.1 #1 0x0017b22d in SQLGetDiagRec () from /usr/lib/libodbc.so.1 #2 0x001cc246 in ast_odbc_prepare_and_execute (obj=0x8794598, prepare_cb=0xb770b8 , data=0xb77ee2f8) at res_odbc.c:104 #3 0x00b77855 in acf_odbc_write (chan=0x88562e8, cmd=0xb77eeb90 "RT_FAIL_SQL", s=0xb77eeb9c "", value=0xb77eec1e "1") at func_odbc.c:188 #4 0x080d4351 in ast_func_write (chan=0x88562e8, function=0xb77eeb90 "RT_FAIL_SQL", value=0xb77eec1e "1") at pbx.c:1569 #5 0x080e01ce in pbx_builtin_setvar_helper (chan=0x88562e8, name=0xb77eec10 "RT_FAIL_SQL()", value=0xb77eec1e "1") at pbx.c:5870 #6 0x080e0665 in pbx_builtin_setvar (chan=0x88562e8, data=0xb77f0e08) at pbx.c:5943 #7 0x080d12fa in pbx_exec (c=0x88562e8, app=0x877c1b0, data=0xb77f0e08) at pbx.c:537 #8 0x080d506b in pbx_extension_helper (c=0x88562e8, con=0x0, context=0x8856528 "bugfinder", exten=0x8856578 "s", priority=1, label=0x0, callerid=0x87a9930 "", action=E_SPAWN) at pbx.c:1863 #9 0x080d6400 in ast_spawn_extension (c=0x88562e8, context=0x8856528 "bugfinder", exten=0x8856578 "s", priority=1, callerid=0x87a9930 "") at pbx.c:2332 #10 0x080d6846 in __ast_pbx_run (c=0x88562e8) at pbx.c:2421 #11 0x080d77fe in ast_pbx_run (c=0x88562e8) at pbx.c:2678 #12 0x080dd62c in ast_pbx_outgoing_exten (type=0x87b2a78 "Console", format=72, data=0x87b2b78, timeout=30000, context=0x87b2f78 "bugfinder", exten=0x87b2e78 "s", priority=1, reason=0xb77f332c, sync=2, cid_num=0x87b307c "", cid_name=0x87b317c "", vars=0x0, account=0x87b327c "", channel=0x0) at pbx.c:5033 #13 0x00e133af in attempt_thread (data=0x87b2960) at pbx_spool.c:353 #14 0x0811b4c5 in dummy_start (data=0x883a8c0) at utils.c:856 #15 0x0071746b in start_thread () from /lib/libpthread.so.0 #16 0x0066edbe in clone () from /lib/libc.so.6