Hi Dragomir,
exec is working for me in OpenSIPS 3.1 with command...
exec("/root/scripts/script.sh $si", , $var(out), $var(err));
Is it the quotes around $var(err) that is causing the null output??
On Thu, 4 Feb 2021 at 10:37, Dragomir Haralambiev <[email protected]>
wrote:
> Hello,
>
> I try to run external program like this
>
> exec("/test/opensips.pl",,,"$var(err)");
> xlog("Received the following error $var(err)");
>
> Here is log record:
> Received the following error <null>
>
> The program is not running.
>
> Where is the reason?
>
> Best regards:
> Dragomir
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users