(gdb) bt full #0 0x000000384b030215 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x000000384b031cc0 in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x000000384b06a7fb in __libc_message () from /lib64/libc.so.6 No symbol table info available. #3 0x000000384b06fff3 in malloc_consolidate () from /lib64/libc.so.6 No symbol table info available. #4 0x000000384b0723fd in _int_malloc () from /lib64/libc.so.6 No symbol table info available. #5 0x000000384b073ce0 in calloc () from /lib64/libc.so.6 No symbol table info available. #6 0x00000000004e12a2 in _ast_calloc (num=1, len=506, file=0x51e0c4 "frame.c", lineno=505, func=0x51e3e3 "ast_frdup") at /root/_ast14/asterisk-1.4.24.1/include/asterisk/utils.h:358 p = (void *) 0x2aab28228ac0 __PRETTY_FUNCTION__ = "_ast_calloc" #7 0x0000000000474424 in ast_frdup (f=0x2aab28230388) at frame.c:505 out = (struct ast_frame *) 0x0 len = 506 srclen = 9 buf = (void *) 0x0 frames = (struct ast_frame_cache *) 0x2aab28228ac0 __PRETTY_FUNCTION__ = "ast_frdup" #8 0x00000000004d062d in ast_slinfactory_feed (sf=0x2aab282298e0, f=0x2aab28230388) at slinfactory.c:97 begin_frame = (struct ast_frame *) 0x2aab28230388 duped_frame = (struct ast_frame *) 0x0 frame_ptr = (struct ast_frame *) 0x4a489292 x = 10923 __PRETTY_FUNCTION__ = "ast_slinfactory_feed" #9 0x0000000000432fc2 in ast_audiohook_write_frame (audiohook=0x2aab28228cf0, direction=AST_AUDIOHOOK_DIRECTION_WRITE, frame=0x2aab28230388) at audiohook.c:153 factory = (struct ast_slinfactory *) 0x2aab282298e0 other_factory = (struct ast_slinfactory *) 0x2aab28228eb0 time = (struct timeval *) 0x2aab2822a320 previous_time = {tv_sec = 1246270098, tv_usec = 589028} our_factory_ms = 20 other_factory_samples = 160 other_factory_ms = 20 __PRETTY_FUNCTION__ = "ast_audiohook_write_frame" #10 0x00000000004357ca in audio_audiohook_write_list (chan=0x2aab180a3fb0, audiohook_list=0x2aab282289d0, direction=AST_AUDIOHOOK_DIRECTION_WRITE, frame=0x2aab2822c518) at audiohook.c:603 __list_next = (struct ast_audiohook *) 0x0 __list_prev = (struct ast_audiohook *) 0x0 __new_prev = (struct ast_audiohook *) 0x2aab28228cf0 in_translate = (struct ast_audiohook_translate *) 0x2aab282289e0 out_translate = (struct ast_audiohook_translate *) 0x2aab28228a00 start_frame = (struct ast_frame *) 0x2aab2822c518 middle_frame = (struct ast_frame *) 0x2aab28230388 end_frame = (struct ast_frame *) 0x2aab2822c518 audiohook = (struct ast_audiohook *) 0x2aab28228cf0 samples = 160 __PRETTY_FUNCTION__ = "audio_audiohook_write_list" #11 0x0000000000436075 in ast_audiohook_write_list (chan=0x2aab180a3fb0, audiohook_list=0x2aab282289d0, direction=AST_AUDIOHOOK_DIRECTION_WRITE, frame=0x2aab2822c518) at audiohook.c:698 No locals. #12 0x000000000044c8a8 in ast_write (chan=0x2aab180a3fb0, fr=0x2aab2822c518) at channel.c:2850 old_frame = (struct ast_frame *) 0x2aab2822c518 res = -1 count = 0 f = (struct ast_frame *) 0x0 f2 = (struct ast_frame *) 0x0 __PRETTY_FUNCTION__ = "ast_write" #13 0x00002aaab242f9c5 in wait_for_answer (in=0x2aab180a3fb0, outgoing=0x2aab2822a4a0, to=0x42d06e94, peerflags=0x42d07280, sentringing=0x42d06c2c, status=0x42d06c30 "NOANSWER", statussize=256, busystart=0, nochanstart=0, congestionstart=0, priority_jump=0, result=0x42d06c28) at app_dial.c:697 f = (struct ast_frame *) 0x2aab2822c518 c = (struct ast_channel *) 0x2aab2822f290 o = (struct dial_localuser *) 0x2aab2822a4a0 pos = 2 numlines = 1 winner = (struct ast_channel *) 0x2aab2822f290 watchers = {0x2aab180a3fb0, 0x2aab2822f290, 0x0, 0x0, 0x0, 0x0, 0x2, 0x1b00000000, 0x200000000, 0x1, 0x0, 0x0, 0x0, 0x42d05cc0, 0x522e3d, 0x384b08cccf, 0x3231323732000011, 0x384b0434ef, 0x42d05c80, 0x0, 0x0, 0x42d05d00, 0x3000000020, 0x42d05a30, 0x42d05970, 0x384b0434ef, 0x42d05cc0, 0x0, 0xfd00, 0x108031, 0x0, 0x7c0b3b0, 0x42d05760, 0x49622b, 0xf5, 0x1000, 0x10, 0x4a48927e, 0x0, 0x495ceb, 0xffffffff00000000, 0x2aab180a4444, 0x826f16d, 0x42d05bc0, 0x0, 0x2aab180a3fb0, 0x0, 0x3c, 0x0, 0x42d09380, 0x42d05760, 0x495f80, 0x42d05950, 0x0, 0x0, 0x8274370, 0x108274310, 0x826f0c0, 0x42d05830, 0x496659, 0x0, 0x528813, 0x2aab00000002, 0x2aab28131653, 0x0, 0x495ceb, 0xffffffff281316f0, 0x2aab180a4444, 0x8265b36, 0x42d05bc0, 0x0, 0x2aab180a3fb0, 0x0, 0x3b, 0x826ed80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8265bb0, 0x108265b50, 0x8265a90, 0x42d05900, 0x496659, 0x0, 0x528813, 0x2, 0x1000, 0x0, 0x495ceb, 0xfffffffffbad8001, 0x2aab180a4444, 0x828d57b, 0x42d05bc0, 0x0, 0x2aab180a3fb0, 0x0, 0x33, 0x82650b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x828d600, 0x0, 0x7c0b3b0, 0x42d059d0, 0x49622b, 0x0, 0x528813, 0x2, 0x42d11940, 0x0, 0x495ceb, 0xffffffff42d05ec0, 0x2aab180a4444, 0x8275dea, 0x42d05bc0, 0x0, 0x2aab180a3fb0, 0x0, 0x3d, 0x0, 0x42d09380, 0x42d059d0, 0x495f80, 0x0, 0x0, 0x0, 0x0, 0x108275e10, 0x8275d40, 0x42d05aa0, 0x496659, 0x0, 0x528813, 0x2, 0x33242d09380, 0x0, 0x384b06bfa7, 0xffffffff00000000, 0x2aab180a4444, 0x82b2623, 0x42d05bc0, 0x0, 0x2aab180a3fb0, 0x0, 0x3c, 0x8275a00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x100000000, 0x0, 0x100000000, 0x82b2580, 0x2aab2822f290, 0x4e1501, 0x0, 0x2aab2813bc90, 0x2aab2822f290, 0x42d05b10, 0x42d09380, 0x42d11940, 0x41bad000, 0x4e2f77, 0x2aab180a43f4, 0x76b7c0, 0x2aab2813bc90, 0x180a3fb0, 0x42d05b60, 0x4a5942, 0x82b2170, 0x52cc70, 0x180e00000000, 0x525854, 0x52cc22, 0x76b7c0, 0x42d05eaf, 0x0, 0x42d05b70, 0x4a5910, 0x42d05ff0, 0x499424, 0x0, 0x528813, 0x2, 0x0, 0x0, 0x2aab180a4444, 0x2aab180a43f4, 0x2aab180a3fb0, 0x82b2498, 0x82b1b88...} numbusy = 0 numcongestion = 0 numnochan = 0 prestart = 0 orig = 300000 peer = (struct ast_channel *) 0x0 single = 1 __PRETTY_FUNCTION__ = "wait_for_answer" #14 0x00002aaab2433c79 in dial_exec_full (chan=0x2aab180a3fb0, data=0x42d09420, peerflags=0x42d07280, continue_exec=0x0) at app_dial.c:1378 res = 0 u = (struct ast_module_user *) 0x2aab2820fc50 rest = 0x0 cur = 0x0 outgoing = (struct dial_localuser *) 0x2aab2822a4a0 peer = (struct ast_channel *) 0x42d07010 to = 281425 numbusy = 0 numcongestion = 0 numnochan = 0 cause = 0 numsubst = "dcz-ctn/0785025597\000(\000\000\000\000H\216\002(«*\000\000\000\000ÐB", '\0' , "É\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\020\000\000\0000", '\0' , "0pÐB\000\00019\001\000\000\000«*\000\000ÿÿÿÿ«*\000\000H\216\002(«*\000\000H\216\002(«*\000\000`ô4K8", '\0' , "sÐB\000\000\000\000@rÐB\000\000\000\000:\000\000\000\000\000\000\000\000`ní¸*\000\000:\000\000\000\000\000\000\000:\000\000\000\a\000\000\000\f\000\000\000\035\000\000\000\005\000\000\000m\000\000\000\001\000\000\000³"... cidname = '\0' privdb_val = 0 calldurationlimit = -1 timelimit = 0 play_warning = 0 warning_freq = 0 warning_sound = 0x0 end_sound = 0x0 start_sound = 0x0 dtmfcalled = 0x0 dtmfcalling = 0x0 status = "NOANSWER\000GS", '\0' play_to_caller = 0 play_to_callee = 0 sentringing = 1 moh = 0 outbound_group = 0x2aab2820fadf "OUT_2" result = 0 start_time = 1246270078 privintro = "=.R\000\000\000\000\000ÏÌ\bK8\000\000\000.\000\00027212ï4\004K8\000\000\000 nÐB", '\0' , " oÐB\000\000\000\000 \000\000\0000\000\000\000PlÐB\000\000\000\000\220kÐB\000\000\000\000ï4\004K8\000\000\000ànÐB", '\0' , "ý\000\000\000\000\000\0001\200\020\000\000\000\000\000\001\000\000\000\000\000\000\000¤\201", '\0' , "õ\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\020\000\000\000\000\000\000\000~\222HJ", '\0' , "d\2116F", '\0' , "\026:HJ", '\0' ... privcid = "\000\000\000\000\n", '\0' , " ", '\0' , "d", '\0' , "\002", '\0' , "\033\000\000\000\000\000\000\000\002\000\000\000\001\000\000\000«*\000\000\000\000\000\000\000\002\000\000dâ\006K8", '\0' , "ànÐB\000\000\000" parse = 0x42d06130 "SIP" opermode = 0 args = {argc = 3, argv = 0x42d066f8, peers = 0x42d06130 "SIP", timeout = 0x42d06147 "300", options = 0x42d0614b "", url = 0x0} opts = {flags = 0} opt_args = {0x42d06800 "", 0x0, 0x0, 0x0, 0x42d06e90 "", 0x534303 "%c[%d;%sm%s%c[0;%d;%dm", 0x42d06d30 "\001\200­û\001", 0x0, 0x0} datastore = (struct ast_datastore *) 0x2aab2822a660 fulldial = 0 num_dialed = 1 __PRETTY_FUNCTION__ = "dial_exec_full" #15 0x00002aaab2435b6f in dial_exec (chan=0x2aab180a3fb0, data=0x42d09420) at app_dial.c:1804 peerflags = {flags = 0} #16 0x000000000049501d in pbx_exec (c=0x2aab180a3fb0, app=0x7c48b30, data=0x42d09420) at pbx.c:537 res = 0 saved_c_appl = 0x834e678 "Macro" saved_c_data = 0x42d0e9a0 "dialout-trunk|2|0785025597||" #17 0x00000000004990d3 in pbx_extension_helper (c=0x2aab180a3fb0, con=0x0, context=0x2aab180a4350 "macro-dialout-trunk", exten=0x2aab180a43a0 "s", priority=19, label=0x0, callerid=0x2aab2808e6e0 "7550", action=E_SPAWN) at pbx.c:1863 e = (struct ast_exten *) 0x8279cd0 app = (struct ast_app *) 0x7c48b30 res = 1120976368 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x2aab180a4350 "macro-dialout-trunk"} passdata = "SIP/dcz-ctn/0785025597|300|", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #18 0x000000000049a452 in ast_spawn_extension (c=0x2aab180a3fb0, context=0x2aab180a4350 "macro-dialout-trunk", exten=0x2aab180a43a0 "s", priority=19, callerid=0x2aab2808e6e0 "7550") at pbx.c:2320 No locals. #19 0x00002aaabc560c73 in _macro_exec (chan=0x2aab180a3fb0, data=0x42d0e9a0, exclusive=0) at app_macro.c:346 c = (struct ast_context *) 0x8278aa0 e = (struct ast_exten *) 0x8279cd0 s = 0x2aab2811497c "1" tmp = 0x42d0b8f0 "dialout-trunk" cur = 0x0 rest = 0x0 macro = 0x42d0b8f0 "dialout-trunk" fullmacro = "macro-dialout-trunk\000, \"%s\") %s\n", '\0' , "è\222R\000\000\000\000\000p +\b\001\000\000\000\220\037+\b\000\000\000" varname = "ARG4\000\000\000\000H\216\002(\206\003\000\000\000ÉÐB\000\000\000\000\000éÐB\000\000\000\000@\031ÑB\000\000\000\000\000кA\000\000\000\000pÈÐB\000\000\000\000¹mH\000\000\000\000\000\177 -- Executin" runningapp = "Dial\000f\000\000ÑNH\000\000\000\000\000\000éÐB\000\000\000\000\000\000\000\000\n\026\002\000\033[1;30;4\t\000\000\000\000\000\000\000T\023R\000\000\000\000\000T\023R\000\000\000\000\000ð\035v\000\000\000\000\000>.R\000\000\000\000" runningdata = "${OUT_${DIAL_TRUNK}}/${OUTNUM}|300|${DIAL_TRUNK_OPTIONS}\000|Set|DIAL_TRUNK_OPTIONS=M(setmusic^${MOHCLASS})${DIAL_TRUNK_OPTIONS}", '\0' , "OÆÐB\000\000\000\000\000ÆÐB\000\000\000\000\000ÆÐB\000\000\000\000\020ÄÐB\000\000\000\000\003CS\000\000\000\000\000O\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000°ÂÐB\000\000\000\000:"... oldargs = {0x0 } argc = 5 x = 5411624 res = 0 oldexten = "00785025597", '\0' oldpriority = 4 gosub_level = 0 pc = "4\000ÐB", '\0' , "ý\000\000\000\000\000\0001\200\020\000\000\000\000\000\001\000\000\000\000\000\000\000¤\201", '\0' , "õ\000\000\000\000\000\000\000\000\020\000\000\000\000\000" depthc = "1\000ÐB\000\000\000\000ï4\004K" oldcontext = "from-internal", '\0' inhangupc = 0x0 offset = 0 depth = 0 maxdepth = 7 setmacrocontext = 1 autoloopflag = 512 inhangup = 0 save_macro_exten = 0x0 save_macro_context = 0x0 save_macro_priority = 0x0 save_macro_offset = 0x0 u = (struct ast_module_user *) 0x2aab281640a0 macro_store = (struct ast_datastore *) 0x2aab240877a0 __PRETTY_FUNCTION__ = "_macro_exec" #20 0x00002aaabc5620ec in macro_exec (chan=0x2aab180a3fb0, data=0x42d0e9a0) at app_macro.c:538 No locals. #21 0x000000000049501d in pbx_exec (c=0x2aab180a3fb0, app=0x834e650, data=0x42d0e9a0) at pbx.c:537 res = 0 saved_c_appl = 0x0 saved_c_data = 0x0 #22 0x00000000004990d3 in pbx_extension_helper (c=0x2aab180a3fb0, con=0x0, context=0x2aab180a4350 "macro-dialout-trunk", exten=0x2aab180a43a0 "s", priority=4, label=0x0, callerid=0x2aab2808e6e0 "7550", action=E_SPAWN) at pbx.c:1863 e = (struct ast_exten *) 0x826e910 app = (struct ast_app *) 0x834e650 res = 1102761984 q = {incstack = {0x82b2498 "from-internal", 0x82b1b88 "from-internal-xfer", 0x8293ca8 "from-internal-custom", 0x7c0b6d8 "parkedcalls", 0x82b5668 "ext-fax", 0x82b36b8 "ext-local-confirm", 0x82b3da8 "findmefollow-ringallv2", 0x828aff8 "from-internal-additional", 0x7eca428 "app-dictate-record", 0x7ecaf08 "app-dictate-send", 0x7eed058 "app-pbdirectory", 0x7eee9d8 "ext-paging", 0x7eef648 "app-callwaiting-cwoff", 0x7eefe08 "app-callwaiting-cwon", 0x7ef1c98 "app-miscapps-1", 0x7ef2998 "park-hints", 0x7ef3a58 "ext-queues", 0x7f0e768 "ext-group", 0x7f13d88 "vmblast-grp", 0x7f50268 "app-gabcast", 0x7f640f8 "app-speeddial", 0x7f65e58 "app-calltrace", 0x7f674c8 "app-directory", 0x7f67ca8 "app-echo-test", 0x7f68468 "app-speakextennum", 0x7f68ee8 "app-speakingclock", 0x7f6a028 "app-recordings", 0x7f74e98 "app-dnd-off", 0x7f75dc8 "app-dnd-on", 0x7f76d18 "app-dnd-toggle", 0x7f78058 "ext-dnd-hints", 0x7fa91a8 "app-cf-busy-off", 0x7fa9ed8 "app-cf-busy-off-any", 0x7faa978 "app-cf-busy-on", 0x7fabf18 "app-cf-off", 0x7facc08 "app-cf-off-any", 0x7fad688 "app-cf-on", 0x7faec28 "app-cf-unavailable-off", 0x7faf938 "app-cf-unavailable-on", 0x7fb0ef8 "app-dialvm", 0x7fb2768 "app-vmmain", 0x7fb3df8 "app-blacklist", 0x7fb6f98 "app-fmf-toggle", 0x7fb83a8 "ext-findmefollow", 0x8043ab8 "fmgrps", 0x8048538 "app-userlogonoff", 0x8048c78 "app-pickup", 0x80559c8 "app-zapbarge", 0x8056178 "app-chanspy", 0x80568a8 "ext-test", 0x80e3b68 "ext-local", 0x82653d8 "outbound-allroutes", 0x8265ef8 "outrt-001-test", 0x82665e8 "outrt-002-nha-ctn-isara", 0x8266d38 "outrt-003-nha-pta", 0x8267e68 "outrt-004-nha-jhb", 0x8269618 "outrt-005-6Local", 0x826c7b8 "outrt-006-2National", 0x0 }, stacklen = 58, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x8265a61 "outrt-007-0International"} passdata = "dialout-trunk|2|0785025597||", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #23 0x000000000049a452 in ast_spawn_extension (c=0x2aab180a3fb0, context=0x2aab180a4350 "macro-dialout-trunk", exten=0x2aab180a43a0 "s", priority=4, callerid=0x2aab2808e6e0 "7550") at pbx.c:2320 No locals. #24 0x000000000049a8f6 in __ast_pbx_run (c=0x2aab180a3fb0) at pbx.c:2410 dst_exten = "@\031ÑB\000\000\000\000\000кA\000\000\000\000\000\020\000\000\000\000\000\000¢\022N", '\0' , " b\200K8\000\000\000\000\000\000\000\000\000\000@\220XS\000\000\000\000\000\000\000\000\000\220\000\000\000¨XS\000\000\000\000\000H\016", '\0' , "P\017ÑB", '\0' , "@\031ÑB\000\000\000\000O\025N", '\0' , "\220¼\023(«*\000\000@\031ÑB\000\000\000\000\001\025N", '\0' , "\220¼\023(«*\000\000@\031ÑB\000\000\000\000 \017ÑB", '\0' , "@\031ÑB\000\000\000\000À\017ÑB\000\000\000\000w"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 emc = 0x757b30 "" __PRETTY_FUNCTION__ = "__ast_pbx_run" #25 0x000000000049b9c5 in pbx_thread (data=0x2aab180a3fb0) at pbx.c:2636 c = (struct ast_channel *) 0x2aab180a3fb0 #26 0x00000000004e3685 in dummy_start (data=0x2aab1800a130) at utils.c:856 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -8899225702934891720, 0, 1120999744, 1102761984, 4096, -8899225702934891928, -8899225701835270274}, __mask_was_saved = 0}}, __pad = {0x42d111d0, 0x0, 0x2aab2801b4b0, 0x88047d0}} __cancel_routine = (void (*)(void *)) 0x42816d __cancel_arg = (void *) 0x42d11940 not_first_call = 0 ret = (void *) 0x384b34c890 a = {start_routine = 0x49b9a8 , data = 0x2aab180a3fb0, name = 0x2aab1805b860 "pbx_thread", ' ' , "started at [ 2660] pbx.c ast_pbx_start()"} lock_info = (struct thr_lock_info *) 0x2aab2813bc90 mutex_attr = {__size = "\001\000\000", __align = 1} #27 0x000000384b806367 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #28 0x000000384b0d2f7d in clone () from /lib64/libc.so.6 No symbol table info available. (gdb)