[New process 24691] #0 0xb7a80885 in SQLNumResultCols () from /usr/lib/libodbc.so.1 (gdb) (gdb) by Undefined command: "by". Try "help". (gdb) bt #0 0xb7a80885 in SQLNumResultCols () from /usr/lib/libodbc.so.1 #1 0xb6f1cc8e in realtime_odbc (database=0xb1c5a110 "ccig", table=0xb1c5a010 "sip_peers", ap=0xb1c5a264 "\003!.-0)\022-\017\".-\a\".-") at res_config_odbc.c:172 #2 0x080b24e7 in ast_load_realtime_helper (family=0xb62e20b0 "sippeers", ap=0xb1c5a264 "\003!.-0)\022-\017\".-\a\".-") at config.c:2096 #3 0x080b2541 in ast_load_realtime (family=0xb62e20b0 "sippeers") at config.c:2119 #4 0xb6277eeb in realtime_peer (newpeername=0xad122930 "32120", sin=0x0, devstate_only=0) at chan_sip.c:4756 #5 0xb6278b4d in find_peer (peer=0xad122930 "32120", sin=0x0, realtime=1, which_objects=3, devstate_only=0, transport=0) at chan_sip.c:4988 #6 0xb627cfeb in update_call_counter (fup=0xafb300a8, event=2) at chan_sip.c:5645 #7 0xb62b6bcf in handle_response_invite (p=0xafb300a8, resp=200, rest=0xab029e20 "OK", req=0xb1c5b074, seqno=102) at chan_sip.c:17694 #8 0xb62ba952 in handle_response (p=0xafb300a8, resp=200, rest=0xab029e20 "OK", req=0xb1c5b074, seqno=102) at chan_sip.c:18370 #9 0xb62c8db0 in handle_incoming (p=0xafb300a8, req=0xb1c5b074, sin=0xb1c5b064, recount=0xb1c5b004, nounlock=0xb1c5b000) at chan_sip.c:21640 #10 0xb62ca52c in handle_request_do (req=0xb1c5b074, sin=0xb1c5b064) at chan_sip.c:22025 #11 0xb62c9e2a in sipsock_read (id=0x9273940, fd=23, events=1, ignore=0x0) at chan_sip.c:21919 #12 0x080e62fb in ast_io_wait (ioc=0x929fb80, howlong=3) at io.c:288 #13 0xb62cba00 in do_monitor (data=0x0) at chan_sip.c:22483 #14 0x08158d95 in dummy_start (data=0xb59d5fe0) at utils.c:968 #15 0xb7c4b4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #16 0xb7d4261e in clone () from /lib/i686/cmov/libc.so.6 (gdb) bt full #0 0xb7a80885 in SQLNumResultCols () from /usr/lib/libodbc.so.1 No symbol table info available. #1 0xb6f1cc8e in realtime_odbc (database=0xb1c5a110 "ccig", table=0xb1c5a010 "sip_peers", ap=0xb1c5a264 "\003!.-0)\022-\017\".-\a\".-") at res_config_odbc.c:172 obj = (struct odbc_obj *) 0x91b4010 stmt = (SQLHSTMT) 0xaafaa6b8 sql = "SELECT * FROM sip_peers WHERE name = ? AND host = ?\000-û\000\000\000\000Hû", '\0' , "----\000\000\000\000@R.-`-û\000\000\000\000\\-û\000\000\000s\001\000\000\000\000\000\000\000--?--û\000\000\000\000--û)-ûGû\002\000\000\000\002\000\000u\001\000\000\000\000\000\000\000--û\230#?AR.-n--^\230-û-\034?\000\000\000\000----9\000\000\000\205\022.-h\022.-\000\000\000\000\204-"... coltitle = "\000\000\000\000\020-û\230#?\000\000\000\000-û", '\0' , "P-û\230#?\000\000\000\000#-?HûGû3\000\000\000\023-û\000\000\000\000\004-û\003\000\000\000\000\000\000\000----Z\000\000\000CR.-;R.-\000\000\000\000\020-û\001", '\0' , "-R.-", '\0' , " \000\000\000\000\000\000\000Gû\230#?\000\000\000s-\023\000\000\000\000\000\000 \000\000\000\000\000\000\000\004-û\000\000\000\000\000\000\000u-û\230#?\000\000\000\000#-?\003\000\000\000^/--\030"... rowdata = ".(?\000\000\000\000\036\000\000\000qo--\216\227û \000\000\000J-?-\217?-5?-\232?\000\000\000\000\000\004\003\np\227û\036\000\000\000\000\000\000\000\002\027\030\000\000\000\000\000\002\027\030\000-\223û\2343--\003\000\000\000-\223?p\227û-\a\000\000X\227û>N--\036\000\000\000J-?\000\000\000\000$\223--\000\000\000\000\220\207\001\000\000\000\000\000:\000\000\000\003\000\000\000\f\000\000\000\020\000\000\0000\034--\000\000\000\000\004\037-n\000\000\000\000\211\001-\003\\N\000\000PU?\a", '\0' , "-\223û\001\000\000\000\201\000\000\000\216"... op = 0xb6f2044e " =" newparam = 0x0 newval = 0xb62e2207 "dynamic" stringp = 0x0 chunk = 0x0 collen = 0 res = 0 x = 0 var = (struct ast_variable *) 0x0 prev = (struct ast_variable *) 0x0 colsize = 3084632708 colcount = 0 datatype = -15869 decimaldigits = 0 nullable = 16 indicator = 1 aq = 0xb1c5a278 "-û$-(-t-û\212:.-?ûGûX&&\t-\023" cps = {sql = 0xb1c59bb0 "SELECT * FROM sip_peers WHERE name = ? AND host = ?", extra = 0x0, ap = 0xb1c5a264 "\003!.-0)\022-\017\".-\a\".-", skip = 0} __PRETTY_FUNCTION__ = "realtime_odbc" #2 0x080b24e7 in ast_load_realtime_helper (family=0xb62e20b0 "sippeers", ap=0xb1c5a264 "\003!.-0)\022-\017\".-\a\".-") at config.c:2096 eng = (struct ast_config_engine *) 0xb6f212a0 db = "ccig\000-?\000\000\000\000\000\000\000\000TN------L-û_-?--ûHûaû[\026?----\000\000\000\000-S.-\020-û@\211?\f-û-R.---ûHû\002\000\000\000\020-ûI\023.-\001\200--HûHû\000\000\000\000\216-k\000\000\000\000aûHûaû\000\000\000\000\000\000\000\000\\-û--k\001\000\000\000-\034\000\000\000\000\000\000\001\000\000\000-\017\000\000;R.--\217?-\000\000\000\001\000\000\000?ûf\t?-a\033\b\bV/-"... table = "sip_peers\000\000\000c\003\000\000\003\000\000\0004-û\003124--\000\000\000\000---- \000\000\000-S.--S.-\000\000\000\000D-û----\000\000\000\000@R.---û-\020\000\000\234-û\000\000\000\000\000\000\000\000LT.-", '\0' , "#-?----\000\000\000\000@R.--X---\223?--û;R.sd-û\002\000\000\000\001\000\000\000\\-û-\017\000\000-\217?\002\000\000\000\034-û-û\203\027?\034-ûG\023.-\002\000\000\000-f--", '\0' res = (struct ast_variable *) 0x0 #3 0x080b2541 in ast_load_realtime (family=0xb62e20b0 "sippeers") at config.c:2119 res = (struct ast_variable *) 0x0 cur = (struct ast_variable *) 0x0 prev = (struct ast_variable *) 0x0 freeme = (struct ast_variable *) 0x0 ap = 0xb1c5a264 "\003!.-0)\022-\017\".-\a\".-" #4 0xb6277eeb in realtime_peer (newpeername=0xad122930 "32120", sin=0x0, devstate_only=0) at chan_sip.c:4756 peer = (struct sip_peer *) 0x0 var = (struct ast_variable *) 0x0 varregs = (struct ast_variable *) 0x0 tmp = (struct ast_variable *) 0xb4b684a8 peerlist = (struct ast_config *) 0x0 ipaddr = "\000\000\000\000`-\233-\000\000\000\000\000\000\000" portstring = "\000\000\004\215--" cat = 0x0 portnum = 45509 realtimeregs = 0 __PRETTY_FUNCTION__ = "realtime_peer" #5 0xb6278b4d in find_peer (peer=0xad122930 "32120", sin=0x0, realtime=1, which_objects=3, devstate_only=0, transport=0) at chan_sip.c:4988 p = (struct sip_peer *) 0x0 tmp_peer = {name = "32120", '\0' , __field_mgr_pool = 0x0, secret = 0x0, md5secret = 0x0, remotesecret = 0x0, context = 0x0, subscribecontext = 0x0, username = 0x0, accountcode = 0x0, tohost = 0x0, regexten = 0x0, fromuser = 0x0, fromdomain = 0x0, fullcontact = 0x0, cid_num = 0x0, cid_name = 0x0, vmexten = 0x0, language = 0x0, mohinterpret = 0x0, mohsuggest = 0x0, parkinglot = 0x0, useragent = 0x0, __field_mgr = {size = 0, used = 0, last_alloc = 0x0}, socket = {type = 0, fd = 0, port = 0, tcptls_session = 0x0}, default_outbound_transport = 0, transports = 0, auth = 0x0, amaflags = 0, callingpres = 0, inUse = 0, inRinging = 0, onHold = 0, call_limit = 0, t38_maxdatagram = 0, busy_level = 0, allowtransfer = TRANSFER_OPENFORALL, prefs = {order = '\0' , framing = '\0' }, lastmsgssent = 0, sipoptions = 0, flags = {{flags = 0}, {flags = 0}}, mailboxes = {first = 0x0, last = 0x0}, is_realtime = 0 '\0', rt_fromcontact = 0 '\0', host_dynamic = 0 '\0', selfdestruct = 0 '\0', the_mark = 0 '\0', expire = 0, capability = 0, rtptimeout = 0, rtpholdtimeout = 0, rtpkeepalive = 0, callgroup = 0, pickupgroup = 0, outboundproxy = 0x0, dnsmgr = 0x0, addr = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}, maxcallbitrate = 0, portinuri = 0, call = 0x0, pokeexpire = 0, lastms = 0, maxms = 0, qualifyfreq = 0, ps = {tv_sec = 0, tv_usec = 0}, defaddr = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}, ha = 0x0, contactha = 0x0, chanvars = 0x0, mwipvt = 0x0, autoframing = 0, stimer = {st_mode_oper = SESSION_TIMER_MODE_INVALID, st_ref = SESSION_TIMER_REFRESHER_AUTO, st_min_se = 0, st_max_se = 0}, timer_t1 = 0, timer_b = 0, deprecated_username = 0, type = 0} #6 0xb627cfeb in update_call_counter (fup=0xafb300a8, event=2) at chan_sip.c:5645 name = "s", '\0' , "\003\000\000\000c-\002-\v\000\000\000\f\000\000\000\006\000\000\000--\000-\002--\016.---û--û--û--û\\N\000\000", '-' , "\020^û-3û-\tû\b\000\000\000\b\000\000\000\001\000\000\000\t-\002-\001", '\0' , "\001", '\0' , "\001\000\000\000O\000\000\000\000\000\000\000-\002-\t-\002-O\000\000" inuse = (int *) 0x0 call_limit = (int *) 0x0 inringing = (int *) 0x0 outgoing = 0 p = (struct sip_peer *) 0x0 __PRETTY_FUNCTION__ = "update_call_counter" #7 0xb62b6bcf in handle_response_invite (p=0xafb300a8, resp=200, rest=0xab029e20 "OK", req=0xb1c5b074, seqno=102) at chan_sip.c:17694 outgoing = 1 res = 0 xmitres = 0 ---Type to continue, or q to quit--- reinvite = 1 p_hdrval = 0x3b
rtn = -1238411768 __PRETTY_FUNCTION__ = "handle_response_invite" #8 0xb62ba952 in handle_response (p=0xafb300a8, resp=200, rest=0xab029e20 "OK", req=0xb1c5b074, seqno=102) at chan_sip.c:18370 owner = (struct ast_channel *) 0xacaab2e0 sipmethod = 5 res = 1 c = 0xab029f3e "102 INVITE" c_copy = 0xb1c5aca0 "102 INVITE" msg = 0xb1c5aca4 "INVITE" __PRETTY_FUNCTION__ = "handle_response" #9 0xb62c8db0 in handle_incoming (p=0xafb300a8, req=0xb1c5b074, sin=0xb1c5b064, recount=0xb1c5b004, nounlock=0xb1c5b000) at chan_sip.c:21640 cmd = 0xab029e14 "SIP/2.0" cseq = 0xab029f3e "102 INVITE" useragent = 0xb62e0ea2 "" seqno = 102 len = 4 respid = 200 res = 0 debug = 0 e = 0xab029e1c "200 OK" error = 0 oldmethod = 6 acked = 0 __PRETTY_FUNCTION__ = "handle_incoming" #10 0xb62ca52c in handle_request_do (req=0xb1c5b074, sin=0xb1c5b064) at chan_sip.c:22025 p = (struct sip_pvt *) 0xafb300a8 recount = 0 nounlock = 0 lockretry = 10 __PRETTY_FUNCTION__ = "handle_request_do" #11 0xb62c9e2a in sipsock_read (id=0x9273940, fd=23, events=1, ignore=0x0) at chan_sip.c:21919 req = {rlPart1 = 0, rlPart2 = 8, len = 857, headers = 14, method = 1, lines = 11, sdp_start = 0, sdp_count = 11, debug = 0 '\0', has_to_tag = 0 '\0', ignore = 0 '\0', header = {0, 16, 106, 170, 234, 292, 310, 356, 430, 458, 474, 510, 547, 578, 599, 0 }, line = {601, 606, 658, 698, 723, 730, 759, 781, 816, 833, 845, 857, 0 }, data = 0xab029e08, socket = {type = SIP_TRANSPORT_UDP, fd = -1, port = 50195, tcptls_session = 0x0}, next = {next = 0x0}} sin = {sin_family = 2, sin_port = 50195, sin_addr = {s_addr = 2015406272}, sin_zero = "\000\000\000\000\000\000\000"} res = 857 len = 16 readbuf = "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 192.168.9.2:5060;branch=z9hG4bK4ed5d56e;received=192.168.9.2;rport=5060\r\nFrom: ;tag=as2f1d209f\r\nTo: \"adriana.gamrot\" __cancel_arg = (void *) 0xb1c5bb90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb62cb7c1 , data = 0x0, name = 0xb59d5ff0 "do_monitor", ' ' , "started at [22514] chan_sip.c restart_monitor()"} #15 0xb7c4b4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #16 0xb7d4261e in clone () from /lib/i686/cmov/libc.so.6 No symbol table info available.