[OpenSIPS-Users] Flags and Mask on carrierroute module

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri May 22 10:28:36 CEST 2009

Hi Ricardo,

I cannot help you with CR stuff, but I can give you a hand with Dynamic 
Routing module 
(http://www.opensips.org/html/docs/modules/1.5.x/drouting.html) - more 
or less, you can do the same with it.


Ricardo Martins wrote:
> Hi al! I realy tried to find how flags and mask on carrierroute modulo 
> works but could not get a clue.
> I know that the mask column will be "applied" to the flags setted on 
> scripting, before trying to match the flags on the rule. That's ok. But, 
> in this case, what "applied" means?
> Let's consider the example at the module documentation, where we find a 
> route with flags=2048 and mask=2112 (both decimal values). How can we 
> interpret those values? For which possible values of message flags 
> (scripting flags) this match will be true?
> I apreciate if someone could help me on that, and I'm sure that this 
> help will be an important add to the list files, helping lots of people 
> for now on.
> Regards to all! Long life to opensips!
> Ricardo Poppi.
> Brasil.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list