[OpenSIPS-Users] EXEC not working
Callum Guy
callum.guy at x-on.co.uk
Thu Feb 4 10:49:50 EST 2021
Maybe permissions or similar - have you tested the example from the docs?
exec("ls -l", , "$var(out)", "$var(err)", "$avp(env)");
xlog("The output is $var(out)\n");
xlog("Received the following error\n$var(err)");
On Thu, 4 Feb 2021 at 10:36, Dragomir Haralambiev <goup2010 at gmail.com> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
*0333 332 0000 | x-on.co.uk <https://www.x-on.co.uk> | **
<https://www.linkedin.com/company/x-on> <https://www.facebook.com/XonTel>
<https://twitter.com/xonuk> ** | Coronavirus
<https://www.x-on.co.uk/service/surgery-connect/coronavirus.htm>*
THE
ITSPA AWARDS 2020 <http://www.itspa.org.uk/itspa-awards> AND Best ITSP -
Mid Market, Best Software and Best Vertical Solution are trade marks of the
Internet Telephony Services Providers' Association, used under licence.
X-on
is a trading name of Storacall Technology Ltd a limited company
registered in
England and Wales.
Registered Office : Avaland House, 110
London Road, Apsley, Hemel Hempstead,
Herts, HP3 9SD. Company Registration
No. 2578478.
The information in this e-mail is confidential and for use by
the addressee(s)
only. If you are not the intended recipient, please notify
X-on immediately on +44(0)333 332 0000 and delete the
message from your
computer. If you are not a named addressee you must not use,
disclose,
disseminate, distribute, copy, print or reply to this email. Views
or
opinions expressed by an individual
within this email may not necessarily
reflect the views of X-on or its associated companies. Although X-on
routinely
screens for viruses, addressees should scan this email and any
attachments
for
viruses. X-on makes no representation or warranty as to the
absence of viruses
in this email or any attachments.
More information about the Users
mailing list