Program terminated with signal 11, Segmentation fault. #0 0x0000002aa03eb56a in ?? () (gdb) bt ful #0 0x0000002aa03eb56a in ?? () No symbol table info available. #1 0x0000002a9870259a in fork () from /lib64/libc.so.6 No symbol table info available. #2 0x0000002a9ad13a65 in operate_sems () from /usr/local/easysoft/lib/libeslicshr.so No symbol table info available. #3 0x0000002a9ad13cce in get_site_number () from /usr/local/easysoft/lib/libeslicshr.so No symbol table info available. #4 0x0000002a9ad12195 in nce_start_ex_2 () from /usr/local/easysoft/lib/libeslicshr.so No symbol table info available. #5 0x0000002a9a848507 in SQLTransact () from /usr/local/easysoft/sqlserver/lib/libessqlsrv.so No symbol table info available. #6 0x0000002a9a84920d in SQLTransact () from /usr/local/easysoft/sqlserver/lib/libessqlsrv.so No symbol table info available. #7 0x0000002a9a84a2d8 in SQLTransact () from /usr/local/easysoft/sqlserver/lib/libessqlsrv.so No symbol table info available. #8 0x0000002a9a8164ba in SQLConnect () from /usr/local/easysoft/sqlserver/lib/libessqlsrv.so No symbol table info available. #9 0x0000002a9a1868f6 in SQLConnect () from /usr/lib64/libodbc.so.1 No symbol table info available. #10 0x0000002a99f5de50 in odbc_obj_connect (obj=0x7d01a0) at res_odbc.c:565 res = 0 err = 8192416 mlen = 0 msg = "\000\020\000\000\000\000\000\000\034ûm\230*\000\000\000yLG@", '\0' , "`=G@\000\000\000\000`\211\233\230*\000\000\000à=G@\000\000\000\000H\000\000\000\000\000\000\000ÀN\207\000\000\000\000\000A\021\001\000\000\000\000\000\000\020\000\000\000\000\000\000öÙm\230*", '\0' , "à=G@", '\0' , "@ÙG@\000\000\000\000\000àG@\000\000\000\000´'N\000\000\000\000\000øÑ|", '\0' , "à=G@", '\0' , "à=G@\000\000\000\000\235Ûõ\231*\000\000\000H\000\000\000\000\000\000" stat = "@ÙG@\000\000\000\000\000à" __PRETTY_FUNCTION__ = "odbc_obj_connect" #11 0x0000002a99f5d91e in ast_odbc_request_obj (name=0x7d129e "global", check=0) at res_odbc.c:470 obj = (struct odbc_obj *) 0x7d01a0 class = (struct odbc_class *) 0x7b6750 __PRETTY_FUNCTION__ = "ast_odbc_request_obj" #12 0x0000002a9b025a11 in acf_odbc_read (chan=0x7cd130, cmd=0x404754c0 "MINIXEL_ROUTING", s=0x404754d0 "S220-1199510231.1", buf=0x404755d0 "", len=4096) from /usr/lib/asterisk/modules/func_odbc.so obj = (struct odbc_obj *) 0x0 query = (struct acf_odbc_query *) 0x7d1200 sql = "Routing 'S220-1199510231.1','66.28.190.220','19544447408','5058406824',''", '\0' , "#en\230*", '\0' , "NG@", '\0' , "\020NG@", '\0' , " \000\000\000\000\000\000\000P", '\0' , "\004", '\0' , "\006", '\0' , "`\211\233\230*\000\000\000°NG@", '\0' , "@ÙG@\000\000\000\000\000àG@"... varname = "ARG4\000\000\000\000\000\000\000\000\000\000" colnames = '\0' rowcount = "-1\000\000\000\000\000\000\000\000\000" res = 1078450496 x = 4 y = 7836240 buflen = 0 escapecommas = 1 rowlimit = 1 ---Type to continue, or q to quit--- dsn = 0 bogus_chan = 0 args = {argc = 4, argv = 0x404740e8, field = {0x404754d0 "S220-1199510231.1", 0x404754e2 "66.28.190.220", 0x404754f0 "19544447408", 0x404754fc "5058406824", 0x0 }} stmt = (SQLHSTMT) 0x0 colcount = 0 indicator = 0 collength = 0 resultset = (struct odbc_datastore *) 0x0 row = (struct odbc_datastore_row *) 0x0 __PRETTY_FUNCTION__ = "acf_odbc_read" #13 0x0000000000498c32 in ast_func_read (chan=0x7cd130, function=0x404765e0 "MINIXEL_ROUTING(S220-1199510231.1,66.28.190.220,19544447408,5058406824,)", workspace=0x404755d0 "", len=4096) at pbx.c:2340 res = 0 u = (struct ast_module_user *) 0x7d0280 copy = 0x404754c0 "MINIXEL_ROUTING" args = 0x404754d0 "S220-1199510231.1" acfptr = (struct ast_custom_function *) 0x7b6370 __PRETTY_FUNCTION__ = "ast_func_read" #14 0x00000000004991f3 in pbx_substitute_variables_helper_full (c=0x7cd130, headp=0x7cd568, cp1=0x843db0 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}", cp2=0x4047a93a "", count=8165) at pbx.c:2474 cp4 = 0x0 tmp = 0x843db0 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" whereweare = 0x843e0b "" length = 0 offset = 0 offset2 = 2147483647 isfunction = 1 workspace = 0x404755d0 "" ltmp = 0x404765e0 "MINIXEL_ROUTING(S220-1199510231.1,66.28.190.220,19544447408,5058406824,)" var = 0x404775f0 "MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})" nextvar = 0x843dca "${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" nextexp = 0x0 nextthing = 0x843dca "${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" vars = 0x404765e0 "MINIXEL_ROUTING(S220-1199510231.1,66.28.190.220,19544447408,5058406824,)" vare = 0x843e0b "" pos = 26 brackets = 0 needsub = 5 len = 62 __PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full" #15 0x00000000004997c3 in pbx_substitute_variables_helper (c=0x7cd130, cp1=0x843db0 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}", cp2=0x4047a920 "ARRAY(ANI,X,Nohunt,Delay)=", count=8191) at pbx.c:2566 No locals. #16 0x000000000049989d in pbx_substitute_variables (passdata=0x4047a920 "ARRAY(ANI,X,Nohunt,Delay)=", datalen=8192, c=0x7cd130, e=0x843e20) at pbx.c:2588 tmp = 0x843dca "${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" #17 0x0000000000499b21 in pbx_extension_helper (c=0x7cd130, con=0x0, context=0x7cd380 "default", exten=0x7cd3d0 "19544447408", priority=12, label=0x0, callerid=0x7d7390 "5058406824", action=E_SPAWN, found=0x4047cfc4, combined_find_spawn=1) at pbx.c:2650 e = (struct ast_exten *) 0x843e20 ---Type to continue, or q to quit--- app = (struct ast_app *) 0x7d2e00 res = 1078447568 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7cd380 "default"} passdata = "ARRAY(ANI,X,Nohunt,Delay)=\000127.0.0.1:5061>;tag=3920-Now=2008-01-05 00:17:11", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #18 0x000000000049b25d in ast_spawn_extension (c=0x7cd130, context=0x7cd380 "default", exten=0x7cd3d0 "19544447408", priority=12, callerid=0x7d7390 "5058406824", found=0x4047cfc4, combined_find_spawn=1) at pbx.c:3161 No locals. #19 0x000000000049ba32 in __ast_pbx_run (c=0x7cd130) at pbx.c:3260 dst_exten = '\0' , "\030", '\0' pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #20 0x000000000049cc9d in pbx_thread (data=0x7cd130) at pbx.c:3518 c = (struct ast_channel *) 0x7cd130 #21 0x00000000004e3d8d in dummy_start (data=0x824410) at utils.c:857 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 1078448368, 0, 1078450496, 1078452224, 4096, 1078448176, 5127508}, __mask_was_saved = 0}}, __pad = {0x4047d190, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x42af41 __cancel_arg = (void *) 0x4047d940 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x49cc80 , data = 0x7cd130, name = 0x7cdb50 "pbx_thread", ' ' , "started at [ 3539] pbx.c ast_pbx_start()"} #22 0x0000002a95f0d2f7 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #23 0x0000002a9873b85d in clone () from /lib64/libc.so.6 No symbol table info available.