(gdb) bt #0 0x000000000048a20b in ast_bridged_channel (chan=0x7f4050473788) at channel.c:7429 #1 0x00007f40582fce95 in sip_hangup (ast=0x7f4050473788) at chan_sip.c:7159 #2 0x000000000047b61d in ast_hangup (chan=0x7f4050473788) at channel.c:2842 #3 0x0000000000536e49 in __ast_pbx_run (c=0x7f4050473788, args=0x0) at pbx.c:6746 #4 0x00000000005371a5 in pbx_thread (data=0x7f4050473788) at pbx.c:6839 #5 0x000000000059011c in dummy_start (data=0x7f40501ffb00) at utils.c:1160 #6 0x00007f4063003b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f406415c7bd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x0000000000000000 in ?? () (gdb) f 0 #0 0x000000000048a20b in ast_bridged_channel (chan=0x7f4050473788) at channel.c:7429 7429 if (bridged && ast_channel_tech(bridged)->bridged_channel) (gdb) p bridged $1 = (struct ast_channel *) 0x2406058 (gdb) p *bridged $2 = {tech = 0x0, tech_pvt = 0x0, music_state = 0x0, generatordata = 0x0, generator = 0x0, bridged_channel = 0x7f4050473788, masq = 0x0, masqr = 0x0, blockproc = 0x5c1c10 "_full", appl = 0x7f405b5fcbdb "AppDial", data = 0x7f405b5fcbe3 "(Outgoing Line)", sched = 0x0, stream = 0x0, vstream = 0x0, timingfunc = 0, timingdata = 0x0, pbx = 0x0, writetrans = 0x0, readtrans = 0x0, audiohooks = 0x0, framehooks = 0x0, cdr = 0x0, zone = 0x0, monitor = 0x0, callid = 0x0, dialed_causes = 0x0, __field_mgr_pool = 0x0, name = 0x862106 "", language = 0x862106 "", musicclass = 0x862106 "", accountcode = 0x862106 "", peeraccount = 0x862106 "", userfield = 0x862106 "", call_forward = 0x862106 "", uniqueid = 0x862106 "", linkedid = 0x862106 "", parkinglot = 0x862106 "", hangupsource = 0x862106 "", dialcontext = 0x862106 "", __field_mgr = {last_alloc = 0x0, embedded_pool = 0x0}, whentohangup = {tv_sec = 0, tv_usec = 0}, blocker = 139914032625408, dialed = { number = {str = 0x0, plan = 0}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, transit_network_select = 0}, caller = {id = { name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 1 '\001'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, ani = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = { str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, priv = { name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, ani2 = 0}, connected = {id = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 1 '\001'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 1 '\001'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, ani = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 1 '\001'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, priv = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, ani2 = 0, source = 0}, redirecting = {orig = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, from = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, to = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, priv_orig = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = { str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, priv_from = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = { str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, priv_to = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, count = 0, reason = 0, orig_reason = 0}, dtmff = {frametype = 0, subclass = {integer = 0, format = {id = 0, fattr = {format_attr = { 0 }, rtp_marker_bit = 0 '\000'}}}, 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, named_callgroups = 0x0, named_pickupgroups = 0x0, creationtime = {tv_sec = 1415807557, tv_usec = 902529}, readq = {first = 0x0, last = 0x0}, jb = {conf = {flags = 0, max_size = 0, resync_threshold = 0, impl = '\000' , target_extra = 0}, impl = 0x0, jbobj = 0x0, timebase = {tv_sec = 0, tv_usec = 0}, next = 0, last_format = {id = 0, fattr = {format_attr = {0 }, rtp_marker_bit = 0 '\000'}}, logfile = 0x0, flags = 0}, dtmf_tv = {tv_sec = 0, tv_usec = 0}, hangup_handlers = {first = 0x0, last = 0x0}, datastores = { first = 0x0, last = 0x0}, autochans = {first = 0x0, last = 0x0}, insmpl = 0, outsmpl = 0, fds = {-1, -1, -1, -1, -1, -1, -1, -1, -1, 1057, 1061}, softhangup = 1, fdno = -1, streamid = -1, vstreamid = 0, oldwriteformat = {id = 0, fattr = {format_attr = {0 }, rtp_marker_bit = 0 '\000'}}, timingfd = 1057, state = AST_STATE_UP, rings = 0, priority = 1, macropriority = 0, amaflags = 3, adsicpe = AST_ADSI_UNAVAILABLE, fin = 603, fout = 1018, hangupcause = 16, finalized = 1, flags = {flags = 2098192}, alertpipe = {1061, 1064}, nativeformats = 0x0, readformat = {id = AST_FORMAT_ALAW, fattr = {format_attr = {0 }, rtp_marker_bit = 0 '\000'}}, writeformat = {id = AST_FORMAT_ALAW, fattr = {format_attr = {0 }, rtp_marker_bit = 0 '\000'}}, rawreadformat = { id = AST_FORMAT_GSM, fattr = {format_attr = {0 }, rtp_marker_bit = 0 '\000'}}, rawwriteformat = {id = AST_FORMAT_GSM, fattr = {format_attr = { 0 }, rtp_marker_bit = 0 '\000'}}, emulate_dtmf_duration = 0, visible_indication = 0, transfercapability = 0, bridge = 0x0, timer = 0x0, context = "inbound", '\000' , exten = "\000\071\060\063\065\061\070", '\000' , macrocontext = '\000' , macroexten = '\000' , dtmf_digit_to_emulate = 0 '\000', sending_dtmf_digit = 0 '\000', sending_dtmf_tv = {tv_sec = 1415807571, tv_usec = 286437}}