Hello, How can I do bitwise AND operations on a variable? I want to check the bits set in the HANGUPCAUSE, but can't find a way to do it. -- Alex Hermann
Give this a whirl: ${MATH(HANGUPCAUSE&bit)} Got it here: https://issues.asterisk.org/view.php?id=9891 Alex Hermann wrote:> Hello, > > > How can I do bitwise AND operations on a variable? I want to check the bits > set in the HANGUPCAUSE, but can't find a way to do it.-- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775