#0 0x000000000044a05d in ast_bridged_channel (chan=0x2aaab53becc4) at channel.c:3901 3901 bridged = bridged->tech->bridged_channel(chan, bridged); (gdb) list 3896 struct ast_channel *ast_bridged_channel(struct ast_channel *chan) 3897 { 3898 struct ast_channel *bridged; 3899 bridged = chan->_bridge; 3900 if (bridged && bridged->tech && bridged->tech->bridged_channel) 3901 bridged = bridged->tech->bridged_channel(chan, bridged); 3902 return bridged; 3903 } 3904 3905 static void bridge_playfile(struct ast_channel *chan, struct ast_channel *peer, const char *sound, int remain) (gdb) print bridged $1 = (struct ast_channel *) 0x2aaab53c13c4 (gdb) print bridged->tech $2 = (const struct ast_channel_tech *) 0x532f04 (gdb) print bridged->tech->bridged_channel $3 = (struct ast_channel *(* const)(struct ast_channel *, struct ast_channel *)) 0x614c202e79726576 (gdb) print chan $4 = (struct ast_channel *) 0x2aaab53becc4 (gdb) print *bridged->tech $5 = {type = 0x0, description = 0x5f64646100000000
, capabilities = 1769108595, properties = 1885300590, requester = 0x5f747361006c6f6f, devicestate = 0x665f63696d6f7461, send_digit_begin = 0x5f64646168637465, send_digit_end = 0x776f6c735f746e69, call = 0x6168637465662600, hangup = 0x646c25006d5f6464, answer = 0x6e25, read = 0, write = 0x5f74736100000000, send_text = 0x5f63696d616e7964, send_image = 0x657268745f727473, send_html = 0x646c6975625f6461, exception = 0x5f7473610061765f, bridge = 0x705f656c62616e65, indicate = 0x72665f74656b6361, fixup = 0x7461746e656d6761, setoption = 0x62616e55006e6f69, queryoption = 0x6964206f7420656c, transfer = 0x4d5020656c626173, write_video = 0x6f63736964205554, bridged_channel = 0x614c202e79726576, func_channel_read = 0x2050445520656772, func_channel_write = 0x207374656b636170} (gdb) print *chan $6 = {tech = 0x2aaab50ff660, tech_pvt = 0xdb5de4, __begin_field = 0x2aaab53becd4, name = 0x2aaab53bf5f9 "SIP/103-00db5de4", language = 0x2aaab53bf613 "es", musicclass = 0x532f04 "", accountcode = 0x532f04 "", call_forward = 0x532f04 "", uniqueid = 0x2aaab53bf5e8 "1190029374.13431", __end_field = 0x2aaab53bed04, __field_mgr = {pool = 0x2aaab53bf5d4, size = 128, space = 70, used = 58}, fds = {258, 259, -1, -1, -1, -1, 254, -1}, music_state = 0x2aaab52f97a4, generatordata = 0x0, generator = 0x0, _bridge = 0x2aaab53c13c4, masq = 0x0, masqr = 0x0, cdrflags = 0, _softhangup = 0, whentohangup = 0, blocker = 1097087296, lock = {mutex = {__data = {__lock = 1, __count = 1, __owner = 20261, __nusers = 1, __kind = 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = "\001\000\000\000\001\000\000\000%O\000\000\001\000\000\000\001", '\0' , __align = 4294967297}, track = 1, file = {0x5117f3 "channel.c", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, lineno = {4934, 0, 0, 0, 0, 0, 0, 0, 0, 0}, reentrancy = 1, func = {0x515350 "ast_channel_trylock", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, thread = {1084799296, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, blockproc = 0x51413b "ast_write", appl = 0x0, data = 0x0, fdno = 0, sched = 0x2aaab53bf3c4, streamid = -1, stream = 0x0, vstreamid = 0, vstream = 0x0, oldwriteformat = 4, timingfd = 254, timingfunc = 0, timingdata = 0x0, _state = AST_STATE_UP, rings = 0, cid = { cid_dnid = 0x0, cid_num = 0xc79844 "103", cid_name = 0xc0e124 "", cid_ani = 0x0, cid_rdnis = 0x0, cid_pres = 0, cid_ani2 = 0, cid_ton = 0, cid_tns = 0}, dtmfq = '\0' , dtmff = {frametype = 0, subclass = 0, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, has_timing_info = 0, ts = 0, len = 0, seqno = 0}, context = "internal", '\0' , exten = "103", '\0' , priority = 1, macrocontext = '\0' , macroexten = '\0' , macropriority = 0, dialcontext = '\0' , pbx = 0x0, amaflags = 3, cdr = 0x0, adsicpe = AST_ADSI_UNKNOWN, zone = 0x0, monitor = 0x0, insmpl = 0, outsmpl = 0, fin = 1097, fout = 1099, hangupcause = 0, varshead = {first = 0xdb9cc4, last = 0xa6c264}, callgroup = 0, pickupgroup = 0, flags = 1088, transfercapability = 0, readq = {first = 0x0, last = 0x0}, alertpipe = {-1, -1}, nativeformats = 4, readformat = 4, writeformat = 4, writetrans = 0x0, readtrans = 0x0, rawreadformat = 4, rawwriteformat = 4, spies = 0x0, whisper = 0x0, chan_list = {next = 0xdabbd4}, jb = { conf = {flags = 0, max_size = 0, resync_threshold = 0, impl = '\0' }, impl = 0x0, jbobj = 0x0, timebase = {tv_sec = 0, tv_usec = 0}, next = 0, last_format = 0, logfile = 0x0, flags = 0}, emulate_dtmf_digit = 0 '\0', emulate_dtmf_duration = 0, dtmf_tv = {tv_sec = 0, tv_usec = 0}, datastores = {first = 0x0, last = 0x0}} (gdb) print *bridged->tech->bridged_channel Cannot access memory at address 0x614c202e79726576