[sr-dev] Possible bug in app_perl
James Cloos
cloos at jhcloos.com
Fri May 2 13:52:34 CEST 2014
>>>>> "DM" == Daniel-Constantin Mierla <miconda at gmail.com> writes:
DM> The return codes have a special interpretation in the config file:
DM> * >0 - is true
DM> * <0 - is false
DM> * =0 - exit config file execution
Ah. I didn't find that.
DM> http://www.asipto.com/pub/kamailio-devel-guide/#c16return_values
Thanks for that pointer; most interesting!
DM> I guess perl_exec() returns what is returned from the perl script.
Yes.
The -/0/+ distinctiong nicely makes things easier for what I want to do.
Thanks,
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
More information about the sr-dev
mailing list