(gdb) bt #0 0xb7c0217d in fclose () from /lib/i686/libc.so.6 #1 0xb6bd0758 in custom_log (cdr=0x82e6058) at cdr_custom.c:130 #2 0x08084241 in post_cdr (cdr=0x82e6058) at cdr.c:1003 #3 0x08084ffb in ast_cdr_detach (cdr=0x82e6058) at cdr.c:1170 #4 0x0808ae84 in ast_hangup (chan=0x82f9158) at channel.c:1493 #5 0xb6ce31a6 in hanguptree (outgoing=0x82f9760, exception=0x0, answered_elsewhere=0) at app_dial.c:342 #6 0xb6ceba62 in dial_exec_full (chan=0x82ad4d0, data=0xb6784eb8, peerflags=0xb6782d4c, continue_exec=0x0) at app_dial.c:1883 #7 0xb6cec3c1 in dial_exec (chan=0x82ad4d0, data=0xb6784eb8) at app_dial.c:1904 #8 0x080de83d in pbx_exec (c=0x82ad4d0, app=0x81ffbe0, data=0xb6784eb8) at pbx.c:722 #9 0x080e4412 in pbx_extension_helper (c=0x82ad4d0, con=0x0, context=0x82ad714 "from-bill", exten=0x82ad764 "324", priority=5, label=0x0, callerid=0x8249588 "743", action=E_SPAWN, found=0xb67872fc, combined_find_spawn=1) at pbx.c:2670 #10 0x080e5f9a in ast_spawn_extension (c=0x82ad4d0, context=0x82ad714 "from-bill", exten=0x82ad764 "324", priority=5, callerid=0x8249588 "743", found=0xb67872fc, combined_find_spawn=1) at pbx.c:3161 #11 0x080e66d0 in __ast_pbx_run (c=0x82ad4d0) at pbx.c:3260 #12 0x080e78db in pbx_thread (data=0x82ad4d0) at pbx.c:3518 #13 0x0812efe4 in dummy_start (data=0x829a3e8) at utils.c:857 #14 0xb7d2e462 in start_thread () from /lib/i686/libpthread.so.0 #15 0xb7c7b82e in clone () from /lib/i686/libc.so.6 (gdb) bt full #0 0xb7c0217d in fclose () from /lib/i686/libc.so.6 No symbol table info available. #1 0xb6bd0758 in custom_log (cdr=0x82e6058) at cdr_custom.c:130 buf = "\"743\",\"743\",\"s\",\"zamestnanci\",\"Skinny/324@PJ-36\",\"\",\"\",\"\",\"2008-01-02 12:19:48\",\"1970-01-01 01:00:00\",\"2008-01-02 12:20:37\",\"49\",\"0\",\"NO ANSWER\",\"DOCUMENTATION\",\"\",\"1199272787.205\",\"\"\n\000\000\000\000\001\000\000\000\204&?\000\000\030\200"... dummy = {tech = 0x0, tech_pvt = 0x0, __field_mgr_pool = 0x0, name = 0x0, language = 0x0, musicclass = 0x0, accountcode = 0x0, call_forward = 0x0, uniqueid = 0x0, __field_mgr = {size = 0, used = 0}, fds = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, music_state = 0x0, generatordata = 0x0, generator = 0x0, _bridge = 0x0, masq = 0x0, masqr = 0x0, cdrflags = 0, _softhangup = 0, whentohangup = 0, blocker = 0, lock_dont_use = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' , __align = 0}, track = 0, file = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, lineno = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, reentrancy = 0, func = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, thread = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, reentr_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' , __align = 0}}, blockproc = 0x0, appl = 0x0, data = 0x0, fdno = 0, sched = 0x0, streamid = 0, stream = 0x0, vstreamid = 0, vstream = 0x0, oldwriteformat = 0, timingfd = 0, timingfunc = 0, timingdata = 0x0, _state = AST_STATE_DOWN, rings = 0, cid = {cid_dnid = 0x0, cid_num = 0x0, cid_name = 0x0, cid_ani = 0x0, cid_rdnis = 0x0, cid_pres = 0, cid_ani2 = 0, cid_ton = 0, cid_tns = 0}, dtmfq = '\0' , dtmff = {frametype = 0, subclass = 0, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, has_timing_info = 0, ts = 0, len = 0, seqno = 0}, context = '\0' , exten = '\0' , priority = 0, macrocontext = '\0' , macroexten = '\0' , macropriority = 0, dialcontext = '\0' , pbx = 0x0, amaflags = 0, cdr = 0x82e6058, adsicpe = AST_ADSI_UNKNOWN, zone = 0x0, monitor = 0x0, insmpl = 0, outsmpl = 0, fin = 0, fout = 0, hangupcause = 0, varshead = {first = 0x0, last = 0x0}, callgroup = 0, pickupgroup = 0, flags = 0, transfercapability = 0, readq = {first = 0x0, last = 0x0}, alertpipe = {0, 0}, nativeformats = 0, readformat = 0, writeformat = 0, writetrans = 0x0, readtrans = 0x0, rawreadformat = 0, rawwriteformat = 0, audiohooks = 0x0, chan_list = {next = 0x0}, jb = {conf = { flags = 0, max_size = 0, resync_threshold = 0, impl = '\0' }, impl = 0x0, jbobj = 0x0, timebase = {tv_sec = 0, tv_usec = 0}, next = 0, last_format = 0, logfile = 0x0, flags = 0}, emulate_dtmf_digit = 0 '\0', emulate_dtmf_duration = 0, dtmf_tv = {tv_sec = 0, tv_usec = 0}, datastores = {first = 0x0, last = 0x0}, epfd = 0, epfd_data = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, visible_indication = 0} __PRETTY_FUNCTION__ = "custom_log" #2 0x08084241 in post_cdr (cdr=0x82e6058) at cdr.c:1003 chan = 0x82e6198 "Skinny/324@PJ-36" i = (struct ast_cdr_beitem *) 0x821ce28 __PRETTY_FUNCTION__ = "post_cdr" #3 0x08084ffb in ast_cdr_detach (cdr=0x82e6058) at cdr.c:1170 newtail = (struct ast_cdr_batch_item *) 0x0 curr = 0 __PRETTY_FUNCTION__ = "ast_cdr_detach" #4 0x0808ae84 in ast_hangup (chan=0x82f9158) at channel.c:1493 res = 0 cdr = (struct ast_cdr *) 0x82e6058 __PRETTY_FUNCTION__ = "ast_hangup" #5 0xb6ce31a6 in hanguptree (outgoing=0x82f9760, exception=0x0, answered_elsewhere=0) at app_dial.c:342 oo = (struct chanlist *) 0x82f9798 #6 0xb6ceba62 in dial_exec_full (chan=0x82ad4d0, data=0xb6784eb8, peerflags=0xb6782d4c, continue_exec=0x0) at app_dial.c:1883 res = -1 rest = 0x0 cur = 0x0 outgoing = (struct chanlist *) 0x82f9760 peer = (struct ast_channel *) 0x0 to = -1 num = {chan = 0x82ad4d0, busy = 0, congestion = 0, nochan = 1} cause = 0 numsubst = "324@PJ3\000x-\"5\030-x-0-?", '\0' , "\002", '\0' , "P\221??-x---\"\b\"\000\000\001", '\0' , "-\177?P\227$\b----\177?7-x--\177?\000\000\000\000\000\000\000\000-\n-\\+x---*\b--*\b\224-x--\177?\\+x---*\bH,x---\\+x--,x---x---*\b\000\000\000\000-+x--\000\000\000\001\200---*\b--*\b--*\b--*\b{-*\b--*\b-7--"... cidname = '\0' config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = {tv_sec = 0, tv_usec = 0}, feature_timer = 0, timelimit = 0, play_warning = 0, warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0} calldurationlimit = 0 dtmfcalled = 0x0 dtmfcalling = 0x0 pa = {sentringing = 1, privdb_val = 0, privcid = '\0' , privintro = '\0' , status = "CANCEL\000R\000GS", '\0' } sentringing = 0 moh = 0 outbound_group = 0x0 result = 0 start_time = 1199272787 parse = 0xb6781ee0 "Skinny" opermode = 0 args = {argc = 3, argv = 0xb67823ec, peers = 0xb6781ee0 "Skinny", timeout = 0xb6781f05 "", options = 0xb6781f06 "tT", url = 0x0} opts = {flags = 1572864} opt_args = {0x0, 0xb7ce7ff4 "|-\023", 0xb7000000 "", 0x0, 0xb67824d8 "", 0xb7ce7ff4 "|-\023", 0x0, 0x0, 0x0, 0xb678241c ""} datastore = (struct ast_datastore *) 0x82f9798 fulldial = 0 num_dialed = 3 __PRETTY_FUNCTION__ = "dial_exec_full" #7 0xb6cec3c1 in dial_exec (chan=0x82ad4d0, data=0xb6784eb8) at app_dial.c:1904 peerflags = {flags = 0} #8 0x080de83d in pbx_exec (c=0x82ad4d0, app=0x81ffbe0, data=0xb6784eb8) at pbx.c:722 res = -1233638240 u = (struct ast_module_user *) 0x8249750 saved_c_appl = 0x0 saved_c_data = 0x0 #9 0x080e4412 in pbx_extension_helper (c=0x82ad4d0, con=0x0, context=0x82ad714 "from-bill", exten=0x82ad764 "324", priority=5, label=0x0, callerid=0x8249588 "743", action=E_SPAWN, found=0xb67872fc, combined_find_spawn=1) at pbx.c:2670 e = (struct ast_exten *) 0x822e4d0 app = (struct ast_app *) 0x81ffbe0 res = -1233618032 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x82ad714 "from-bill"} passdata = "Skinny/324@PJ&SIP/324&Skinny/324@PJ3,,tT\0004@PJ ... 0\000\000\000\000\000\000\000\000\000s]-\225\223\207\215\233\224-h\025\020\030\005\030\021`D------B}~qI--p--d-r~S----M--ppswR--------Kp]-\227\223\204\217\237\226-\021k\034\005\004\032\034ovE------usxKI--x--l-N\177-----v--e}adq--------BNQ-\226\237\206\215\237\226-\024h\037\004\005\036\035"... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #10 0x080e5f9a in ast_spawn_extension (c=0x82ad4d0, context=0x82ad714 "from-bill", exten=0x82ad764 "324", priority=5, callerid=0x8249588 "743", found=0xb67872fc, combined_find_spawn=1) at pbx.c:3161 No locals. #11 0x080e66d0 in __ast_pbx_run (c=0x82ad4d0) at pbx.c:3260 dst_exten = "P\221?-\r\000\000p\211/\bp\211/\b@Nx--\222(--\027--\177? \221?(\004\000\000\034rx-=9-A.--\222(-\220{x--.\000\000Q\003?\000\000\000\000<\024?P\224?--?-\222(-P\221?-\b?1\004\000\000H\000\000\000<\024?\002\000\000\000-\222(-\000\000\000\000\220{x--qx-0H$-D\232/\b-\232/\b8rx-\003H$-\204\231/\b-\177? \221? \215/\bP\221?\020p- \221?-\210/\b-\177? \221?(\004\000\000(\215/\b-U-"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #12 0x080e78db in pbx_thread (data=0x82ad4d0) at pbx.c:3518 c = (struct ast_channel *) 0x82ad4d0 #13 0x0812efe4 in dummy_start (data=0x829a3e8) at utils.c:857 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1210855436, 0, -1233618032, -1233620024, 59401868, -693042192}, __mask_was_saved = 0}}, __pad = {0xb6787480, 0x0, 0x0, 0xb7ce7e70}} __cancel_routine = (void (*)(void *)) 0x806d230 __cancel_arg = (void *) 0xb6787b90 not_first_call = 0 ret = (void *) 0xb7cb9f94 a = {start_routine = 0x80e78c4 , data = 0x82ad4d0, name = 0x82f8ce0 "pbx_thread", ' ' , "started at [ 3539] pbx.c ast_pbx_start()"} lock_info = (struct thr_lock_info *) 0x82f8d28 mutex_attr = {__size = "\001\000\000", __align = 1} #14 0xb7d2e462 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #15 0xb7c7b82e in clone () from /lib/i686/libc.so.6 No symbol table info available. (gdb)