#0 0x0017a3df in SQLGetDiagFieldA () from /usr/lib/libodbc.so.1 No symbol table info available. #1 0x0017b22d in SQLGetDiagRec () from /usr/lib/libodbc.so.1 No symbol table info available. #2 0x001cc246 in ast_odbc_prepare_and_execute (obj=0x8794598, prepare_cb=0xb770b8 , data=0xb77ee2f8) at res_odbc.c:104 res = -1 i = 0 attempt = 1 nativeerror = 7 numfields = 1 diagbytes = 77 state = "00000\000\205\b2\232" diagnostic = "Error while executing the query;\nERROR: invalid input syntax for integer: \"\"\000\025\b\001\000\000\000\210▒~▒\220;\177▒U▒\025\b▒▒\025\b\230▒~▒\220▒q\000▒▒~▒U▒q\000\024▒▒\000▒\223q\000▒▒~▒▒\234\021\b\234▒q\000\021▒\021\b@▒m\000\001\000\000\000\234\021\026\b\024▒▒\000\220;\177▒\220▒~▒▒▒~▒\220▒q\000\b▒~▒\023▒\021\b\234▒q\000(\b\000\000\220;\177▒\001\000\000\000▒▒~▒"... stmt = (SQLHSTMT) 0xb7b19f48 __PRETTY_FUNCTION__ = "ast_odbc_prepare_and_execute" #3 0x00b77855 in acf_odbc_write (chan=0x88562e8, cmd=0xb77eeb90 "RT_FAIL_SQL", s=0xb77eeb9c "", value=0xb77eec1e "1") at func_odbc.c:188 obj = (struct odbc_obj *) 0x8794598 query = (struct acf_odbc_query *) 0x88337e0 t = 0xb77edf90 "1" buf = "INSERT INTO extension(extension,extension_type) values ('test','')", '\0' varname = "VAL1\000\000\000\000\000\000\000▒▒▒▒" i = 1 bogus_chan = 0 values = {argc = 1, argv = 0xb77ee158, field = {0xb77edf90 "1", 0x0 }} args = {argc = 0, argv = 0xb77edfc4, field = {0x0 }} stmt = (SQLHSTMT) 0x815f7a3 rows = 0 __PRETTY_FUNCTION__ = "acf_odbc_write" #4 0x080d4351 in ast_func_write (chan=0x88562e8, function=0xb77eeb90 "RT_FAIL_SQL", value=0xb77eec1e "1") at pbx.c:1569 args = 0xb77eeb9c "" acfptr = (struct ast_custom_function *) 0x8830130 __PRETTY_FUNCTION__ = "ast_func_write" #5 0x080e01ce in pbx_builtin_setvar_helper (chan=0x88562e8, name=0xb77eec10 "RT_FAIL_SQL()", value=0xb77eec1e "1") at pbx.c:5870 function = 0xb77eeb90 "RT_FAIL_SQL" newvariable = (struct ast_var_t *) 0x1 headp = (struct varshead *) 0x7c nametail = 0xb77eec10 "RT_FAIL_SQL()" __PRETTY_FUNCTION__ = "pbx_builtin_setvar_helper" #6 0x080e0665 in pbx_builtin_setvar (chan=0x88562e8, data=0xb77f0e08) at pbx.c:5943 name = 0xb77eec10 "RT_FAIL_SQL()" value = 0xb77eec1e "1" mydata = 0xb77eec10 "RT_FAIL_SQL()" argc = 1 argv = {0xb77eec10 "RT_FAIL_SQL()", 0x0 } global = 0 x = 0 __PRETTY_FUNCTION__ = "pbx_builtin_setvar" #7 0x080d12fa in pbx_exec (c=0x88562e8, app=0x877c1b0, data=0xb77f0e08) at pbx.c:537 res = 8177 saved_c_appl = 0x0 saved_c_data = 0x0 #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 e = (struct ast_exten *) 0x88c9d00 app = (struct ast_app *) 0x877c1b0 res = 142291068 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x8856528 "bugfinder"} passdata = "RT_FAIL_SQL()=1", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #9 0x080d6400 in ast_spawn_extension (c=0x88562e8, context=0x8856528 "bugfinder", exten=0x8856578 "s", priority=1, callerid=0x87a9930 "") at pbx.c:2332 No locals. #10 0x080d6846 in __ast_pbx_run (c=0x88562e8) at pbx.c:2421 dst_exten = "\0302\177▒▒▒\b\bye\205\by.{\bO\000\000\000|0{\b▒▒m\000▒▒▒▒;\000\000\000 \000\000\000\005\000\000\000▒b\205\b\001\000\000\000▒\234\021\b\000\000\000\000\000\000\000\000▒▒m\000U▒q\000\220;\177▒▒\223q\000(1\177▒▒\234\021\b\234▒q\000\021▒\021\b81\177▒\001\000\000\000\234▒q\000\220;\177▒U▒\025\b▒▒\025\b(1\177▒\220▒q\000X1\177▒\023▒\021\b\234▒q\000(\b\000\000U▒\025\b\001\000\000\000H1\177▒\220;\177▒U▒\025\b▒▒\025\bX1\177▒\220▒q\000▒1\177▒K\031\r\b▒▒\027\bT▒\025\b\031\n\000\000▒\002\026\b"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #11 0x080d77fe in ast_pbx_run (c=0x88562e8) at pbx.c:2678 res = AST_PBX_SUCCESS #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 chan = (struct ast_channel *) 0x88562e8 as = (struct async_stat *) 0x8147d75 res = 0 cdr_res = -1 oh = {context = 0x87b2f78 "bugfinder", exten = 0x87b2e78 "s", priority = 1, cid_num = 0x87b307c "", cid_name = 0x87b317c "", account = 0x87b327c "", vars = 0x0, parent_channel = 0x0} attr = {__size = "\220;\177▒▒\223q\000\2102\177▒!l`\000\234▒q\000\021▒\021\b\2302\177▒\001\000\000\000\234▒q", __align = -1216398448} __PRETTY_FUNCTION__ = "ast_pbx_outgoing_exten" __FUNCTION__ = "ast_pbx_outgoing_exten" #13 0x00e133af in attempt_thread (data=0x87b2960) at pbx_spool.c:353 o = (struct outgoing *) 0x87b2960 res = 7495668 reason = 4 __PRETTY_FUNCTION__ = "attempt_thread" #14 0x0811b4c5 in dummy_start (data=0x883a8c0) at utils.c:856 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {7495668, 0, -1216398448, -1216400440, 1996379455, -913254996}, __mask_was_saved = 0}}, __pad = {0xb77f3480, 0x0, 0x883c368, 0x8855ab8}} __cancel_routine = (void (*)(void *)) 0x806ac83 __cancel_arg = (void *) 0xb77f3b90 not_first_call = 0 ret = (void *) 0x716b8c a = {start_routine = 0xe130eb , data = 0x87b2960, name = 0x883d130 "attempt_thread started at [ 381] pbx_spool.c launch_service()"} lock_info = (struct thr_lock_info *) 0x883c368 mutex_attr = {__size = "\001\000\000", __align = 1} #15 0x0071746b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #16 0x0066edbe in clone () from /lib/libc.so.6 No symbol table info available.