[SR-Users] riud access from route block

Juha Heinanen jh at tutpro.com
Mon Apr 29 22:00:30 CEST 2013


when i call t_relay() on a tcp contact, branch route is executed.  in
that branch route i call t_on_branch_failure.  now if the tcp connection
to the contact is broken, for example, due to uas crash, the branch
failure route is never executed and thus i cannot get access to
$T_reply_ruid.

there is $branch(name) pv that gives access to other branched, but not
the "main branch".  is there any way to get access to ruid of the main
branch when t_relay() fails when called from route block?  for example,
if there is only one contact (the $ru one), which results in t_relay()
failure, is there a way to find out the ruid of this contact?

-- juha



More information about the sr-users mailing list