I tought I had found the solution:
request_route {
$avp(dispgroup) = 2001; $avp(broute_trigger) = "BR_TO_NATIONAL"; t_on_branch($avp(broute_trigger)); route(DISPATCHCALL);
[...]
$avp(dispgroup) = 2002; $avp(broute_trigger) = "BR_TO_INT"; t_on_branch($avp(broute_trigger)); route(DISPATCHCALL); }
failure_route[DISPATCH_FAILURE] { [...] # Set desired Branch Trigger again to try next # dispatcher in list. t_on_branch($avp(broute_trigger)); route(RELAY); exit; }
But no...
function t_on_branch: parameter 1 is not constant
Any 'tricks'?