#0  0xb73510dd in socket_process (thread=0x81c4f18) at chan_iax2.c:6939
6939                                                            ast_log(LOG_DEBUG, "Parked call on '%s'\n", ast_bridged_channel(iaxs[fr->callno]->owner)->name);

#0  0xb73510dd in socket_process (thread=0x81c4f18) at chan_iax2.c:6939
        sin = {sin_family = 2, sin_port = 55569, sin_addr = {s_addr = 1694499338},
  sin_zero = "\000\000\000\000\000\000\000"}
        res = 17
        updatehistory = 0
        new = 0
        ptr = (void *) 0x0
        dcallno = 4
        fh = (struct ast_iax2_full_hdr *) 0x81c4f9c
        mte = (struct ast_iax2_meta_trunk_entry *) 0x0
        mtm = (struct ast_iax2_meta_trunk_mini *) 0x0
        fr = (struct iax_frame *) 0xb7191560
        cur = (struct iax_frame *) 0x4
        f = {frametype = AST_FRAME_IAX, subclass = 34, datalen = 5, samples = 160, mallocd = 0,
  mallocd_hdr_len = 0, offset = 0, src = 0xb7365bb4 "IAX2", data = 0x0, delivery = {tv_sec = 0, tv_usec = 0},
  frame_list = {next = 0x0}, has_timing_info = -1208438045, ts = 0, len = 0, seqno = 0}
        c = (struct ast_channel *) 0x0
        dp = (struct iax2_dpcache *) 0x4
        tpeer = (struct iax2_trunk_peer *) 0x0
        rxtrunktime = {tv_sec = 0, tv_usec = 0}
        ies = {called_number = 0x81c4faa "700", calling_number = 0x0, calling_ani = 0x0, calling_name = 0x0,
  calling_ton = -1, calling_tns = -1, calling_pres = -1, called_context = 0x0, username = 0x0, password = 0x0,
  capability = 0, format = 0, codec_prefs = 0x0, language = 0x0, version = 0, adsicpe = 0, dnid = 0x0,
  rdnis = 0x0, authmethods = 0, encmethods = 0, challenge = 0x0, md5_result = 0x0, rsa_result = 0x0,
  apparent_addr = 0x0, refresh = 0, dpstatus = 0, callno = 0, cause = 0x0, causecode = 0 '\0',
  iax_unknown = 0 '\0', msgcount = -1, autoanswer = 0, musiconhold = 0, transferid = 0, datetime = 0,
  devicetype = 0x0, serviceident = 0x0, firmwarever = -1, fwdesc = 0, fwdata = 0x0, fwdatalen = 0 '\0',
  enckey = 0x0, enckeylen = 0 '\0', provver = 0, samprate = 1, provverpres = 0, rr_jitter = 0, rr_loss = 0,
  rr_pkts = 0, rr_delay = 0, rr_dropped = 0, rr_ooo = 0}
        ied0 = {buf = '\0' <repeats 1023 times>, pos = -1210554300}
        ied1 = {buf = '\0' <repeats 1023 times>, pos = 0}
        format = 0
        fd = 17
        exists = -1221174308
        minivid = 0
        empty = '\0' <repeats 31 times>
        host_pref_buf = '\0' <repeats 127 times>
        caller_pref_buf = '\0' <repeats 127 times>
        pref = {order = '\0' <repeats 31 times>, framing = '\0' <repeats 31 times>}
        using_prefs = 0xb736693e "mine"

