(gdb) bt full #0 0x00007f9b923fcee5 in local_ast_moh_start (chan=0x7f9b8c5990f0, mclass=0x8c1e6350
, interpclass=0x0) at /usr/src/dgvbuild/asterisk/asterisk-1.6.2.13/include/asterisk/strings.h:65 mohclass = (struct mohclass *) 0x0 state = (struct moh_files_state *) 0x0 var = (struct ast_variable *) 0x0 res = 1734832512 realtime_possible = 0 __PRETTY_FUNCTION__ = "local_ast_moh_start" __FUNCTION__ = "local_ast_moh_start" #1 0x0000000000468ba9 in ast_moh_start (chan=0x7f9b8c5990f0, mclass=0x8c1e6350
, interpclass=0x0) at channel.c:5768 __PRETTY_FUNCTION__ = "ast_moh_start" #2 0x00007f9b9045e0d0 in local_indicate (ast=0x7f9b8c5990f0, condition=16, data=0x8c1e6350, datalen=0) at chan_local.c:483 p = (struct local_pvt *) 0x7f9b8c574d80 res = 0 f = {frametype = AST_FRAME_CONTROL, subclass = 0, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = {ptr = 0x0, uint32 = 0, pad = "\000\000\000\000\000\000\000"}, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, flags = 0, ts = 0, len = 0, seqno = 0} isoutbound = 32667 #3 0x000000000045f535 in ast_indicate_data (chan=0x7f9b8c5990f0, _condition=16, data=0x8c1e6350, datalen=0) at channel.c:3249 condition = AST_CONTROL_HOLD ts = (struct ast_tone_zone_sound *) 0x0 res = -1 __PRETTY_FUNCTION__ = "ast_indicate_data" #4 0x0000000000466059 in ast_generic_bridge (c0=0x7f9b8c5990f0, c1=0x7f9b603218e0, config=0x7f9b676789f0, fo=0x7f9b67677b18, rc=0x7f9b67677b10, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:5119 bridge_exit = 0 who = (struct ast_channel *) 0x7f9b603218e0 other = (struct ast_channel *) 0x7f9b8c5990f0 cs = {0x7f9b8c5990f0, 0x7f9b603218e0, 0x7f9b603218e0} f = (struct ast_frame *) 0x7f9b8c581da0 res = AST_BRIDGE_COMPLETE o0nativeformats = 4 o1nativeformats = 256 watch_c0_dtmf = 1 watch_c1_dtmf = 2 pvt0 = (void *) 0x7f9b8c574d80 pvt1 = (void *) 0x878 frame_put_in_jb = 0 jb_in_use = 0 to = -1 __PRETTY_FUNCTION__ = "ast_generic_bridge" 0000005 0x0000000000467f8c in ast_channel_bridge (c0=0x7f9b8c5990f0, c1=0x7f9b603218e0, config=0x7f9b676789f0, fo=0x7f9b67677b18, rc=0x7f9b67677b10) at channel.c:5500 now = {tv_sec = 0, tv_usec = 0} to = -1 who = (struct ast_channel *) 0x0 res = AST_BRIDGE_COMPLETE nativefailed = 0 firstpass = 1 o0nativeformats = 4 o1nativeformats = 256 time_left_ms = 0 caller_warning = 0 '\0' callee_warning = 0 '\0' __PRETTY_FUNCTION__ = "ast_channel_bridge" 0000006 0x0000000000496063 in ast_bridge_call (chan=0x7f9b8c5990f0, peer=0x7f9b603218e0, config=0x7f9b676789f0) at features.c:2655 other = (struct ast_channel *) 0x7f9b60002641 f = (struct ast_frame *) 0x0 who = (struct ast_channel *) 0x1000 chan_featurecode = '\0' peer_featurecode = '\0' orig_channame = "Local/66375@from-internal-e2e8;2\000zgg\233\177\000\000?ygg\233\177\000\000\000\000\000\000\000\000\000\000\230?r\230\233\177\000\000?ygg\233\177\000\000?ygg\233\177\000" orig_peername = "IAX2/itrunk-dgv-2168\000\000\000\000?(X\000\000\000\000\0001\000\000\000?%\000\000t?W\000\000\000\000\000\005)X\000\000\000\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000\000\000?e?\000\000\000\000" res = 0 diff = 5674959 hasfeatures = 0 hadfeatures = 0 autoloopflag = 47 aoh = (struct ast_option_header *) 0x5697c4 backup_config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = {tv_sec = 0, tv_usec = 0}, nexteventts = {tv_sec = 0, tv_usec = 0}, partialfeature_timer = {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, end_bridge_callback = 0, end_bridge_callback_data = 0x0, end_bridge_callback_data_fixup = 0} bridge_cdr = (struct ast_cdr *) 0xd76e90 orig_peer_cdr = (struct ast_cdr *) 0x7f9b60083950 chan_cdr = (struct ast_cdr *) 0x7f9b8c7c2dd0 peer_cdr = (struct ast_cdr *) 0x7f9b60083950 new_chan_cdr = (struct ast_cdr *) 0x0 new_peer_cdr = (struct ast_cdr *) 0x0 __PRETTY_FUNCTION__ = "ast_bridge_call" ---Type to continue, or q to quit--- 0000007 0x00007f9b85ecf8ee in dial_exec_full (chan=0x7f9b8c5990f0, data=0x7f9b6767b1d0, peerflags=0x7f9b67678f70, continue_exec=0x0) at app_dial.c:2269 number = 0x7f9b60002641 "itrunk-dgv/6375" res = 0 rest = 0x0 cur = 0x0 outgoing = (struct chanlist *) 0x0 peer = (struct ast_channel *) 0x7f9b603218e0 to = 294604 num = {chan = 0x7f9b8c5990f0, busy = 0, congestion = 0, nochan = 0} cause = 0 numsubst = "itrunk-dgv/6375\000]\223W\000\000\000\000\000\000\020\000\000\000\000\000\000\234,?\000\000\000\000\000??q\230\233\177\000\000\001\200??0\000\000\000\234,?\000\000\000\000\000\234,?\000\000\000\000\000\234,?\000\000\000\000\000\234,?\000\000\000\000\000\236,?\000\000\000\000\000?,?\000\000\000\000\000\234,?\000\000\000\000\000?,?", '\0' , "\020\221gg", '\0' , "hg\233\177\000\000\000\000\000\000\000\000\000\000????\233\177\000\000h?{\000\000\000\000\000\000\001", '\0' , "?+?\000\000\000\000\000?,?\000\000\000\000\000???"... cidname = '\0' config = {features_caller = {flags = 18}, features_callee = {flags = 18}, start_time = {tv_sec = 1285332750, tv_usec = 660800}, nexteventts = {tv_sec = 0, tv_usec = 0}, partialfeature_timer = {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 = 3, end_bridge_callback = 0x7f9b85ecb2cb , end_bridge_callback_data = 0x7f9b8c5990f0, end_bridge_callback_data_fixup = 0x7f9b85ecb3e0 } calldurationlimit = {tv_sec = 0, tv_usec = 0} dtmfcalled = 0x0 dtmfcalling = 0x0 pa = {sentringing = 0, privdb_val = 0, privcid = '\0' , privintro = '\0' , status = "ANSWER\000R\000GS", '\0' } sentringing = 0 moh = 0 outbound_group = 0x0 result = 0 parse = 0x7f9b67677ce0 "IAX2" opermode = 0 delprivintro = 0 args = {argc = 3, argv = 0x7f9b676783a8, peers = 0x7f9b67677ce0 "IAX2", timeout = 0x7f9b67677cf5 "300", options = 0x7f9b67677cf9 "TtWw", url = 0x0} opts = {flags = 7864320} opt_args = {0x577d5c "%s", 0x7f9b67678ba0 "", 0x7f9b67678510 "", 0x7f9b67683950 "P9hg\233\177", 0x0, 0x7f9b67678ac0 "", 0x7f9b67678ad0 "itrunk-dgv/6375", 0x578a5e "", 0x578a5e "", 0x7f9b986f5a87 "H9?\017\205????Ic????\177H)?H9?\017\207\214???E\001?L\213?????E)?A\200>", 0x2
, 0x7f9b67678af0 "\234,?"} datastore = (struct ast_datastore *) 0x7f9b8c2017d0 fulldial = 0 num_dialed = 1 __PRETTY_FUNCTION__ = "dial_exec_full" 0000008 0x00007f9b85ed0128 in dial_exec (chan=0x7f9b8c5990f0, data=0x7f9b6767b1d0) at app_dial.c:2353 peerflags = {flags = 4302831616} 0000009 0x00000000004c81db in pbx_exec (c=0x7f9b8c5990f0, app=0xd39dc0, data=0x7f9b6767b1d0) at pbx.c:1363 res = 36 u = (struct ast_module_user *) 0x7f9b6034ac70 saved_c_appl = 0xb720f8 "Macro" saved_c_data = 0x7f9b67680900 "dialout-trunk,1,6375,," __PRETTY_FUNCTION__ = "pbx_exec" 0000010 0x00000000004d26fe in pbx_extension_helper (c=0x7f9b8c5990f0, con=0x0, context=0x7f9b8c5994b0 "macro-dialout-trunk", exten=0x7f9b8c599500 "s", priority=23, label=0x0, callerid=0x7f9b6030ea30 "1123567383", action=E_SPAWN, found=0x7f9b6767dc34, combined_find_spawn=1) at pbx.c:4275 e = (struct ast_exten *) 0x7f9b8c9aaa50 app = (struct ast_app *) 0xd39dc0 res = 2079293687 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7f9b8c5994b0 "macro-dialout-trunk"} passdata = "IAX2/itrunk-dgv/6375,300,TtWw\000375\0002630.357,09/24/2010 09:50:31,6366,g6365-20100924-095031-1285332630.357.WAV,CANCEL,,SIP/6366-00000035,6365,6365\000\000\000\000/\000\000\000?\227V\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\0004?gg\233\177\000\000?2`\233\177\000\000?gg\233\177\000\000"... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" 0000011 0x00000000004d3e82 in ast_spawn_extension (c=0x7f9b8c5990f0, context=0x7f9b8c5994b0 "macro-dialout-trunk", exten=0x7f9b8c599500 "s", priority=23, callerid=0x7f9b6030ea30 "1123567383", found=0x7f9b6767dc34, combined_find_spawn=1) at pbx.c:4746 No locals. 0000012 0x00007f9b7bef6c97 in _macro_exec (chan=0x7f9b8c5990f0, data=0x7f9b67680900, exclusive=0) at app_macro.c:398 c = (struct ast_context *) 0x7f9b8c6e9f30 e = (struct ast_exten *) 0x7f9b8c9aaa50 foundx = 1 s = 0x0 tmp = 0x7f9b6767d6f0 "dialout-trunk" cur = 0x0 rest = 0x0 macro = 0x7f9b6767d6f0 "dialout-trunk" fullmacro = "macro-dialout-trunk\000\000\000\000\000dialplan,all\000\020\000\000t?W\000\000\000\000\000\020\000\000\000\000\000\000\000 yK\000\000\000\000\000d?W\000\000\000\000\000\220?{\000\000\000\000" varname = "ARG4\000\177\000\000@\bhg\233\177\000\000`2hg\233\177\000\000P9hg\233\177\000\000\000\020\000\000\000\000\000\000Z\222K\000\000\000\000\000?+?\000\000\000\000\000??{\000\000\000\000\000@?gg\233\177\000\000\017+L\000\000\000\000" runningapp = "Dial\000f\000\000?Ft\230\233\177\000\000??W\000\000\000\000\000?R\000\000\000\000\000J?W\000\000\000\000\000(?gg?\f\000\000\b\237\234L\000\000\000\000y\213K\000\000\000\000\000\b\237\234L\000\000\000\000@?gg\233\177\000" runningdata = "${OUT_${DIAL_TRUNK}}/${OUTNUM},300,${DIAL_TRUNK_OPTIONS}\000o\"]]?gocall\000\000\000\000 ?gg\233\177\000\000?\000\000\000\224?????gg\233\177\000\000\030\000\000\0000\000\000\000\020?gg\233\177\000\000P?gg\233\177\000\000??Q\000\000\000\000\000\211\210\210\210\210\210\210\210\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000@?gg\233\177\000\000\200?gg\233\177\000\000???\000\000\000\000\000\b\000\000\000\000\000\000\000\"\025}\230\233\177\000\000?\000\000\000\000\000\000\000"... oldargs = {0x0 } argc = 5 x = 132176 res = 0 oldexten = "66375", '\0' oldpriority = 1 ---Type to continue, or q to quit--- gosub_level = 0 pc = "1", '\0' , "????????H?W\000\000\000\000\000??W", '\0' , "\b?gg\233\177\000\000\006", '\0' depthc = "1\000\000\000\000\000\000\000\000\000\000" oldcontext = "from-internal", '\0' inhangupc = 0x0 offset = 32667 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 macro_store = (struct ast_datastore *) 0x7f9b8c1df300 __PRETTY_FUNCTION__ = "_macro_exec" 0000013 0x00007f9b7bef7d91 in macro_exec (chan=0x7f9b8c5990f0, data=0x7f9b67680900) at app_macro.c:561 No locals. 0000014 0x00000000004c81db in pbx_exec (c=0x7f9b8c5990f0, app=0xb72090, data=0x7f9b67680900) at pbx.c:1363 res = 36 u = (struct ast_module_user *) 0xd10140 saved_c_appl = 0x0 saved_c_data = 0x0 __PRETTY_FUNCTION__ = "pbx_exec" 0000015 0x00000000004d26fe in pbx_extension_helper (c=0x7f9b8c5990f0, con=0x0, context=0x7f9b8c5994b0 "macro-dialout-trunk", exten=0x7f9b8c599500 "s", priority=1, label=0x0, callerid=0x7f9b8c4222a0 "0?h\214\233\177", action=E_SPAWN, found=0x7f9b67682ff4, combined_find_spawn=1) at pbx.c:4275 e = (struct ast_exten *) 0x7f9b8c9462a0 app = (struct ast_app *) 0xb72090 res = -1938018864 q = {incstack = {0x7f9b8cb81050 "from-internal", 0x7f9b8cb7ce80 "from-internal-xfer", 0xd54fa0 "parkedcalls", 0x7f9b8c6dd7b0 "from-internal-custom", 0x7f9b8cbbebf0 "ext-fax", 0x7f9b8cba2620 "ext-local-confirm", 0x7f9b8cbb2390 "findmefollow-ringallv2", 0x7f9b8c7dc440 "from-internal-additional", 0x7f9b60325d90 "app-recordings", 0x7f9b6009b490 "app-speeddial", 0x7f9b602db790 "app-dnd-off", 0x7f9b602ea0b0 "app-dnd-on", 0x7f9b602f2720 "ext-queues", 0x7f9b8c7cb710 "app-cf-busy-off", 0x7f9b8c88c320 "app-cf-busy-off-any", 0x7f9b8c1e59f0 "app-cf-busy-on", 0x7f9b8c66cca0 "app-cf-off", 0x7f9b8c938f30 "app-cf-off-any", 0x7f9b8c72f490 "app-cf-on", 0x7f9b8c1d9d20 "app-cf-unavailable-off", 0x7f9b8c67c2b0 "app-cf-unavailable-on", 0x7f9b8c9dab20 "app-dialvm", 0x7f9b8c91ab70 "app-vmmain", 0x7f9b8c18e580 "ext-meetme", 0x7f9b8c820bc0 "app-callwaiting-cwoff", 0x7f9b8c8e0640 "app-callwaiting-cwon", 0x7f9b8ca01d80 "ext-findmefollow", 0x7f9b8c5940e0 "fmgrps", 0x7f9b8c817030 "ext-group", 0x7f9b8c62db80 "app-calltrace", 0x7f9b8c7ff4d0 "app-echo-test", 0x7f9b8c5f2d20 "app-speakextennum", 0x7f9b8c8eb9c0 "app-speakingclock", 0x7f9b8c9fd750 "app-daynight", 0x7f9b8c611e80 "app-daynight-toggle", 0x7f9b8c611f80 "app-pickup", 0x7f9b8c722540 "app-chanspy", 0x7f9b8c9fed40 "ext-test", 0x7f9b8c7b4210 "ext-local", 0x7f9b8c63e9c0 "outbound-allroutes", 0x7f9b8c850e60 "outrt-001-Local", 0x7f9b8ca914d0 "outrt-002-Celular", 0x7f9b8c847850 "outrt-003-DDDPstn", 0x7f9b8c6ac180 "outrt-004-DDI", 0x7f9b8c64b260 "outrt-005-0800eOutros", 0x7f9b8c6b1900 "outrt-006-Cuidado", 0x0 }, stacklen = 46, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7f9b8c9967f3 "outrt-007-FilialSP"} passdata = "dialout-trunk,1,6375,,\000\000(\016hg\233\177\000\000\000\000\000\000\v", '\0' , "????????\004\226M\211\233\177\000\000S\227M\211\233\177\000\000w\rhg\233\177\000\000h\016hg\233\177\000\000\a\000\000\000\v", '\0' , "\001\000\000\000\210?\227\230x\rhg\233\177\000\000?\rhg\233\177", '\0' , " ", '\0' , "\001\000\000\000H?\227\230?\rhg\233\177", '\0' , "\003\221M\211\233\177\000\000&\016hg\233\177\000\000-custom\000om\000-cus"... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" 0000016 0x00000000004d3e82 in ast_spawn_extension (c=0x7f9b8c5990f0, context=0x7f9b8c5994b0 "macro-dialout-trunk", exten=0x7f9b8c599500 "s", priority=1, callerid=0x7f9b8c4222a0 "0?h\214\233\177", found=0x7f9b67682ff4, combined_find_spawn=1) at pbx.c:4746 No locals. 0000017 0x00000000004d45ee in __ast_pbx_run (c=0x7f9b8c5990f0, args=0x0) at pbx.c:4840 digit = 0 invalid = 0 timeout = 0 dst_exten = "\000\000\000\000\000\000\000\0005:r\230\233\177\000\000 \017\177\000\000\000\000\000`0hg\001\000\000\000\200\225?", '\0' , "\025\221q\230\233\177\000\000\000\000\000\000\000\000\000\000\200\225?\000\000\000\000\000\002\b\000\000????0\223?\230\233\177\000\000`0hg\233\177\000\000=?Q\000\000\000\000\000\200/hg\233\177", '\0' , "??A", '\0' , "?\r\033\214\233\177\000\000DGV/36", '\0' , "\b0hg\233\177\000\000\0200hg\233\177\000\000\000\000\000\000\000\000\000\000\0300hg\233\177\000\000\030", '\0' pos = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" 0000018 0x00000000004d5be8 in pbx_thread (data=0x7f9b8c5990f0) at pbx.c:5156 c = (struct ast_channel *) 0x7f9b8c5990f0 0000019 0x000000000052cf77 in dummy_start (data=0x7f9b8c3c6620) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 5501575312958086789, 140305426901488, 140305431540320, 140305431542096, 4096, 5501575312983252613, -5517107538200306043}, __mask_was_saved = 0}}, __pad = {0x7f9b676831d0, 0x0, 0x20, 0x7f9b97cdf280}} __cancel_routine = (void (*)(void *)) 0x4374f0 __cancel_arg = (void *) 0x7f9b67683950 not_first_call = 0 ret = (void *) 0x7f9b96db4f40 a = {start_routine = 0x4d5bc6 , data = 0x7f9b8c5990f0, name = 0x7f9b8c58a240 "pbx_thread", ' ' , "started at [ 5177] pbx.c ast_pbx_start()"} 0000020 0x00007f9b97acf070 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. 0000021 0x00007f9b987850ed in clone () from /lib64/libc.so.6 No symbol table info available. 0000022 0x0000000000000000 in ?? () No symbol table info available.