[Serusers] SER module
Andrei Pelinescu-Onciul
pelinescu-onciul at fokus.fraunhofer.de
Wed Mar 3 22:43:12 CET 2004
On Mar 03, 2004 at 13:48, Kapil Dhawan <sersavvy at hotmail.com> wrote:
> i have written a small module but need one help in it...i am able to return
> only two values from my function...like 1 or -1 only two values work in
> ser.cfg...either i can return true or false....is there anyway i can return
> more than one value and treat them in ser.cfg and then depending upon
> returned value from module....can do specific action.....
You can return 3 values: 1 (true), -1 (false) and 0 (which will stop the
script processing, equivalent with break or drop).
Right you can't return more values and there is no way to treat them in
ser.cfg. This will change when we will add variables and functions in
script.
Andrei
P.S.: for development please use serdev at lists.iptel.org
>
> _________________________________________________________________
> Skin is in! Bollywood is sizzling.
> http://server1.msn.co.in/slideshow/striptease/ Check out these hot pics!
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list