Hi Raul,

in both cases it is exactly the same. there is no difference between :).

Regards,
Bogdan

Raúl Alexis Betancor Santana wrote:
>
> AFAIK, it's a very bad idea to change flag status inside failure_route, 
> branch_route or reply_route. I suggest you to do it on route[] blocks, and 
> call it from failure_route.
>
> For example, instead of something like:
>
> failure_route[1]
> {
>   ....
>   if(....)
>     {
>       setflag(15);
>      ....
> }
>
> Just do:
>
> route(XX):
> {
>   setflag(15);
> }
>
> ...
>
> failure_route[1]:
> {
>   ...
>   if(...)
>     {
>       route(XX);
>       ...
>     }
> ...
> }
>
>   


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to