[SR-Users] flags definition in kamailio.cfg + 5.2 documentation

Alex Balashov abalashov at evaristesys.com
Wed Mar 27 00:10:23 CET 2019


Hi Joel,

Yes, this is a gap in the core cookbook documentation. 

I learned about named flags back in the day:

http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x

-- Alex

On Tue, Mar 26, 2019 at 04:04:29PM -0700, Joel Serrano wrote:

> Hi,
> 
> I saw in the Kazoo default.cfg this:
> 
> ...
> ####### Flags #######
> flags
>     FLAG_INTERNALLY_SOURCED:  1,
>     FLAG_ASSOCIATE_SERVER:    2,
>     FLAG_SKIP_NAT_CORRECTION: 3,
>     FLAG_ASSOCIATE_USER:      4,
>     FLAG_TRUSTED_SOURCE:      5,
>     FLAG_SESSION_PROGRESS:    6,
>     FLAG_IS_REPLY:            7,
>     FLAG_SIP_TRACE:           8;
> ...
> 
> 
> So then I went here to read about it:
> https://www.kamailio.org/wiki/cookbooks/5.2.x/core#flags
> 
> I found out it's not documented... is this a drop-in alternative for a:
> #!define FLAG_NAME FLAG_BIT?
> 
> Sorry, first time I see this if not I would update the docs myself... :(
> 
> Thanks,
> Joel.

> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list