[Kamailio-Users] Bflags

Klaus Darilion klaus.mailinglists at pernau.at
Sat Dec 12 12:05:21 CET 2009


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)

klaus




More information about the sr-users mailing list