[asterisk-dev] Meetme CONFFLAGs

Mark Michelson mmichelson at digium.com
Mon Apr 18 10:57:27 CDT 2011


On 04/18/2011 10:09 AM, Olle E. Johansson wrote:
>         CONFFLAG_NO_AUDIO_UNTIL_UP = (1<<  31),
> };
>
> /* !If set play an intro announcement at start of conference */
> #define CONFFLAG_INTROMSG ((uint64_t)1<<  32)
>
>
>
>
> Why is the CONFFLAG_INTROMSG declared separately from the other CONFFLAGs?
>
> If I add a new CONFFLAG, do I need to move this to another value?
>
> /O

It's defined separately because we ran out of bits that an enum can be 
used to represent. If you add new flags, be sure to do it in the same 
way that CONFFLAG_INTROMSG is.

Mark Michelson



More information about the asterisk-dev mailing list