[Kamailio-Users] Bflags

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 14 10:14:46 CET 2009



On 12/12/09 12:05 PM, Klaus Darilion wrote:
> Daniel-Constantin Mierla wrote:
> >> Thanks for clarification. In fact my comment was a question because I
>>> didn't
>>> remember it :)
>> I got it so and 2^6 + 2^7 = 192
>>
>> But I wanted to clarify that position of the flag in bitmask starts 
>> with 0 -- so if you count from 0, setflag(6) sets the 6th flag, if 
>> you count from 1, it sets the 7th flag.
>
> So, setflag(0) should work too? (Never tried it yet)
yes,

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/




More information about the Users mailing list