Call a couple of times: -- Local/+31852100586@osvpi_world-f479;1 answered SIP/126680002-00000012 WARNING: Freeing unused memory at 0x122ec08, in __ast_module_user_remove of loader.c, line 222 [2010-09-28 09:37:01] WARNING[23556]: channel.c:1072 __ast_queue_frame: Unable to write to alert pipe on Local/+31507001918@world_out-9406;1 (qlen = 0): Bad file descriptor! -- Packet2Packet bridging SIP/126680002-00000012 and SIP/126680007-00000013 Call once more: -- Executing [+31507001918@voipgrid_out:1] Dial("Local/+31507001918@world_out-6f41;2", "SIP/+31507001918@126680007") in new stack == Using SIP RTP CoS mark 5 == Using UDPTL CoS mark 5 -- Called +31507001918@126680007 -- SIP/126680007-00000015 answered Local/+31507001918@world_out-6f41;2 -- Local/+31507001918@world_out-6f41;1 answered Local/+31852100586@osvpi_world-f7c2;2 -- Local/+31852100586@osvpi_world-f7c2;1 answered SIP/126680002-00000014 WARNING: Freeing unused memory at 0x123b178, in __ast_module_user_remove of loader.c, line 222 [2010-09-28 09:37:35] WARNING[23560]: channel.c:1072 __ast_queue_frame: Unable to write to alert pipe on Local/+31507001918@world_out-6f41;1 (qlen = 0): Bad file descriptor! WARNING: Freeing unused memory at 0x11df438, in __ast_module_user_remove of loader.c, line 222 == Spawn extension (osvpi_world_real_call, +31507001918, 3) exited non-zero on 'Local/+31852100586@osvpi_world-f7c2;2' [Thread 0x40176950 (LWP 23560) exited] == Spawn extension (voipgrid_out, +31507001918, 1) exited non-zero on 'Local/+31507001918@world_out-6f41;2' [Thread 0x41401950 (LWP 23562) exited] WARNING: Freeing unused memory at 0x123d098, in local_pvt_destroy of chan_local.c, line 171 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x40dca950 (LWP 23559)] 0x00007f7ac8d03f71 in memcpy () from /lib/libc.so.6 ======================================= (gdb) bt #0 0x00007f7ac8d03f71 in memcpy () from /lib/libc.so.6 #1 0x0000000000465150 in ast_do_masquerade (original=0x11f4f68) at channel.c:4561 #2 0x000000000045c8b7 in ast_waitfor_nandfds (c=0x40dc3b20, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x40dc3b1c) at channel.c:2075 #3 0x000000000045d2f9 in ast_waitfor_n (c=0x40dc3b20, n=2, ms=0x40dc3b1c) at channel.c:2394 #4 0x0000000000466631 in ast_generic_bridge (c0=0x7f7ab803a6b8, c1=0x11f4f68, config=0x40dc5130, fo=0x40dc4268, rc=0x40dc4260, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:4879 #5 0x00000000004687a3 in ast_channel_bridge (c0=0x7f7ab803a6b8, c1=0x11f4f68, config=0x40dc5130, fo=0x40dc4268, rc=0x40dc4260) at channel.c:5298 #6 0x0000000000496a75 in ast_bridge_call (chan=0x7f7ab803a6b8, peer=0x11f4f68, config=0x40dc5130) at features.c:2605 #7 0x00007f7ac5ceb920 in dial_exec_full (chan=0x7f7ab803a6b8, data=0x40dc7910, peerflags=0x40dc56b0, continue_exec=0x0) at app_dial.c:2260 #8 0x00007f7ac5cec193 in dial_exec (chan=0x7f7ab803a6b8, data=0x40dc7910) at app_dial.c:2344 #9 0x00000000004c940e in pbx_exec (c=0x7f7ab803a6b8, app=0x1120098, data=0x40dc7910) at pbx.c:1348 #10 0x00000000004d1c47 in pbx_extension_helper (c=0x7f7ab803a6b8, con=0x0, context=0x7f7ab803aa90 "osvpi_world_call", exten=0x7f7ab803aae0 "+31852100586", priority=7, label=0x0, callerid=0x11f3dc8 "+31852xxxxxx", action=E_SPAWN, found=0x40dca004, combined_find_spawn=1) at pbx.c:3711 #11 0x00000000004d3310 in ast_spawn_extension (c=0x7f7ab803a6b8, context=0x7f7ab803aa90 "osvpi_world_call", exten=0x7f7ab803aae0 "+31852100586", priority=7, callerid=0x11f3dc8 "+31852xxxxxx", found=0x40dca004, combined_find_spawn=1) at pbx.c:4170 #12 0x00000000004d3a8b in __ast_pbx_run (c=0x7f7ab803a6b8, args=0x0) at pbx.c:4264 #13 0x00000000004d4fed in pbx_thread (data=0x7f7ab803a6b8) at pbx.c:4551 #14 0x000000000052c1fc in dummy_start (data=0x7f7ab803c9d8) at utils.c:968 #15 0x00007f7ac8511fc7 in start_thread () from /lib/libpthread.so.0 #16 0x00007f7ac8d5659d in clone () from /lib/libc.so.6 #17 0x0000000000000000 in ?? () (gdb) info locals No symbol table info available. (gdb) up #1 0x0000000000465150 in ast_do_masquerade (original=0x11f4f68) at channel.c:4561 4561 ast_string_field_set(clonechan, name, zombn); (gdb) info locals __d__ = 0x40dc34c0 "Local/+31852100586@osvpi_world-f7c2;1" __dlen__ = 46 __p__ = (const char **) 0x11fc0e8 __q__ = 0x25
x = 8 i = 2 res = 0 origstate = 6 current = (struct ast_frame *) 0x0 t = (const struct ast_channel_tech *) 0x7f7ac45ba7e0 t_pvt = (void *) 0x123d098 tmpcid = {cid_dnid = 0x100000000
, cid_num = 0x154
, cid_name = 0x12404b0 "��\"\001", cid_ani = 0x1240538 "\004", cid_rdnis = 0x124068c "ᆳ�Tr\030�z\177", cid_pres = -1207749424, cid_ani2 = 352, cid_ton = 1088173696, cid_tns = 0} clonechan = (struct ast_channel *) 0x11fc028 cdr = (struct ast_cdr *) 0x11f0188 rformat = 8 wformat = 8 newn = "SIP/126680007-00000015\000\000\217\035E��X��8\005$\001\000\000\000\000`\001\000\000\000\000\000\000\000\037Q�\001\000\000\000�RW\000\000\000\000\000�6�@\003\002\000\000�GW\000\000\000\000" orig = "Local/+31852100586@osvpi_world-f7c2;1\000\000\000P��@\000\000\000\000\000\020\000\000\000\000\000\000�\020D\000\000\000\000\000�RW\000\000\000\000\000�\227{\000\000\000\000" masqn = "SIP/126680007-00000015\000\000\000\000�\001\000\000\000\000\000\000[�o\230':�\a\000\037\000�z\177\000\000\000\000\000\000\000\000\000\000k\003\000\000\\@\000\000\000\000\000\000\037\000\000" zombn = "Local/+31852100586@osvpi_world-f7c2;1", '\0' __PRETTY_FUNCTION__ = "ast_do_masquerade" (gdb) print *clonechan $1 = {tech = 0x7f7ac45ba7e0, tech_pvt = 0x0, music_state = 0x0, generatordata = 0x0, generator = 0x0, _bridge = 0x0, masq = 0x0, masqr = 0x0, blockproc = 0x567b10 "ast_waitfor_nandfds", appl = 0x7f7ac5cee247 "AppDial", data = 0x7f7ac5cee24f "(Outgoing Line)", sched = 0x0, stream = 0x0, vstream = 0x0, timingfunc = 0, timingdata = 0x0, pbx = 0x0, writetrans = 0x0, readtrans = 0x0, audiohooks = 0x0, cdr = 0x0, zone = 0x0, monitor = 0x0, __field_mgr_pool = 0x0, name = 0x25
, language = 0x58e694 "", musicclass = 0x58e694 "", accountcode = 0x58e694 "", call_forward = 0x58e694 "", uniqueid = 0x58e694 "", parkinglot = 0x58e694 "", dialcontext = 0x58e694 "", __field_mgr = {size = 256, used = 75, last_alloc = 0x25
, owner_file = 0x565f94 "channel.c", owner_func = 0x567720 "ast_channel_free", owner_line = 1502}, whentohangup = { tv_sec = 0, tv_usec = 0}, blocker = 1075276112, lock_dont_use = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = -1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\0' , "����", '\0' , __align = 0}, cid = {cid_dnid = 0x0, cid_num = 0x0, cid_name = 0x0, cid_ani = 0x0, cid_rdnis = 0x0, cid_pres = 33, cid_ani2 = 0, cid_ton = 0, cid_tns = 0}, dtmff = { frametype = 0, 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}, varshead = {first = 0x0, last = 0x0}, callgroup = 0, pickupgroup = 0, readq = {first = 0x0, last = 0x0}, chan_list = {next = 0x0}, jb = {conf = {flags = 0, max_size = -1, resync_threshold = -1, impl = '\0' , target_extra = -1}, impl = 0x0, jbobj = 0x0, timebase = {tv_sec = 0, tv_usec = 0}, next = 0, last_format = 0, logfile = 0x0, flags = 0}, dtmf_tv = {tv_sec = 0, tv_usec = 0}, datastores = {first = 0x0, last = 0x0}, insmpl = 0, outsmpl = 0, fds = {33, 34, -1, -1, -1, 35, -1, -1, -1, 36}, cdrflags = 0, _softhangup = 1, fdno = -1, streamid = -1, vstreamid = 0, oldwriteformat = 0, timingfd = -1, _state = AST_STATE_UP, rings = 0, priority = 1, macropriority = 0, amaflags = 3, adsicpe = AST_ADSI_UNKNOWN, fin = 6, fout = 51, hangupcause = 16, flags = 1024, alertpipe = {24, 25}, nativeformats = 8, readformat = 8, writeformat = 8, rawreadformat = 8, rawwriteformat = 8, emulate_dtmf_duration = 0, visible_indication = 0, transfercapability = 0, {unused_old_dtmfq = '\0' , {bridge = 0x0, timer = 0x0}}, context = "osvpi_world_real_call", '\0' , exten = "\00031507001918", '\0' , macrocontext = '\0' , macroexten = '\0' , emulate_dtmf_digit = 0 '\0'} (gdb) print clonechan->__field_mgr $3 = {size = 256, used = 75, last_alloc = 0x25
, owner_file = 0x565f94 "channel.c", owner_func = 0x567720 "ast_channel_free", owner_line = 1502}