(gdb) where
#0 0x00e14027 in _int_free () from /lib/tls/libc.so.6
#1 0x00e13018 in free () from /lib/tls/libc.so.6
#2 0x0809afe8 in ast_cdr_free_vars (cdr=0xed6898, recur=15562144) at cdr.c:401
#3 0x0809b0b6 in ast_cdr_free (cdr=0xed71c8) at cdr.c:427
#4 0x0809be15 in ast_cdr_reset (cdr=0x9f62388, flags=2) at cdr.c:813
#5 0x08089859 in pbx_builtin_resetcdr (chan=0x1daeb28, data=0x9f8cd40)
at pbx.c:5218
#6 0x0808a74f in pbx_extension_helper (c=0x9f8cd40, con=0x1daeb28,
context=0x9f8ce90 "macro-hangupcall", exten=0x9f8cf84 "s", priority=1,
label=0x0, callerid=0x9ee65c0 "ResetCDR", action=166919040) at pbx.c:553
#7 0x08088667 in ast_spawn_extension (c=0x1daeb28,
context=0x1daeb28
,
exten=0x1daeb28 , priority=31124264,
callerid=0x1daeb28 ) at pbx.c:2151
#8 0x004ac80e in macro_exec (chan=0x9f8cd40, data=0x200) at app_macro.c:177
#9 0x0808a74f in pbx_extension_helper (c=0x9f8cd40, con=0x1daeb28,
context=0x9f8ce90 "macro-hangupcall", exten=0x9f8cf84 "s", priority=1,
label=0x0, callerid=0x9f2fb80 "Macro", action=0) at pbx.c:553
#10 0x0808b5a6 in __ast_pbx_run (c=0x9f8cd40) at pbx.c:2151
#11 0x0808bf79 in pbx_thread (data=0x9f8cd40) at pbx.c:2438
#12 0x001e2dec in start_thread () from /lib/tls/libpthread.so.0
#13 0x00e7ea2a in clone () from /lib/tls/libc.so.6
(gdb) bt full
#0 0x00e14027 in _int_free () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x00e13018 in free () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x0809afe8 in ast_cdr_free_vars (cdr=0xed6898, recur=15562144) at cdr.c:401
headp = (struct varshead *) 0xed7180
#3 0x0809b0b6 in ast_cdr_free (cdr=0xed71c8) at cdr.c:427
chan = 0x80e51b3 ""
next = (struct ast_cdr *) 0xed75b8
#4 0x0809be15 in ast_cdr_reset (cdr=0x9f62388, flags=2) at cdr.c:813
dup = (struct ast_cdr *) 0x1daeb28
#5 0x08089859 in pbx_builtin_resetcdr (chan=0x1daeb28, data=0x9f8cd40)
at pbx.c:5218
flags = 167302536
#6 0x0808a74f in pbx_extension_helper (c=0x9f8cd40, con=0x1daeb28,
context=0x9f8ce90 "macro-hangupcall", exten=0x9f8cf84 "s", priority=1,
label=0x0, callerid=0x9ee65c0 "ResetCDR", action=166919040) at pbx.c:553
e = (struct ast_exten *) 0x472a6e0
sw = (struct ast_switch *) 0x0
data = 0x0
foundcontext = 0x9f8ce90 "macro-hangupcall"
newstack = 1
res = 166919040
---Type to continue, or q to quit---
status = 5
incstack = {0x0 , 0xe0f2f4 "\201äu\f", 0x0, 0x0,
0xed6898 "¤G\023",
0x4725fa0 "\001\200û°ar\004°ar\004°ar\004°ar\004±ar\004ÿar\004°ar\004ÿar\004", 0x4725f7c "\214`r\004ô\233à",
0xe107f5 "\213E\024\211~\020\211~\f\205À\211~\004t+\213U\024\213Mð\211V\024\211N\030\211V\b1ÿ\211¾\230",
0x4725fa0 "\001\200û°ar\004°ar\004°ar\004°ar\004±ar\004ÿar\004°ar\004ÿar\004", 0x47261b0 "1", 0x317261ff , 0x0,
0xde62ff "\201Ã\231\005\017", 0xed6898 "¤G\023",
0x4725fa0 "\001\200û°ar\004°ar\004°ar\004°ar\004±ar\004ÿar\004°ar\004ÿar\004", 0x4ad14d "%d", 0x472608c "\204Ïø\t\001",
0xe09bf4 "\213\215\fÿÿÿ\211Â9\2150ÿÿÿt\t\213µ(ÿÿÿÆ\006",
0x4725fa0 "\001\200û°ar\004°ar\004°ar\004°ar\004±ar\004ÿar\004°ar\004ÿar\004", 0x4ad14d "%d", 0x47260c0 "\220Þñ\t", 0x47261b0 "1", 0x0, 0x4726040 "\235.á",
0x4725fa0 "\001\200û°ar\004°ar\004°ar\004°ar\004±ar\004ÿar\004°ar\004ÿar\004", 0xfbad8001 , 0x47261b0 "1", 0x47261b0 "1",
0x47261b0 "1", 0x47261b0 "1", 0x47261b1 "", 0x47261ff "", 0x47261b0 "1",
0x47261ff "", 0x0 ,
0xffffffff , 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x9f8d528 "", 0x0, 0x20 ,
0xed7180 "\001", 0xed6898 "¤G\023", 0xed7180 "\001",
0x1 , 0x4726058 "°ar\004\t|\v\bGÕø\t°ar\004\001",
---Type to continue, or q to quit---
0xe12e9d "\205À\211Çt\031e\203=\f", 0xed7180 "\001",
0x19 , 0x9f8d547 "1", 0x9f8d547 "1",
0x9f8d530 "\b\nõ\tGÕø\tMACRO_PRIORITY", 0x47261b0 "1",
0x80b7c09 "\213W\004\211øÆ\004\023"}
passdata = "w", '\0'
stacklen = 0
tmp = "ResetCDR\000hí\000ÀDr\004ù\000\000\0000>r\004ùdã\000\002\000\000\000\002\000\000\000ÑØã\000ÍCr\004â?r\004\002", '\0' , "dialê\235ì\000öÿÿÿ02\000"
tmp2 = "SIP/301-2167\000\000\000\000\000\000\000\000\212“", '\0' , "Macro\000\000\000\000\000\000\000\000\000\000"
tmp3 = "w\000IN", '\0' , "û\006à\000\000\000\000\000T\034\016\b\000\000\000\000Òôà\000£@r\004MÙJ\000û\006à\000\000\000\000\000sÙJ\000\000\000\000\0008, "$, "ðÜà\000\000ðZ·\200@r\004*", '\0' , "\230hí\000\000\000\000\000\000\000\000\0004=r\004keÞ\000(9r\004\000\000\000\000*\000\000\000\000\000s \000\000\000\000ÿÿÿÿøÿÿÿ", '\0' , "\n\000\000\000\003"...
atmp = "STACK-macro-hangupcall-s-1", '\0' , "dial|15|tr|302\0000"
atmp2 = "ResetCDR(\"SIP/301-2167\", \"w\") in new stack", '\0' , "STAC"
#7 0x08088667 in ast_spawn_extension (c=0x1daeb28,
---Type to continue, or q to quit---
context=0x1daeb28 ,
exten=0x1daeb28 , priority=31124264,
callerid=0x1daeb28 ) at pbx.c:2151
No locals.
#8 0x004ac80e in macro_exec (chan=0x9f8cd40, data=0x200) at app_macro.c:177
rest = 0x0
fullmacro = "macro-hangupcall", '\0'
varname = '\0'
oldargs = {0x0 }
argc = 1
x = 512
res = 0
oldexten = "h", '\0'
oldpriority = 1
pc = "1", '\0'
oldcontext = "from-internal", '\0'
offsets = 0xed7590 "\210uí"
offset = 0
setmacrocontext = 1
save_macro_exten = 0x0
save_macro_context = 0x0
save_macro_priority = 0x0
save_macro_offset = 0x0
---Type to continue, or q to quit---
u = (struct localuser *) 0x9f8d568
#9 0x0808a74f in pbx_extension_helper (c=0x9f8cd40, con=0x1daeb28,
context=0x9f8ce90 "macro-hangupcall", exten=0x9f8cf84 "s", priority=1,
label=0x0, callerid=0x9f2fb80 "Macro", action=0) at pbx.c:553
e = (struct ast_exten *) 0x0
sw = (struct ast_switch *) 0x0
data = 0x0
foundcontext = 0x9f8ce90 "macro-hangupcall"
newstack = 1
res = 0
status = 5
incstack = {0x9f43ff8 "from-internal", 0x9f43c58 "app-userlogonoff",
0x9f40b48 "app-directory", 0x9f40f98 "app-dnd", 0x9f41ea8 "app-callforward",
0x9f419b0 "app-callwaiting", 0x9f41500 "app-messagecenter",
0x9f43418 "app-calltrace", 0x9ef9248 "parkedcalls",
0x9f38568 "from-internal-custom", 0x9f457a0 "ext-fax", 0xed6898 "¤G\023",
0x472c760 "\001\200û\220Èr\004\220Èr\004\220Èr\004\220Èr\004\236Èr\004ßÈr\004\220Èr\004ßÈr\004", 0x472c73c "LÈr\004ô\233à",
0xe107f5 "\213E\024\211~\020\211~\f\205À\211~\004t+\213U\024\213Mð\211V\024\211N\030\211V\b1ÿ\211¾\230",
0x472c760 "\001\200û\220Èr\004\220Èr\004\220Èr\004\220Èr\004\236Èr\004ßÈr\004\220Èr\004ßÈr\004", 0x472c890 "301", 0x472c8df "", 0x0,
0xde62ff "\201Ã\231\005\017", 0xed6898 "¤G\023",
---Type to continue, or q to quit---
0x472c760 "\001\200û\220Èr\004\220Èr\004\220Èr\004\220Èr\004\236Èr\004ßÈr\004\220Èr\004ßÈr\004", 0x80ec969 "\"%s\" <%s>", 0x472c84c "hÈr\004\004ðÞ",
0xe09bf4 "\213\215\fÿÿÿ\211Â9\2150ÿÿÿt\t\213µ(ÿÿÿÆ\006",
0x472c760 "\001\200û\220Èr\004\220Èr\004\220Èr\004\220Èr\004\236Èr\004ßÈr\004\220Èr\004ßÈr\004", 0x80ec969 "\"%s\" <%s>", 0x472c884 "ù:á", 0x472c890 "301",
0x0, 0x472c800 "",
0x472c760 "\001\200û\220Èr\004\220Èr\004\220Èr\004\220Èr\004\236Èr\004ßÈr\004\220Èr\004ßÈr\004", 0xfbad8001 ,
0x472c890 "301", 0x472c890 "301", 0x472c890 "301", 0x472c890 "301",
0x472c89e "", 0x472c8df "", 0x472c890 "301", 0x472c8df "",
0x0 , 0xffffffff ,
0x0 , 0xed48a0 "", 0x0 ,
0xe09b4d "\201ÃKÍ\f", 0xed6898 "¤G\023", 0x9f8d588 "301", 0x9f8d190 "ðqí",
0x472c868 "O",
0xdef004 "\213]ü\211ì]Ã\220\220\220\220\220U\211å\203ì\020\211]ü\213U\f\215M\020è¹\205üÿ\201Ãtx\016", 0x472c890 "301", 0x9f8ce90 "macro-hangupcall",
0x809babe "\205ö\017\204¼\001", 0x472c891 "01", 0x0,
0x4f , 0x809b750 "\200|$ ", 0x472c890 "301",
0x50 , 0x80ec969 "\"%s\" <%s>",
0x9f8d1a0 "\230*ö\tÈqí", 0x9f8d190 "ðqí",
0xe13af9 "\213Eð\203ÀH\211EÜ\213}ð\213MÜ\213WT\211Uä9Ê\017\204\221",
0x9f8cee0 "from-internal", 0x9f8cf30 "h",
0x313033 "À\211\205°ýÿÿ\213\002\213\200\b\003", 0x0 }
---Type to continue, or q to quit---
passdata = "hangupcall", '\0'
stacklen = 0
tmp = "Macro", '\0'
tmp2 = "SIP/301-2167", '\0'
tmp3 = "hangupcall\0002@default|302", '\0' , "û\006à\000\000\000\000\000T\034\016\b\000\000\000\000Òôà\000\004©r\004¡¿\016\bû\006à\000\000\000\000\000¹¿\016\b\000\000\000\000\230¤r\004NvÞ\000¼¤r\004¹¿\016\b\002\000\000\0000 r\004", '\0' , "\204¤r\004\234\237Þ\000L r\004", '\0' , "ðÜà\000\000ðZ·à¨r\004$", '\0' , "\230hí\000\000\000\000\000\000\000\000\000\224¥r\004keÞ\000\210¡r\004\000\000\000\000$\000\000\000\000\000s \000\000\000\000ÿÿÿ"...
atmp = "STACK-from-internal-h-1\0001", '\0'
atmp2 = "Macro(\"SIP/301-2167\", \"hangupcall\") in new stack\000 in new stack", '\0'
#10 0x0808b5a6 in __ast_pbx_run (c=0x9f8cd40) at pbx.c:2151
digit = 0
exten = '\0'
pos = 0
waittime = 1
res = -1
#11 0x0808bf79 in pbx_thread (data=0x9f8cd40) at pbx.c:2438
No locals.
#12 0x001e2dec in start_thread () from /lib/tls/libpthread.so.0
---Type to continue, or q to quit---
No symbol table info available.
#13 0x00e7ea2a in clone () from /lib/tls/libc.so.6
No symbol table info available.