[OpenSER-Users] test operator]

Klaus Darilion klaus.mailinglists at pernau.at
Thu Sep 20 17:48:22 CEST 2007


Bogdan-Andrei Iancu schrieb:
> Hi Klaus,
> 
> the [..] operator is used to convert generic numerical value (maybe 
> result of arithmetic ops to logical value.
> 
> in your example, the == is already a logical operator, so no need to any 
> conversion.

Does ($rd == "mydomain") works too?

is this somewhere documented? The corebook only describes assignments,
but not conditions/comparisons.

regards
klaus





More information about the sr-users mailing list