(gdb) bt #0 0x00b05479 in free () from /lib/tls/libc.so.6 #1 0x08058a18 in ast_frfree (fr=0xbc6ff4) at frame.c:281 #2 0xb7551432 in dial_exec_full (chan=0xb6ffd340, data=0x8705ec0, peerflags=0xb6db57f8) at app_dial.c:645 #3 0xb755432d in dial_exec (chan=0xbc87e4, data=0x0) at app_dial.c:1600 #4 0x080861fd in pbx_exec (c=0xb6ffd340, app=0xbc87e4, data=0xb6db5b4a, newstack=1) at pbx.c:483 #5 0xb7e12d7c in handle_exec (chan=0xbc87e4, agi=0xbc87e4, argc=3, argv=0xb6ffd340) at res_agi.c:1083 #6 0xb7e14ecb in agi_exec_full (chan=0xb6ffd340, data=0xb7e1b140, enhanced=0, dead=0) at res_agi.c:1817 #7 0x08091212 in pbx_extension_helper (c=0xb6ffd340, con=0x0, context=0xb6ffd490 "phones", exten=0xb6ffd584 "92351087", priority=2, label=0x0, callerid=0xb6dbb0b0 "HuntDial.agi|1|2010|2351087", action=0) at pbx.c:483 #8 0x08092586 in __ast_pbx_run (c=0xb6ffd340) at pbx.c:2182 #9 0x08093fec in pbx_thread (data=0xbc87e4) at pbx.c:2469 #10 0x00ce91d5 in start_thread () from /lib/tls/libpthread.so.0 #11 0x00b692da in clone () from /lib/tls/libc.so.6 (gdb) bt full #0 0x00b05479 in free () from /lib/tls/libc.so.6 No symbol table info available. #1 0x08058a18 in ast_frfree (fr=0xbc6ff4) at frame.c:281 No locals. #2 0xb7551432 in dial_exec_full (chan=0xb6ffd340, data=0x8705ec0, peerflags=0xb6db57f8) at app_dial.c:645 tmpchan = '\0' , "\b¦¦¦", '\0' , "\200", '\0' stuff = 0xbc87e4 "" tech = 0xe80409bc
res = 0 u = (struct localuser *) 0x83e18a8 number = 0xbc87e4 "" rest = 0x0 cur = 0x0 privcid = "P\000\000\000\006W?(W?¦u\b\b@¦¦¦\000W?tC3¦XW¦\000d&¦\000\000\000\000\000\210\000\000\000\220¦.\b\000\210¦\000¦o¦\000\000\210¦\0000¦.\b,W?¦T¦\000\000\210¦\0000¦.\b¦o¦\000\r\000\000\000\016\000\000\000¦W?¦\0000¦.\b0¦.\b\r\000\000\0000¦.\b\000\000\000\000\r\000\000\000\000\200¦¦0¦.\b0¦.\b0¦.\b¦^¦\000¦o¦\000xW?¦¦\000¦¦¦¦\006\000\000\000¦W?¦^¦\000\230W?$¦¦\000!\000\000\000H\024¦\000H\001\000\000\000\220?\000\020\000\000"... privintro = "d&¦\000!N¦\000\210\000\000\000\220¦:\b\217j¦¦o¦\000\000\000\000\000\000\000\000\000\fS?¦T¦\000\000\210¦\0000¦:\b¦o¦\000\030\000\000\000\031\000\000\000¦S?¦\0000¦:\b0¦:\b\030\000\000\0000¦:\b\000\000\000\000\030\000\000\000\000\200¦¦0¦:\b0¦:\b0¦:\b0¦:\bH¦:\b\224¦:\b0¦:\b\224¦:\b\000\000\000\000!N¦", '\0' , "¦\002V¦\000\000\000\000\000\000\000\000!\000\000\000\000\000\000\000\204\030V¦r¦U¦Zap\000R19\000¦¦¦¦\000\000\000\000K\000\000\000 U?@¦¦"... outgoing = (struct localuser *) 0x84165f8 tmp = (struct localuser *) 0x84165f8 to = 50826 numbusy = 0 numcongestion = 0 numnochan = 0 cause = 0 numsubst = "83/w2351087\0003\r\006\b¦R?", '\0' , "i\000\000\000¦us\b\000\000\000\000Zap/83-1", '\0' restofit = '\0' , "\n\000\000\000\000\000\000\000\t", '\0' , "\001\000\000\0008X?\030W?\214j¦\r\000\000" cidname = "¦o¦\000\001\000\000\000\000\210¦\000\030R?Fo¦\000\000\210¦\000\016\000\000\000\000\000\000\000¦¦¦\000\016\000\000\000¦us\b¦\030>\by¦¦\000¦\030>\b\210R?\232¦d \000\000\000\000\001\000\000\000\000\000\000\000\000\000\000" toast = '\0' , "\030\000\000" l = 0x8705ec0 "H\210¦" privdb_val = 0 calldurationlimit = 0 config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = { tv_sec = 0, tv_usec = 0}, feature_timer = 0, timelimit = 11403029, play_warning = -1227139304, warning_freq = -1227140376, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0} timelimit = 0 play_warning = 0 warning_freq = 0 warning_sound = 0xbc87e4 "" end_sound = 0x0 start_sound = 0x0 dtmfcalled = 0x0 dtmfcalling = 0x0 var = 0xbc87e4 "" status = "NOANSWER", '\0' , "¦'¦\000¦S¦\000\000\000\000\000Q?\000\000\000\000\000¦o¦\000\000\000\000\000\216j¦,W?\027¦\000LW?\216j¦\001", '\0' play_to_caller = 141582016 play_to_callee = 0 sentringing = 1 moh = 0 outbound_group = 0x0 macro_result = 0x8705ec0 "H\210¦" macro_transfer_dest = 0x8705ec0 "H\210¦" digit = 0 result = 0 start_time = 1135411876 answer_time = 0 end_time = 0 app = (struct ast_app *) 0xe80409bc parse = 0xb6db47c0 "Zap" args = {argc = 3, argv = 0xb6db5034, peers = 0xb6db47c0 "Zap", timeout = 0xb6db47d0 "60", options = 0xb6db47d3 "Crg", url = 0x0} opts = {flags = 131106} opt_args = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} __PRETTY_FUNCTION__ = "dial_exec_full" #3 0xb755432d in dial_exec (chan=0xbc87e4, data=0x0) at app_dial.c:1600 peerflags = {flags = 32} #4 0x080861fd in pbx_exec (c=0xb6ffd340, app=0xbc87e4, data=0xb6db5b4a, newstack=1) at pbx.c:483 res = 12355556 saved_c_appl = 0x812ca50 "AGI" saved_c_data = 0xb6dbb0b0 "HuntDial.agi|1|2010|2351087" execute = (int (*)(struct ast_channel *, void *)) 0xb7554310 __PRETTY_FUNCTION__ = "pbx_exec" #5 0xb7e12d7c in handle_exec (chan=0xbc87e4, agi=0xbc87e4, argc=3, argv=0xb6ffd340) at res_agi.c:1083 res = -1224748224 app = (struct ast_app *) 0x0 __PRETTY_FUNCTION__ = "handle_exec" #6 0xb7e14ecb in agi_exec_full (chan=0xb6ffd340, data=0xb7e1b140, enhanced=0, dead=0) at res_agi.c:1817 c = (struct ast_channel *) 0xbc87e4 ms = -1 returnstatus = 0 buf = "EXEC\000Dial\000Zap/83/w2351087|60|Crg\000\000 (1), Number (2351087), Using Group (19), Now Using Channel (83), \000\"", '\0' , "d&¦\000\000\000\000\000\000\000\000\000¦o¦\000,]?\b]?q9¦\000,]?¦^?}n¦2\000\000\000\000}n?¦o¦\000\024¦\017\b¦n?\030^?v¦\000,]?\024¦\017\b\030o?¦^?\000\000\000\000"... outfd = 328 f = (struct ast_frame *) 0xb7e1b140 readf = (FILE *) 0x83f59a0 retry = 3 res = -1227135808 u = (struct localuser *) 0x82a8ed8 argv = {0xb6db64d0 "HuntDial.agi", 0xb6db64dd "1", 0xb6db64df "2010", 0xb6db64e4 "2351087", 0x0 , 0x6c6c6163
, 0x6c6c612c
, 0x0 , 0xb7e1543e "\201¦¦,", 0x0, 0x0, 0x0, 0x0} buf = "HuntDial.agi\0001\0002010\0002351087", '\0' tmp = 0x0 argc = 4 fds = {328, 335} efd = -1 pid = 14158 agi = {fd = 335, audio = -1, ctrl = 328} __PRETTY_FUNCTION__ = "agi_exec_full" #7 0x08091212 in pbx_extension_helper (c=0xb6ffd340, con=0x0, context=0xb6ffd490 "phones", exten=0xb6ffd584 "92351087", priority=2, label=0x0, callerid=0xb6dbb0b0 "HuntDial.agi|1|2010|2351087", action=0) at pbx.c:483 e = (struct ast_exten *) 0x82540c0 sw = (struct ast_switch *) 0x0 data = 0x0 foundcontext = 0x82f0b87 "huntgroups" newstack = 1 res = 0 status = 5 incstack = {0x8220ae0 "phones", 0x8222b30 "vservices", 0x81e2990 "phonesextens", 0x8253e30 "hotextens", 0xb02664 "\201¦\220I\f", 0x0, 0x0, 0xbc6ff4 "", 0xb6dbd2af "", 0x0, 0xb6dbd2af "", 0xbc6ff4 "", 0xb6dbd23c "\2108¦¦A?", 0xb6dbd20c "(¦?¦f¦", 0xafe176 "\213\215\f¦¦¦\211¦9\2150¦¦¦t\t\213¦(¦¦¦¦\006", 0xb6dbd120 "\001\200¦¦`¦?`¦?`¦?`¦?u¦?¦¦?`¦?¦¦?", 0x80f93be "\"%s\" <%s>", 0xb6dbd244 "", 0xb6dbd260 "\"Support\" <2010>", 0x0, 0xb6dbd1c0 "", 0xb6dbd120 "\001\200¦¦`¦?`¦?`¦?`¦?u¦?¦¦?`¦?¦¦?", 0xfbad8001
, 0xb6dbd260 "\"Support\" <2010>", 0xb6dbd260 "\"Support\" <2010>", 0xb6dbd260 "\"Support\" <2010>", 0xb6dbd260 "\"Support\" <2010>", 0xb6dbd275 "", 0xb6dbd2af "", 0xb6dbd260 "\"Support\" <2010>", 0xb6dbd2af "", 0x0 , 0xffffffff
, 0x0 , 0xbc6a20 "", 0x0, 0x0, 0x0, 0xb04a31 "\201¦¦%\f", 0x0, 0x88 "", 0x48 "", 0xbc8848 "", 0x0, 0xbc8834 "", 0xbc8838 "", 0xbc8800 "", 0xbc6ff4 ", 0xb6dbd28c "", 0xb0575d "\215v", 0x0, 0xbc6ff4 "", 0xb6dbd228 "\200\203V\b\234_\n\b`¦?P", 0xae66d2 "\203¦\020[]¦\220\220\220\220\220\220\220\220U\211¦\215M\020S\203¦\f\213U\f\211L$\b\213E\b¦x%¦¦\201¦¦\b\016", 0xb6dbd260 "\"Support\" <2010>", 0x50 "", 0x80f93be "\"%s\" <%s>", 0xb6dbd23c "\2108¦¦A?", 0xb6ffd340 "SIP/2010-30c5", 0x8568380 "\"Support\" <2010>", 0x80a5f9c "¦o¦¦¦\211D$\024¦¦\006\020\b¦¦\v\020\b\211T$\020¦^\002", 0xb6dbd260 "\"Support\" <2010>", 0x50 "", 0x80f93be "\"%s\" <%s>", 0xb6fc3888 "Support", 0xb6ca41c0 "2010", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb6ca41c0 "2010", 0x72614d22
, 0x207a616b
, 0x61796150
, 0x3c20226d
, 0x30313032
, 0x3e "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb1e616 "\211¦=\001¦¦¦s\001¦¦I6\b", 0x80a52fa "\213L$\030\213t$\034\211\213\200\002", 0xb6dbd2b8 "¦\002¦C\002", 0x0, 0x0, 0x0} passdata = "HuntDial.agi|1|2010|2351087", '\0' stacklen = 4 tmp = '\0' tmp2 = '\0' tmp3 = '\0' , "$U¦\000\000\000\000\000[¦¦Cv¦\000\000\000\000\000\000[¦ ¦Cv¦\000\000[¦¦Ch\204\221¦E]\005\bh\204\221¦[¦¦Cv¦\000\000\001", '\0' , "H\210¦\000\000\000\000\000IncomingCall.agi|2354603", '\0' atmp = '\0' atmp2 = '\0' , "¦'¦\000¦S¦\000\000\000\000\000Q?\000\000\000\000\000¦o¦\000\000\000\000\000¦'¦\000¦S¦\000\\¦\017\bQ?\000\000\000\000\000¦o¦\000\000\000\000\000x¦\017\b(\212?¦'¦\000¦S¦\000x¦\017\bQ?\000\000\000\000\000¦o¦\000\000\000\000\000¦'¦\000¦S¦\000\027¦\000Q?\000\000\000\000\000¦o¦\000\000\000\000\000\203¦?h\212?\027¦\000\214\212?\203¦?\005", '\0' , "\025¦¦\000??¦\205?", '\0' , "t¦?\025¦¦\0008\212?\b\206?", '\0' ... __PRETTY_FUNCTION__ = "pbx_extension_helper" #8 0x08092586 in __ast_pbx_run (c=0xb6ffd340) at pbx.c:2182 digit = 0 exten = '\0' pos = 0 waittime = 2 res = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #9 0x08093fec in pbx_thread (data=0xbc87e4) at pbx.c:2469 No locals. #10 0x00ce91d5 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #11 0x00b692da in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) frame 1 #1 0x08058a18 in ast_frfree (fr=0xbc6ff4) at frame.c:281 281 frame.c: No such file or directory. in frame.c (gdb) p *fr $1 = {frametype = 12348732, subclass = 11242390, datalen = 0, samples = 12193264, mallocd = 11563360, offset = 11562608, src = 0xb07610 "U\211¦\203¦4\211]¦¦S\026¦¦\201¦¦¦\v", data = 0xb07440, delivery = {tv_sec = 11114272, tv_usec = 11555888}, prev = 0x0, next = 0x0} (gdb) frame 2 #2 0xb7551432 in dial_exec_full (chan=0xb6ffd340, data=0x8705ec0, peerflags=0xb6db57f8) at app_dial.c:645 645 app_dial.c: No such file or directory. in app_dial.c (gdb) p *chan $2 = {name = "SIP/2010-30c5", '\0' , tech = 0xb7ce52a0, tech_pvt = 0xb6fbd058, language = "en", '\0' , type = 0xb7ce4340 "SIP", fds = {186, 276, 293, 324, -1, -1, 327, -1}, musicclass = "default", '\0' , music_state = 0x0, generatordata = 0x0, generator = 0x0, _bridge = 0x0, masq = 0x0, masqr = 0x0, cdrflags = 0, _softhangup = 0, whentohangup = 0, blocker = 3067861936, lock = {__m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 1, __m_lock = {__status = 0, __spinlock = 0}}, blockproc = 0x80f56c4 "ast_waitfor_nandfds", appl = 0xb74095d0 "Dial", data = 0xb6db5b4a "Zap/83/w2351087|60|Crg", fdno = 0, sched = 0xb70f7198, streamid = -1, stream = 0x0, vstreamid = 0, vstream = 0x0, oldwriteformat = 0, timingfd = 327, timingfunc = 0, timingdata = 0x0, _state = 4, rings = 0, nativeformats = 4, readformat = 4, writeformat = 4, cid = {cid_dnid = 0xb70109e0 "92351087", cid_num = 0xb6ca41c0 "2010", cid_name = 0xb6fc3888 "Support", cid_ani = 0x0, cid_rdnis = 0x0, cid_pres = 0, cid_ani2 = 0, cid_ton = 0, cid_tns = 0}, context = "phones", '\0' , macrocontext = '\0' , macroexten = '\0' , macropriority = 0, exten = "92351087", '\0' , priority = 2, dtmfq = '\0' , dtmff = {frametype = 0, subclass = 0, datalen = 0, samples = 0, mallocd = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0}, pbx = 0x86f5298, amaflags = 3, accountcode = '\0' , cdr = 0x8568380, adsicpe = 2, call_forward = '\0' , zone = 0x0, monitor = 0x0, insmpl = 0, outsmpl = 0, fin = 0, fout = 0, uniqueid = "1135411876.26504", '\0' , hangupcause = 0, varshead = {first = 0x83dfc28, last = 0xb6efdb70}, callgroup = 0, pickupgroup = 0, flags = 512, transfercapability = 0, readq = 0x0, alertpipe = {-1, -1}, writetrans = 0x0, readtrans = 0x0, rawreadformat = 4, rawwriteformat = 4, spies = 0x0, next = 0x844d358} (gdb) p (char *)data $3 = 0x8705ec0 "H\210¦" (gdb)