[OpenSER-Users] What is the difference?

Iñaki Baz Castillo ibc at in.ilimit.es
Wed Dec 19 13:33:17 CET 2007


El Wednesday 19 December 2007 13:20:07 Iñaki Baz Castillo escribió:
> El Wednesday 19 December 2007 13:15:35 David Villasmil Govea escribió:
> > What's the difference between
> >
> > setbflag and setflag
> > ??
>
> http://www.openser.org/dokuwiki/doku.php/utils:flags

Note that if you use setbflag into a "route" you set the bflag for ALL the 
branches (there could be more than one branch because pararell forking and 
so).

If you want to set bflag just for a branch you should use "setbflag" 
into "branch_route".

And NEVER do "isbflagset" into a "route" since the result can be unexpectable 
(if a branch has that bflag active and other one not active, "isbflagset" 
in "route" could return 1 or 0 depending on which branch examinates before).



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




More information about the sr-users mailing list