[SR-Users] riud access from route block

Juha Heinanen jh at tutpro.com
Tue Apr 30 09:06:56 CEST 2013


Juha Heinanen writes:

> 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?

there is $ruid pseudo variable for that purpose.  i got confused by text
in $branch(name) description that gave impression that only $ru and $du
are available for the main branch:

  Using $branch() you can access the additional branches, the main branch
  can be accessed using $ru and $du.

-- juha



More information about the sr-users mailing list