cat func_odbc.conf [ROUTING] escapecommas=yes prefix=MINIXEL dsn=global readsql=execute Routing '${ARG1}','${ARG2}','${ARG3}','${ARG4}','${ARG5}' -------------Dialplan----------------------------------------- exten =>_X.,9,Set(ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}) ----------------------------------- gdb /usr/sbin/asterisk /core.14313 (gdb) bt full #0 0xb6f5ba88 in SQLNumResultCols () from /usr/lib/libodbc.so.1 No symbol table info available. #1 0xb6ecc13f in acf_odbc_read (chan=0xb647af18, cmd=0xb660bc60 "MINIXEL_ROUTING", s=0xb660bc70 "S208-1192367328.1397", buf=0xb660bd40 "", len=4096) at func_odbc.c:312 uid = Variable "uid" is not available. gdb /usr/sbin/asterisk /core.26339 (gdb) bt full #0 0xb6f5bb3d in SQLNumResultCols () from /usr/lib/libodbc.so.1 No symbol table info available. #1 0xb6ecc13f in acf_odbc_read (chan=0xb6509d10, cmd=0xb66a4c60 "MINIXEL_ROUTING", s=0xb66a4c70 "S208-1192369497.358", buf=0xb66a4d40 "", len=4096) at func_odbc.c:312 uid = Variable "uid" is not available. gdb /usr/sbin/asterisk /core.24494 (gdb) bt full #0 0xb6f11ab1 in tds_open_socket (tds=0x0, ip_addr=0x0, port=0, timeout=0) at net.c:242 sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"} fds = {fds_bits = {0 }} ioctl_blocking = 1 start = Variable "start" is not available. gdb /usr/sbin/asterisk /core.9348 gdb) bt full #0 0x08087816 in ast_waitfor_nandfds_complex (c=0xb4ad2080, n=2, ms=0xb4ad1f0c) at channel.c:1921 aed = (struct ast_epoll_data *) 0x84c7428 start = {tv_sec = 1192225332, tv_usec = 332586} res = Variable "res" is not available. gdb /usr/sbin/asterisk /core.7227 (gdb) bt full #0 tds_flush_packet (tds=Cannot access memory at address 0x108 ) at write.c:298 result = 0 Cannot access memory at address 0x100 gdb /usr/sbin/asterisk /core.17896 #0 tds_flush_packet (tds=Cannot access memory at address 0x17118 ) at write.c:298 result = 0 Cannot access memory at address 0x17110