[OpenSIPS-Users] Changes in ACC Modules for 1.5?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Mar 31 14:33:50 CEST 2009


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);
>       ...
>     }
> ...
> }
>
>   




More information about the Users mailing list