#0 0x080ea32c in ast_copy_string (dst=0xb733d4e0 "", src=0x0, size=4096) at strings.h:160 No locals. #1 0xb7362df6 in acf_if (chan=0x81b82b0, cmd=0xb733e4f0 "IF", data=0x0, buf=0xb733d4e0 "", len=4096) at func_logic.c:114 expr = 0xb733e4f3 "0" iftrue = 0xb733e4f5 "4" iffalse = 0x0 __PRETTY_FUNCTION__ = "acf_if" #2 0x080b1112 in ast_func_read (chan=0x81b82b0, function=0xb733e4f0 "IF", workspace=0xb733d4e0 "", len=4096) at pbx.c:1501 args = 0xb733e4f3 "0" acfptr = (struct ast_custom_function *) 0xb7364754 __PRETTY_FUNCTION__ = "ast_func_read" #3 0x080b1505 in pbx_substitute_variables_helper_full (c=0x81b82b0, headp=0x81b85a4, cp1=0x819a040 "i=${IF($[\"${j}\" != \"\"]?$[${i}+1])}", cp2=0xb734273a "", count=8189) at pbx.c:1619 cp4 = 0x2
tmp = 0x819a040 "i=${IF($[\"${j}\" != \"\"]?$[${i}+1])}" whereweare = 0x819a062 "" length = 0 offset = 0 offset2 = 2147483647 isfunction = 1 workspace = 0xb733d4e0 "" ltmp = 0xb733e4f0 "IF" var = 0xb733f500 "IF($[\"${j}\" != \"\"]?$[${i}+1])" nextvar = 0x819a042 "${IF($[\"${j}\" != \"\"]?$[${i}+1])}" nextexp = 0x0 nextthing = 0x819a042 "${IF($[\"${j}\" != \"\"]?$[${i}+1])}" vars = 0xb733e4f0 "IF" ---Type to continue, or q to quit--- vare = 0x819a062 "" pos = 2 brackets = 0 needsub = 4 len = 29 __PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full" #4 0x080b18ac in pbx_substitute_variables_helper (c=0x81b82b0, cp1=0x819a040 "i=${IF($[\"${j}\" != \"\"]?$[${i}+1])}", cp2=0xb7342738 "i=", count=8191) at pbx.c:1699 No locals. #5 0x080b19a0 in pbx_substitute_variables (passdata=0xb7342738 "i=", datalen=8192, c=0x81b82b0, e=0x819a0a8) at pbx.c:1717 No locals. #6 0x080b1bb2 in pbx_extension_helper (c=0x81b82b0, con=0x0, context=0x81b8430 "macro-availextens", exten=0x81b8480 "s", priority=6, label=0x0, callerid=0x81b8708 "0000123456", action=E_SPAWN) at pbx.c:1763 e = (struct ast_exten *) 0x819a0a8 app = (struct ast_app *) 0x8173828 res = -1221309800 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x81b8430 "macro-availextens"} passdata = "i=", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #7 0x080b2eb0 in ast_spawn_extension (c=0x81b82b0, context=0x81b8430 "macro-availextens", exten=0x81b8480 "s", priority=6, callerid=0x81b8708 "0000123456") at pbx.c:2245 No locals. #8 0xb748f7fb in _macro_exec (chan=0x81b82b0, data=0xb7346ff8, exclusive=0) at app_macro.c:232 s = 0x0 tmp = 0xb73449d0 "availextens" ---Type to continue, or q to quit--- cur = 0x0 rest = 0x0 macro = 0xb73449d0 "availextens" fullmacro = "macro-availextens\000;40m -- \033[0;37;40m\000@\215\033\b\b\204ö·¤ô\022\b¤N4·\030u\024\b\204\000\000\000\23 6\000\000\000×\214ö·ôN4·Xo4·" varname = "ARG1\000\033Ò·à\204ß·§\000\000\000uwÑ·à\204ß·ô\177ß·à\204ß·èM4·\027\000\000\000NE\000\000¶¥ö·\000\000\000\000Ûª\ 006\bÀØË·\027\000\000\000Ì\215\033\bÁÝ\021\bc£ö·ôN4·" oldargs = {0x0 } argc = 2 x = 5 res = 0 oldexten = "s", '\0' oldpriority = 4 pc = "4\0004·\000\000\000\000PK4·\001\200­û\224L4·\224L4·\224L4·\224L4·¯L4·ãL4·\224L4·ãL4·", '\0' depthc = "1\0004·7\204\023\bäK4·" oldcontext = "inbound", '\0' offset = 136023360 depth = 0 maxdepth = 7 setmacrocontext = 1 autoloopflag = 512 dead = 0 save_macro_exten = 0x0 save_macro_context = 0x0 save_macro_priority = 0x0 save_macro_offset = 0x0 u = (struct ast_module_user *) 0x81b87e8 ---Type to continue, or q to quit--- __PRETTY_FUNCTION__ = "_macro_exec" #9 0xb748ffff in macro_exec (chan=0x81b82b0, data=0xb7346ff8) at app_macro.c:353 No locals. #10 0x080aeb39 in pbx_exec (c=0x81b82b0, app=0x819fee0, data=0xb7346ff8) at pbx.c:505 res = 8191 saved_c_appl = 0x0 saved_c_data = 0x0 #11 0x080b1df5 in pbx_extension_helper (c=0x81b82b0, con=0x0, context=0x81b8430 "macro-availextens", exten=0x81b8480 "s", priority=4, label=0x0, callerid=0x81b8708 "0000123456", action=E_SPAWN) at pbx.c:1791 e = (struct ast_exten *) 0x8198b60 app = (struct ast_app *) 0x819fee0 res = 0 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x81b8430 "macro-availextens"} passdata = "availextens|SIP/cordless&IAX2/BJ", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #12 0x080b2eb0 in ast_spawn_extension (c=0x81b82b0, context=0x81b8430 "macro-availextens", exten=0x81b8480 "s", priority=4, callerid=0x81b8708 "0000123456") at pbx.c:2245 No locals. #13 0x080b3380 in __ast_pbx_run (c=0x81b82b0) at pbx.c:2345 dst_exten = '\0' , "\020\000\000\000H\221ß·", '\0' , "Y|Ò·ô\177ß·@\221ß·\210\210\033\b \f\000\000\000\026\227Ò·@\221ß·\f\000\000\000\000\000\000\000yG\001\000\210\210\033\bô\017÷· \2334·\000\000\000\000Ø\2234·\213¥\016 \b" pos = 0 digit = 0 found = 1 ---Type to continue, or q to quit--- res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #14 0x080b40c8 in pbx_thread (data=0x81b82b0) at pbx.c:2556 c = (struct ast_channel *) 0x81b82b0 #15 0x080eb52c in dummy_start (data=0x81b8780) at utils.c:544 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1208545292, -1221289056, 0, -1221290888, -638943141, 1724948663}, __mask_was_saved = 0}}, __pad = {0xb73494a0, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8067cc6 __cancel_arg = (void *) 0xb7349ba0 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x80b40b1 , data = 0x81b82b0, name = 0x81b8790 "pbx_thread", ' ' , "started at [ 2580] pbx.c ast_pbx_start()"} #16 0xb7f663ca in start_thread () from /lib/libpthread.so.0 No symbol table info available.