[OpenSER-Users] Is possible to use two "branch_route[ ]" for same branch?

Iñaki Baz Castillo ibc at in.ilimit.es
Wed Oct 17 14:14:25 CEST 2007


El Wednesday 17 October 2007 13:28:55 Andreas Granig escribió:
> Hi,
>
> You may also create a route[] for the common code and call that route
> from your branch routes.

I thougt that but have a doubt: if I call a "route(1)" from "branch_route[3]", 
what is processed in "route[1]"? all the branch together of each one?

So, if I do:


route {
   ...
   t_on_branch("1");
   t_relay;
}

branch_route[1] {
  if (is_method("INVITE") )
     route(3);
  ...
  ...   
}

route[3] {
   ...
   operate_in_separate_branch here ¿?¿?¿?
   o in all branches together ?¿?¿?¿
}


What is processed in route[3] ?



Thanks.



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the sr-users mailing list