[Serusers] ser.cfg Operators and Operands

Szabolcs Szasz sszasz at digicomm.ro
Fri Jun 9 12:25:49 CEST 2006


 Hi All!

 What is the correct operand in a condtional statement for negation?
I have a problem in a ser.cfg line:

 if (uri=~"sip:0[1-9][0-9]*@.*" && uri!="sip:01234[6-9][0-9]@.*")

 The SER doesn't take in consideration the 2nd part of the conditional
statement after the && operand.
What is wrong in this line?

Thanks!

Szasz Szabolcs



-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/




More information about the sr-users mailing list