Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-14 Thread Bogdan-Andrei Iancu
I also tested on 1.6 :) If you get them again, let me know. Regards, Bogdan osiris123d wrote: I am not getting those errors now. I am not sure what changed. I am running OpenSIPS 1.6. I don't know why I got those errors at first. Sorry. Bogdan-Andrei Iancu wrote: Hi, I just

Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-12 Thread osiris123d
I am not getting those errors now. I am not sure what changed. I am running OpenSIPS 1.6. I don't know why I got those errors at first. Sorry. Bogdan-Andrei Iancu wrote: Hi, I just tried the following piece of script: $var(current_day) = $time(%u);

Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-11 Thread osiris123d
The left side variable is defined because I do an xlog before the if statement and make sure the variable is correct and also an integer. I am not sure if you saw my post right after my first message, but here it is again Ok so I did some more testing and I see the following. Below in my first

Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-11 Thread Bogdan-Andrei Iancu
Hi, In order to try to reproduce this, please post the values you use for: $avp(s:mobile_time) $var(current_day) I will try to you exactly the same script code and values as you to see what I get. Regards, Bogdan osiris123d wrote: The left side variable is defined because I do an