Bitwise Operations In Dialplan ?
Hello,
I’m thinking about using a single (long) integer value as a compact way to store user privileges.
Do bitwise operations as in [1], exist in Asterisk’s dialplan ?
Any workaround ?
[1] https://wiki.python.org/moin/BitwiseOperators
Best regards
One thought on - Bitwise Operations In Dialplan ?
https://wiki.asterisk.org/wiki/display/AST/Operators
https://www.voip-info.org/asterisk-expressions/
You can’t do shifts with >> and << but you can still multiply and divide by powers of 2. Antony. -- "Measuring average network latency is about as useful as measuring the mean temperature of patients in a hospital." - Stéphane Bortzmeyer Please reply to the list; please *don't* CC me. --