#0 0x005b37a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 (gdb) bt #0 0x005b37a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x005f87a5 in raise () from /lib/tls/libc.so.6 #2 0x005fa209 in abort () from /lib/tls/libc.so.6 #3 0x0062c71a in __libc_message () from /lib/tls/libc.so.6 #4 0x00634215 in _int_malloc () from /lib/tls/libc.so.6 #5 0x00635176 in calloc () from /lib/tls/libc.so.6 #6 0x080f3a7f in _ast_calloc (num=1, len=5500, file=0x11afda3 "chan_sip.c", lineno=4264, func=0x11b21b9 "sip_alloc") at /usr/src/asterisk-test/1.4.9/asterisk-1.4.9/include/asterisk/utils.h:359 #7 0x01171a12 in sip_alloc (callid=0x0, sin=0x0, useglobal_nat=0, intended_method=5) at chan_sip.c:4264 #8 0x011a5b52 in sip_request_call (type=0x2b4ecf0 "SIP", format=4, data=0x2b4f720, cause=0x2b4f824) at chan_sip.c:15567 #9 0x08082654 in ast_request (type=0x2b4ecf0 "SIP", format=4, data=0x2b4f720, cause=0x2b4f824) at channel.c:3181 #10 0x004a479c in dial_exec_full (chan=0xb6a23ea8, data=0x2b53a60, peerflags=0x2b4f870, continue_exec=0x0) at app_dial.c:1103 #11 0x004a7594 in dial_exec (chan=0xb6a23ea8, data=0x2b53a60) at app_dial.c:1705 #12 0x080b6bd3 in pbx_exec (c=0xb6a23ea8, app=0xb7d0f1d8, data=0x2b53a60) at pbx.c:532 #13 0x080b9e19 in pbx_extension_helper (c=0xb6a23ea8, con=0x0, context=0xb6a24028 "macro-pstn-cam-out", exten=0xb6a24078 "s", priority=5, label=0x0, callerid=0xb6c7d6d0 "DID_REMOVED", action=E_SPAWN) at pbx.c:1833 #14 0x080baedb in ast_spawn_extension (c=0xb6a23ea8, context=0xb6a24028 "macro-pstn-cam-out", exten=0xb6a24078 "s", priority=5, callerid=0xb6c7d6d0 "DID_REMOVED") at pbx.c:2288 #15 0x003612f4 in _macro_exec (chan=0xb6a23ea8, data=0x2b5b000, exclusive=0) at app_macro.c:308 #16 0x0036209a in macro_exec (chan=0xb6a23ea8, data=0x2b5b000) at app_macro.c:486 #17 0x080b6bd3 in pbx_exec (c=0xb6a23ea8, app=0x8514538, data=0x2b5b000) at pbx.c:532 #18 0x080b9e19 in pbx_extension_helper (c=0xb6a23ea8, con=0x0, context=0xb6a24028 "macro-pstn-cam-out", exten=0xb6a24078 "s", priority=51, label=0x0, callerid=0xb6c7d6d0 "DID_REMOVED", action=E_SPAWN) at pbx.c:1833 #19 0x080baedb in ast_spawn_extension (c=0xb6a23ea8, context=0xb6a24028 "macro-pstn-cam-out", exten=0xb6a24078 "s", priority=51, callerid=0xb6c7d6d0 "DID_REMOVED") at pbx.c:2288 #20 0x080bb3c9 in __ast_pbx_run (c=0xb6a23ea8) at pbx.c:2388 #21 0x080bc106 in pbx_thread (data=0xb6a23ea8) at pbx.c:2603 #22 0x080f4999 in dummy_start (data=0xb6fab170) at utils.c:545 #23 0x007ad371 in start_thread () from /lib/tls/libpthread.so.0 #24 0x00698ffe in clone () from /lib/tls/libc.so.6 (gdb) bt full #0 0x005b37a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 No symbol table info available. #1 0x005f87a5 in raise () from /lib/tls/libc.so.6 No symbol table info available. #2 0x005fa209 in abort () from /lib/tls/libc.so.6 No symbol table info available. #3 0x0062c71a in __libc_message () from /lib/tls/libc.so.6 No symbol table info available. #4 0x00634215 in _int_malloc () from /lib/tls/libc.so.6 No symbol table info available. #5 0x00635176 in calloc () from /lib/tls/libc.so.6 No symbol table info available. #6 0x080f3a7f in _ast_calloc (num=1, len=5500, file=0x11afda3 "chan_sip.c", lineno=4264, func=0x11b21b9 "sip_alloc") at /usr/src/asterisk-test/1.4.9/asterisk-1.4.9/include/asterisk/utils.h:359 p = (void *) 0x0 __PRETTY_FUNCTION__ = "_ast_calloc" #7 0x01171a12 in sip_alloc (callid=0x0, sin=0x0, useglobal_nat=0, intended_method=5) at chan_sip.c:4264 p = (struct sip_pvt *) 0x0 __PRETTY_FUNCTION__ = "sip_alloc" #8 0x011a5b52 in sip_request_call (type=0x2b4ecf0 "SIP", format=4, data=0x2b4f720, cause=0x2b4f824) at chan_sip.c:15567 oldformat = 4 p = (struct sip_pvt *) 0x2b4ec68 tmpc = (struct ast_channel *) 0x0 ext = 0xbca0500 "" host = 0x7fffffff
tmp = '\0' , "\200ø­\f", '\0' , "¤3c\000\000\000\000\000hçn\000\030\000\000\000\020\b¶\v", '\0' , "ô\177o\000P\230o\000\004\000\000\000 \000\000\000:3c\000@\230o\000(\004¶\v\020ÌJ\000D\003c\000\224'b\000D*c\000q\236`\000\000\000\000\000ô\177o\000\000\000\000\000]+\023\b(ò´\002G¹`\000Lò´\002]+\023\bD\003c\000\224'b\000ìâX\v%\000\000\000\000\000\000\000ô\177o\000\000\000\000\000\006\026\023\bXò´\002L\230o\000|ò´\002\030\000\000" dest = 0x2b4f720 "DID_REMOVED@cam-g2" __PRETTY_FUNCTION__ = "sip_request_call" #9 0x08082654 in ast_request (type=0x2b4ecf0 "SIP", format=4, data=0x2b4f720, cause=0x2b4f824) at channel.c:3181 chan = (struct chanlist *) 0xb7d0e8d8 c = (struct ast_channel *) 0x2b518f0 capabilities = 4 fmt = 4 res = 0 foo = 6537091 videoformat = 0 __PRETTY_FUNCTION__ = "ast_request" #10 0x004a479c in dial_exec_full (chan=0xb6a23ea8, data=0x2b53a60, peerflags=0x2b4f870, continue_exec=0x0) at app_dial.c:1103 tmp = (struct dial_localuser *) 0xbca0500 number = 0x2b4ecf4 "DID_REMOVED@cam-g2" tech = 0x2b4ecf0 "SIP" res = -1 u = (struct ast_module_user *) 0xc385b38 ---Type to continue, or q to quit--- rest = 0x0 cur = 0x2b4ecf0 "SIP" outgoing = (struct dial_localuser *) 0x0 peer = (struct ast_channel *) 0x2b4d7c0 to = 40 numbusy = 0 numcongestion = 0 numnochan = 0 cause = 0 numsubst = "DID_REMOVED@cam-g2\000b\000ô\177o\000à\205o\000©\000\000\000h÷´\002ô\177o\000à\205o\000 {o\000h÷´\002ò:b\000à\205o\000[\t{\000ð\030µ\002°Ûµ\002è÷´\002ô¹\006\bÀFû·\027\000\000\000ìâX\vQW\022\b5\000´\002\000\000\000\000\n\026\000\000óâX\v\v\000\000\000\001\000\000\000\r\000\000\000\035\000\000\000\a\000\000\000k\000\000\000\003\000\000\000ð\000\000\000\001\000\000\000ÀÇÿÿ\204ÂK\b)¡\006\bT\000\000\000W¦ÕFàFé\v\000\000\000\000ð\030µ\002\200\000\000\000è÷´\002ðø´\002ð\030µ\002°Ûµ\002"... cidname = '\0' privdb_val = 0 calldurationlimit = 0 timelimit = 0 play_warning = 0 warning_freq = 0 warning_sound = 0x0 end_sound = 0x0 start_sound = 0x0 dtmfcalled = 0x0 dtmfcalling = 0x0 status = "INVALIDARGS", '\0' play_to_caller = 0 play_to_callee = 0 sentringing = 0 moh = 0 outbound_group = 0x0 result = 0 start_time = 45413792 privintro = "\000\000\000\000ÿÿÿÿæñs D*c\000ÿÿÿÿ\001", '\0' , "ý\000\000\000\000\000\000\000\000\000\0000ÀM\000¤\201\000\000\001", '\0' , "ó\004\000\000\000\000\000\000\000\020\000\000\020\000\000\000\000\000\000\000M¦ÕF\002\000\000\000\002\000\000\000\000\000\000\000\206·, "ÿÿÿÿ¦ò´\002\000\000\000\000\002", '\0' , "\237ö´"... privcid = "ô\177o\000\017\000\000\000\037În\000¬ð´\002F c\0008ø\215\n\037În\000\017\000\000\000ô\177o\000\000\000\000\000\000\000\000\000\034ñ´\002?Ñd\000\037În\000\000\000\000\000\000\000\000\000¼ö´\002hõ´\002o\016\024\b\033\000\000\000ÿÿÿÿ\037În\000\204ö´\002Tò´\002\000ý\000\000\000\000\000\000\000\000\000\0000ÀM\000¤\201\000\000ìñз\001", '\0' , "ó\004\000\000ô\177o\000\r\000\000\000\204ÂK\b(ñ´\002\016Ýd\000ô\177o\000ö\000\000\000Þ>e\000\235ö´\002¦ò´\002\002\000\000\000\000\000\000\000¤3c\000\001Tc\000@\230o\000\017\000\000\000Ü"... parse = 0x2b4ecf0 "SIP" opermode = 0 args = {argc = 2, argv = 0x2b4f054, peers = 0x2b4ecf0 "SIP", timeout = 0x2b4ed06 "70", options = 0x0, url = 0x0} opts = {flags = 0} ---Type to continue, or q to quit--- opt_args = {0x0, 0x0, 0x0, 0x4dc030 "xü", 0x81a4
, 0x1 "", 0x0, 0x0, 0x0} __PRETTY_FUNCTION__ = "dial_exec_full" #11 0x004a7594 in dial_exec (chan=0xb6a23ea8, data=0x2b53a60) at app_dial.c:1705 peerflags = {flags = 0} #12 0x080b6bd3 in pbx_exec (c=0xb6a23ea8, app=0xb7d0f1d8, data=0x2b53a60) at pbx.c:532 res = 45414640 saved_c_appl = 0x851454c "Macro" saved_c_data = 0x2b5b000 "pstn-cam-out|DID_REMOVED|70" #13 0x080b9e19 in pbx_extension_helper (c=0xb6a23ea8, con=0x0, context=0xb6a24028 "macro-pstn-cam-out", exten=0xb6a24078 "s", priority=5, label=0x0, callerid=0xb6c7d6d0 "DID_REMOVED", action=E_SPAWN) at pbx.c:1833 e = (struct ast_exten *) 0xc22d710 app = (struct ast_app *) 0xb7d0f1d8 res = 186896992 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb6a24028 "macro-pstn-cam-out"} passdata = "SIP/DID_REMOVED@cam-g2|70|", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #14 0x080baedb in ast_spawn_extension (c=0xb6a23ea8, context=0xb6a24028 "macro-pstn-cam-out", exten=0xb6a24078 "s", priority=5, callerid=0xb6c7d6d0 "DID_REMOVED") at pbx.c:2288 No locals. #15 0x003612f4 in _macro_exec (chan=0xb6a23ea8, data=0x2b5b000, exclusive=0) at app_macro.c:308 c = (struct ast_context *) 0xc22d550 e = (struct ast_exten *) 0xc22d710 s = 0x0 tmp = 0x2b55d00 "pstn-cam-out" cur = 0x0 rest = 0x0 macro = 0x2b55d00 "pstn-cam-out" fullmacro = "macro-pstn-cam-out\000\000[\024\023\bx\003\000\000Ë,\023\b\004\026\023\bìâX\v8nµ\0023Ö\016\bà\216µ\002\000\000\000\000o\016\024\b\033\000\000\000\001\000\000\000ðmµ\002LEQ\b\033\000\000" varname = "ARG2\000\000\000\000\f\000\000\000\035\000\000\000\a\000\000\000k\000\000\000\003\000\000\000ð\000\000\000\001\000\000\000ÀÇÿÿ\204ÂK\b)¡\006\bT\000\000\000\017¦ÕFàFé\v\000\000\000\000\220\216µ\002\200\000\000\000\210mµ\002\220nµ\002" runningapp = "Dial\000f\000DRUserField\000\002ò:b\000à\205o\000[\t{\000\220\216µ\002°Ûµ\002\210mµ\002ô¹\006\bÀFû·\027\000\000\000ìâX\vQW\022\bF\005\000\000\000\000\000\000\n\026\000\000óâX\v" runningdata = "SIP/${ARG1}@cam-g2|${ARG2}|${ADDITIONAL_DIAL_ARGS}\000\000ÿÿÿÿ\000\000\000\000L\000\000\000\000\000\000\002\000\000\000\000\200\203K\b {o\000Hiµ\002ò:b\000\000\000\000\000÷ÿÿÿ zo\000ÿÿÿÿÈlµ\002[Á\n\b\003\000\000\000\003\000\000\000Ç\000\000\000\000\000\000\000\004\026\023\b±\a\000\000§6\000\000\000\000\000\000 zo\000\000\000\000\000Öiµ\002\000\000\000\000Ù^j\000¨iµ\002$¡h\000\235\000\000\000\237ðb\000\004\000\000\000\000p÷·\235\000\000\000\200\203K\b {o\000"... oldargs = {0x0 } argc = 3 x = 2 res = 0 oldexten = "DID_REMOVED", '\0' oldpriority = 51 gosub_level = 0 ---Type to continue, or q to quit--- pc = "51\000\000\017\000\000\000\037În\000Lfµ\002F c\000¸ H\v\037În\000\017\000\000\000ô\177o\000\000\000\000\000\000\000\000\000¼fµ\002?Ñd\000\037În\000\000\000\000\000\000\000\000\000\\lµ\002\bkµ\002o\016\024\b\033\000\000" depthc = "1\000µ\002\001Tc\000@\230o" oldcontext = "beac", '\0' inhangupc = 0x0 offset = 0 depth = 0 maxdepth = 7 setmacrocontext = 1 autoloopflag = 512 dead = 0 inhangup = 0 save_macro_exten = 0x0 save_macro_context = 0x0 save_macro_priority = 0x0 save_macro_offset = 0x0 u = (struct ast_module_user *) 0xa0140d0 __PRETTY_FUNCTION__ = "_macro_exec" #16 0x0036209a in macro_exec (chan=0xb6a23ea8, data=0x2b5b000) at app_macro.c:486 No locals. #17 0x080b6bd3 in pbx_exec (c=0xb6a23ea8, app=0x8514538, data=0x2b5b000) at pbx.c:532 res = 45444752 saved_c_appl = 0x0 saved_c_data = 0x0 #18 0x080b9e19 in pbx_extension_helper (c=0xb6a23ea8, con=0x0, context=0xb6a24028 "macro-pstn-cam-out", exten=0xb6a24078 "s", priority=51, label=0x0, callerid=0xb6c7d6d0 "DID_REMOVED", action=E_SPAWN) at pbx.c:1833 e = (struct ast_exten *) 0xb4fe0188 app = (struct ast_app *) 0x8514538 res = 8 q = {incstack = {0xb687e104 "beac", 0xb7960604 "default-out", 0xb71ddcbc "local-gw", 0xb623c3a4 "beac-out", 0xb6af736c "beac-optout", 0xb6ca45ec "beac-7digit-0\003", 0xb549174c "dialout", 0xb795fc64 "tollfree-dialout", 0x0 }, stacklen = 8, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb73afff9 "dialout-main"} passdata = "pstn-cam-out|DID_REMOVED|70", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #19 0x080baedb in ast_spawn_extension (c=0xb6a23ea8, context=0xb6a24028 "macro-pstn-cam-out", exten=0xb6a24078 "s", priority=51, callerid=0xb6c7d6d0 "DID_REMOVED") at pbx.c:2288 No locals. #20 0x080bb3c9 in __ast_pbx_run (c=0xb6a23ea8) at pbx.c:2388 dst_exten = "ES-p1000P¼\v\v4-2\000\000\000\000\000°Ûµ\002øÓµ\002x\230o\000@\230o\000 \000\000\000@\230o\000PÓµ\002ãËn\0001000-091x\230o\000\000\000\000\000°Ûµ\002øÓµ\002D*c\000SIP/THINKINGPHONES-p3000-216@\230o\000\000\000\000\000°Ûµ\002 \000\000\000\000\000\000\000(\001\000\000H\230o\000\002\000\000\000\025\000\000\000ES-p° c\000-25\000\f\000\000\000ô\177o\000\f\000\000\000@\230o\000\230Óµ\002vQc\000@\230o\000\f\000\000\000 \000\000\000\0009\001\000\f\000\000\000"... pos = 0 digit = 0 found = 1 ---Type to continue, or q to quit--- res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #21 0x080bc106 in pbx_thread (data=0xb6a23ea8) at pbx.c:2603 c = (struct ast_channel *) 0xb6a23ea8 #22 0x080f4999 in dummy_start (data=0xb6fab170) at utils.c:545 _buffer = {__routine = 0x80689d5 , __arg = 0x2b5dbb0, __canceltype = 45470808, __prev = 0x0} ret = (void *) 0x6f66f4 a = {start_routine = 0x80bc0ef , data = 0xb6a23ea8, name = 0xb6a24298 "pbx_thread", ' ' , "started at [ 2627] pbx.c ast_pbx_start()"} #23 0x007ad371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #24 0x00698ffe in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) quit