<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello!<div><br></div><div>I have Kamailio setup with registrar configured to allow multiple registrations. <i>branch_route[MANAGE_BRANCH]</i> contains <i>t_on_reply("REPLY")</i> and <i>t_on_branch_failure("FAILURE")</i>.</div><div><br></div><div><i>event_route[tm:branch-failure:FAILURE]</i> is used to do some logic, store information in htable and in the end it calls <b>t_relay</b> function. This creates new branch.</div><div><br></div><div>Replies for this branch go to<i> onreply_route[REPLY]</i>. The problem is that I can not find appropriate variable that would be available in both <b>event_route tm:branch-failure</b> and <b>onreply_route</b>. I need it to get saved data from htable. $T_reply_ruid is available in first one but not in second. $T_branch_idx obviously changes so it can not be used. Some registrations do not have <b>Received</b> value so source IP address and ports can not be used. <b>Address</b> value can be compared with <b>Contact</b> header from responce tacket but it is so long that it looks like it's not optimal way to do.</div><div><br></div><div>What interesting is that $T_reply_ruid is accessible in original replies for branches that have not failed.</div><div><br></div><div>Does anyone know what variable can be used in this case or how to make sure that $T_reply_ruid will be set?</div><div><br></div><div>Thanks a lot!</div></div></div></div></div></div></div></div></div></div></div></div></div>