#1  0xb73404a9 in iax2_process_thread (data=0x81c4f18) at chan_iax2.c:7601
i socket_process (thread=0x81c4f18) at chan_iax2.c:6939
        sin = {sin_family = 2, sin_port = 55569, sin_addr = {s_addr = 1694499338},
  sin_zero = "\000\000\000\000\000\000\000"}
        res = 17
        updatehistory = 0
        new = 0
        ptr = (void *) 0x0
        dcallno = 4
        fh = (struct ast_iax2_full_hdr *) 0x81c4f9c
        mte = (struct ast_iax2_meta_trunk_entry *) 0x0
        mtm = (struct ast_iax2_meta_trunk_mini *) 0x0
        fr = (struct iax_frame *) 0xb7191560
        cur = (struct iax_frame *) 0x4
        f = {frametype = AST_FRAME_IAX, subclass = 34, datalen = 5, samples = 160, mallocd = 0,
  mallocd_hdr_len = 0, offset = 0, src = 0xb7365bb4 "IAX2", data = 0x0, delivery = {tv_sec = 0, tv_usec = 0},
  frame_list = {next = 0x0}, has_timing_info = -1208438045, ts = 0, len = 0, seqno = 0}
        c = (struct ast_channel *) 0x0
        dp = (struct iax2_dpcache *) 0x4
        tpeer = (struct iax2_trunk_peer *) 0x0
        rxtrunktime = {tv_sec = 0, tv_usec = 0}
        ies = {called_number = 0x81c4faa "700", calling_number = 0x0, calling_ani = 0x0, calling_name = 0x0,
  calling_ton = -1, calling_tns = -1, calling_pres = -1, called_context = 0x0, username = 0x0, password = 0x0,
  capability = 0, format = 0, codec_prefs = 0x0, language = 0x0, version = 0, adsicpe = 0, dnid = 0x0,
  rdnis = 0x0, authmethods = 0, encmethods = 0, challenge = 0x0, md5_result = 0x0, rsa_result = 0x0,
  apparent_addr = 0x0, refresh = 0, dpstatus = 0, callno = 0, cause = 0x0, causecode = 0 '\0',
  iax_unknown = 0 '\0', msgcount = -1, autoanswer = 0, musiconhold = 0, transferid = 0, datetime = 0,
  devicetype = 0x0, serviceident = 0x0, firmwarever = -1, fwdesc = 0, fwdata = 0x0, fwdatalen = 0 '\0',
  enckey = 0x0, enckeylen = 0 '\0', provver = 0, samprate = 1, provverpres = 0, rr_jitter = 0, rr_loss = 0,
  rr_pkts = 0, rr_delay = 0, rr_dropped = 0, rr_ooo = 0}
        ied0 = {buf = '\0' <repeats 1023 times>, pos = -1210554300}
        ied1 = {buf = '\0' <repeats 1023 times>, pos = 0}
        format = 0
        fd = 17
        exists = -1221174308
        minivid = 0
        empty = '\0' <repeats 31 times>
        host_pref_buf = '\0' <repeats 127 times>
        caller_pref_buf = '\0' <repeats 127 times>
        pref = {order = '\0' <repeats 31 times>, framing = '\0' <repeats 31 times>}
        using_prefs = 0xb736693e "mine"

        tv = {tv_sec = 0, tv_usec = 0}
        ts = {tv_sec = 135501000, tv_nsec = 12}
#2  0x080eb3c9 in dummy_start (data=0x0) at utils.c:545
        _buffer = {__routine = 0x8067300 <ast_unregister_thread>, __arg = 0xb7193bb0, __canceltype = 0,
  __prev = 0x0}
        ret = (void *) 0x81bbfb0
        a = {start_routine = 0xb73402b0 <iax2_process_thread>, data = 0x81c4f18,
  name = 0x81bbfb0 "iax2_process_thread  started at [ 8080] chan_iax2.c start_network_thread()"}
#3  0xb7f84b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#4  0xb7dec18a in clone () from /lib/tls/libc.so.6



(gdb) print iaxs
$1 = {0x0, 0x0, 0x0, 0x0, 0x81d09b8, 0x0 <repeats 32763 times>}
(gdb) print fr->callno
$2 = 4
(gdb) print iaxs[fr->callno]
$3 = (struct chan_iax2_pvt *) 0x81d09b8
(gdb) print (iaxs[fr->callno])->owner
$4 = (struct ast_channel *) 0x81d42f8
(gdb) print ((iaxs[fr->callno])->owner)->name
$5 = 0x81d46fd "IAX2/jim-mac-4"


