Daniel-Constantin Mierla writes:
is clone_msg parameter let to its default value?
Yes, not set.
Provide also the output in gdb for:
p *trans
Below, Juha
-----------------------------------------------
(gdb) p *trans
$1 = {next_c = 0x3835332b00002fc3, prev_c = 0x3337343432333432, hash_index = 0, label =
12, flags = 0, nr_of_outgoings = 0, fcount = 0, ref_count = {val = 0}, from = {s = 0x0,
len = 0}, callid = {s = 0x0, len = 0}, cseq_n = {s = 0x0, len = 0}, to = {s = 0x0, len =
0}, method = {s = 0x0, len = 0}, tmcb_hl = {first = 0x0, reg_types = 0}, wait_timer = {
next = 0x0, prev = 0x0, expire = 0, initial_timeout = 0, data = 0x0, f = 0x0, flags =
0, slow_idx = 0}, wait_start = 0, uas = {request = 0x0, end_request = 0x0, response =
{rbtype = 0, flags = 0, t_active = 0, branch = 0, buffer_len = 0, buffer = 0x0, my_T =
0x0, timer = {next = 0x0, prev = 0x0, expire = 0, initial_timeout = 0, data = 0x0,
f = 0x0, flags = 0, slow_idx = 0}, dst = {send_sock = 0x0, to = {s = {sa_family =
0, sa_data = '\000' <repeats 13 times>}, sin = {sin_family = 0, sin_port =
0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 =
{sin6_family = 0, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {__in6_u = {
__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0,
0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}, sas = {ss_family = 0,
__ss_padding = '\000' <repeats 117 times>, __ss_align = 0}}, id = 0,
send_flags = {f = 0, blst_imask = 0}, proto = 0 '\000', proto_pad0 = 0
'\000', proto_pad1 = 0}, retr_expire = 0,
fr_expire = 0}, local_totag = {s = 0x0, len = 0}, cancel_reas = 0x0, status = 0},
uac = 0x0, async_backup = {backup_route = 0, backup_branch = 0, blind_uac = 0, ruri_new =
0}, fwded_totags = 0x0, uri_avps_from = 0x0, uri_avps_to = 0x0, user_avps_from = 0x0,
user_avps_to = 0x0, domain_avps_from = 0x0, domain_avps_to = 0x0, xavps_list = 0x0,
xavus_list = 0x0, xavis_list = 0x0, reply_mutex = {val = 0}, reply_locker_pid = {val =
0}, reply_rec_lock_level = 0, fr_timeout = 0, fr_inv_timeout = 0, rt_t1_timeout_ms = 0,
rt_t2_timeout_ms = 0, end_of_life = 0, relayed_reply_branch = 0, on_failure = 0,
on_branch_failure = 0, on_reply = 0, on_branch = 0, on_branch_delayed = 0,
md5 = 0x7fd2532505a0 ""}