Hi,
I have a few questions related to the variables in opensips and would really
appreciate if someone can help me clear these doubts:
1) Is it possible to fetch unsigned integers from the DB and store it in the
AVP? For eg, fetching a negative value from the DB.
2) Is it possible to fetch floating values or numbers with decimals from the
DB?
3) Can I assign a decimal value to a script variable? For eg: $var(a) =
0.015; Is this valid, because i get syntax error.
4) Can I perform arithmetic operation on floating values, for eg: $var(b) =
0.015 - 0.010; Is this valid?
5) Can I initialize a variable in the script to be defined as string or int?

I am required to perform similar arithmetic operations in the script and
based upon the values, do certain routing. Would appreciate any inputs
regarding the same.

Thanks in Advance.

--- Jayesh
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to