you can store the return value in an AVP inside the module and then use
avpops module to check the value from config file.
Daniel
On 12/02/04 18:33, Gandhi, Jignesh wrote:
Hello all,
I have written a custom modules and am thinking about returning not just -1
on
error but different values if I can handle them differently in the ser.cfg.
I know that I can do the following....
if (!function_a())
{
do something;
}
else
{
do something else;
}
But I want to do store the return value of "function_a" and do different
stuff
depending on the return value.
Is this possible ?
thanks for any help in advance.
Jignesh Gandhi
Software Engineer II
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers