#0 0xb6ebbb67 in connection_preamble (conn=0x83de9e8, instance=0xb5814260 "") at tds_conn.c:1515 1515 tds_conn.c: No such file or directory. in tds_conn.c (gdb) bt full #0 0xb6ebbb67 in connection_preamble (conn=0x83de9e8, instance=0xb5814260 "") at tds_conn.c:1515 buff = "\004\001\000+\000\000\001\000\000\000\032\000\006\001\000 \000\001\002\000!\000\001\003\000\"\000\000\004\000\"\000\001ÿ\t\000\fY\000\000\002", '\0' , "dúê·°0\201µ\2242\201µ\200", '\0' , "\001\000\000\000\000\000\000\004Èùê·", '\0' , "ôß%·ôß%·°\205ã\b°\205ã\bh.\201µµB\031·¼\004\000\000\000\000\000\000\000\000\000\000\001\000\000\000ôß%·\030/\201µ¤=\031·°\205ã\b\000\000\000\000\000\000\000\000\001", '\0' , " 3\201µ\020(J\b03\201µÐ\207\032\bR¸ÿ·1\000\000\000\001", '\0' ... c = 0 '\0' len = 43 pos = 13 offset = 34 length = 6 read_len = 43 got_server_version = 0 got_server_encryption = 0 encryption_type = 0 verbuf = "\n\000\004\031\000" encryption_request = 2 '\002' encryption_required = 0 mars_request = 0 '\0' instval = 0xb6f13261 "MSSQLServer" stmt = (struct s_stmt *) 0x89c5a40 p = (struct p_packet *) 0x8a0da70 data_start = 50 threadid = 3045198752 ret = 43 encrypted_login = 0 #1 0xb6ebe7c5 in open_single_connection (conn=0x83de9e8, server=0x8a0da48, port=1433) at tds_conn.c:2675 ret = -1249820672 sa = {sin_family = 2, sin_port = 39173, sin_addr = {s_addr = 370999616}, sin_zero = "\000\000\000\000\000\000\000"} hostent = (struct hostent *) 0xb5814230 addr = 370999616 address = 0x8a0da70 "" instance = 0xb6f23b80 "|º\f" instname = "\000¦\031·@ø%·\016\000\000\000\200;ò¶HÚ \bؼ涨B\201µ\201:é¶\016\000\000\000@ø%·\000\000\004\000%:é¶\r\000\000\000Hø%·HÚ \bHÚ \b" pos = 0x0 hent = {h_name = 0xb5814043 "minixel", h_aliases = 0xb581404c, h_addrtype = 2, h_length = 4, h_addr_list = 0xb5814030} errp = 144759344 hbuf = "@\001\035\026", '\0' , " @\201µ\000\000\000\00064.1.29.22\000minixel\000\000\000\000\000\000calhost\000localhost.localdomain\000\000\000N@\201µX@\201µ", '\0' , "D}\031·", '\0' , "¬F%·", '\0' , "ôß%·ôß%·@ø%·héÅ\b\230A\201µ:\206\031·@ø%·héÅ\b\200;ò¶èé=\bؼæ¶ÈC\201µ¤\206\031·héÅ\b¡x\031·\000\000\000\000¼\237æ¶", '\0' ... fflag = 2 #2 0xb6ebfb17 in open_connection (conn=0x83de9e8, servers=0x8a26808, port=0) at tds_conn.c:3199 addresses = 0x89083f0 "minixel" start = 0x1
pos = 0x1
ret = -1 count = 1 i = 0 server_arr = (struct w_string **) 0x8a0da28 tried = (int *) 0x8a0da38 offset = 0 #3 0xb6ea8857 in tds_single_connect (conn=0x83de9e8, without_license=0) at tds_logon.c:716 lo = (struct p_packet *) 0x0 rp = (struct p_packet *) 0x0 gen = (struct s_gen *) 0x83de9e8 ret = 0 ret_token = 0 stmt = (struct s_stmt *) 0x8322d00 #4 0xb6ea8fa1 in tds_connect (conn=0x83de9e8, without_license=0) at tds_logon.c:941 ret = -1 #5 0xb6e6beb9 in SQLConnect (connection_handle=0x83de9e8, server_name=0xb58155a0 "mssql", name_length1=-3, user_name=0x8195f7c "console", name_length2=-3, ---Type to continue, or q to quit--- authentication=0x8195fcc "null", name_length3=-3) at SQLConnect.c:56 ret = -1 hcon = (struct s_conn *) 0x83de9e8 dsn = (struct w_string *) 0x8599520 uid = (struct w_string *) 0x8d16110 pwd = (struct w_string *) 0x8afd808 #6 0xb6f49168 in SQLConnect () from /usr/lib/libodbc.so.1 No symbol table info available. #7 0xb6f9eb2f in odbc_obj_connect (obj=0x8714740) at res_odbc.c:560 res = 0 err = -1249814760 mlen = -19071 msg = " c\201µ\000\000\000\000àV\201µ@V\201µ\001\200­û c\201µ c\201µ c\201µ c\201µ¤c\201µ®c\201µ c\201µ®c\201µ", '\0' , "\234[\201µ\000\000\000\000°c\201µ\000\000\000\b\000\000\000\0000143h\005\002\000Xø%·\006\000\000\0000\000\000\000\000\000\000\000\234[\201µÿÿÿÿQ\225\020\bôß%·\001\000\000\000@ø%·èV\201µV¤\031·@ø%·(\000\000\000¤lä¶h\005\002\000(\000\000\000\230*#\t\210\021ú¶\000\000\000\000\234[\201µ\030W\201µ¸­ê·\210\021ú¶\234[\201µ" stat = "Ö\f\031·@V\201µD}" __PRETTY_FUNCTION__ = "odbc_obj_connect" #8 0xb6f9e5c8 in ast_odbc_request_obj (name=0x81add1a "global", check=0) at res_odbc.c:465 obj = (struct odbc_obj *) 0x8714740 class = (struct odbc_class *) 0x8195ed8 __PRETTY_FUNCTION__ = "ast_odbc_request_obj" #9 0xb6e42390 in acf_odbc_read (chan=0x8cba568, cmd=0xb5816bf0 "MINIXEL_ROUTING", s=0xb5816c00 "S208-1193168905.3012", buf=0xb5816ca0 "", len=4096) at func_odbc.c:296 obj = (struct odbc_obj *) 0x0 query = (struct acf_odbc_query *) 0x81adc80 sql = "execute Routing 'S208-1193168905.3012','38.102.64.25','14086675995','0000000000',''", '\0' varname = "ARG5\000VrDzVrDzVr" colnames = '\0' rowcount = "-1\000\000\000\000\000\000\000\000\000" res = 135028805 x = 5 y = 135734628 buflen = 0 escapecommas = 1 rowlimit = 1 dsn = 0 args = {argc = 5, argv = 0xb58159d4, field = {0xb5816c00 "S208-1193168905.3012", 0xb5816c15 "38.102.64.25", 0xb5816c22 "14086675995", 0xb5816c2e "0000000000", 0xb5816c39 "", 0x0 }} stmt = 0x0 colcount = 0 indicator = 3 collength = 5 resultset = (struct odbc_datastore *) 0x0 row = (struct odbc_datastore_row *) 0x0 __PRETTY_FUNCTION__ = "acf_odbc_read" #10 0x080c77e7 in ast_func_read (chan=0x8cba568, function=0xb5817cb0 "MINIXEL_ROUTING(S208-1193168905.3012,38.102.64.25,14086675995,0000000000,\"\")", workspace=0xb5816ca0 "", len=4096) at pbx.c:1586 res = -1249805136 u = (struct ast_module_user *) 0x85df9a8 copy = 0xb5816bf0 "MINIXEL_ROUTING" args = 0xb5816c00 "S208-1193168905.3012" acfptr = (struct ast_custom_function *) 0x81accd8 __PRETTY_FUNCTION__ = "ast_func_read" #11 0x080c7cac in pbx_substitute_variables_helper_full (c=0x8cba568, headp=0x8cba8b4, cp1=0x81fcc48 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}", cp2=0xb581df8a "", count=8165) at pbx.c:1718 cp4 = 0x0 tmp = 0x81fcc48 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" whereweare = 0x81fcca3 "" length = 0 offset = 0 ---Type to continue, or q to quit--- offset2 = 2147483647 isfunction = 1 workspace = 0xb5816ca0 "" ltmp = 0xb5817cb0 "MINIXEL_ROUTING(S208-1193168905.3012,38.102.64.25,14086675995,0000000000,\"\")" var = 0xb5818cc0 "MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})" nextvar = 0x81fcc62 "${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" nextexp = 0x0 nextthing = 0x81fcc62 "${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" vars = 0xb5817cb0 "MINIXEL_ROUTING(S208-1193168905.3012,38.102.64.25,14086675995,0000000000,\"\")" vare = 0x81fcca3 "" pos = 26 brackets = 0 needsub = 5 len = 62 __PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full" #12 0x080c81ac in pbx_substitute_variables_helper (c=0x8cba568, cp1=0x81fcc48 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}", cp2=0xb581df70 "ARRAY(ANI,X,Nohunt,Delay)=", count=8191) at pbx.c:1810 No locals. #13 0x080c82b5 in pbx_substitute_variables (passdata=0xb581df70 "ARRAY(ANI,X,Nohunt,Delay)=", datalen=8192, c=0x8cba568, e=0x81fcca8) at pbx.c:1828 No locals. #14 0x080c84bd in pbx_extension_helper (c=0x8cba568, con=0x0, context=0x8cba6f0 "h323", exten=0x8cba740 "14086675995", priority=9, label=0x0, callerid=0x8b0e560 "0000000000", action=E_SPAWN) at pbx.c:1878 e = (struct ast_exten *) 0x81fcca8 app = (struct ast_app *) 0x81b1708 res = 8 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x8cba6f0 "h323"} passdata = "ARRAY(ANI,X,Nohunt,Delay)=", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #15 0x080c9a9f in ast_spawn_extension (c=0x8cba568, context=0x8cba6f0 "h323", exten=0x8cba740 "14086675995", priority=9, callerid=0x8b0e560 "0000000000") at pbx.c:2397 No locals. #16 0x080c9ff1 in __ast_pbx_run (c=0x8cba568) at pbx.c:2496 dst_exten = "\020\003\202µL\003\202µ\000\000\000\000X\003\202µ\030\003\202µ\034\003\202µ\\\003\202µ", '\0' , "`\003\202µè²\f\b\000\000\000\000\000\000\000\000ô/ë·0 ê·", '\0' , "\f\003\202µ\000\000\000\000\020\003\202µ\024\003\202µ\000\000\000\000 \003\202µ\030\003\202µHø%·D}\031·\020\000\000\000\000\000\000\000°s\031·\000\000\000\000\f\000\000\000ôß%·\f\000\000\000@ø%·\b\003\202µV¤\031·@ø%·\f\000\000\000\000\000\000\000h\005\002\000\f\000\000\000\230*#\tô/ë·\000\000\000\000\000\000\000\0008\003\202µQ\225\020\b\001\000\000\000\f", '\0' ... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #17 0x080cb2d7 in pbx_thread (data=0x8cba568) at pbx.c:2752 c = (struct ast_channel *) 0x8cba568 #18 0x0810a5c7 in dummy_start (data=0x8cba9f8) at utils.c:807 _buffer = {__routine = 0x806b9c1 , __arg = 0xb5820ba0, __canceltype = -1249770552, __prev = 0x0} ret = (void *) 0xb725c6f4 a = {start_routine = 0x80cb2c0 , data = 0x8cba568, name = 0x87676f0 "pbx_thread", ' ' , "started at [ 2773] pbx.c ast_pbx_start()"} #19 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #20 0xb71fec3e in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) (gdb) (gdb) (gdb) (gdb) frame 0 #0 0xb6ebbb67 in connection_preamble (conn=0x83de9e8, instance=0xb5814260 "") at tds_conn.c:1515 1515 in tds_conn.c