[Kamailio-Users] Logical operators

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 13 12:40:02 CET 2010



On 1/11/10 6:27 PM, Antonio Reale wrote:
> Sorry for the question. The problem was in my head. I don't need the
> OR operator, but an AND operator. So the right expression is that
> reported in the previous email.
>    
ok, anyhow is good to use paranthesis around locgical expression to set 
priority, especially with || (or), e.g.,

if( ( a || b) && (c || d) )

Cheers,
Daniel

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





More information about the sr-users mailing list