[Freeswitch-users] system call inside lua

Mehdi Shirazi m.shirazi at gmail.com
Mon Oct 4 13:36:14 UTC 2021


Hi
I can run this query on linux cli:
mssql-cli -S 192.168.69.60 -d IVR_SH -U IVRSH1 -P IVRSH -Q "SELECT * FROM
"dbo"."IVR_REQEST" "
but the same query inside lua script with os.execute does not work.
Itried:
-os.execute(' mssql-cli -S 192.168.69.60 -d IVR_SH -U IVRSH1 -P IVRSH -Q
"SELECT * FROM "dbo"."IVR_REQEST" " ');
-os.execute([[ mssql-cli -S 192.168.69.60 -d IVR_SH -U IVRSH1 -P IVRSH -Q
"SELECT * FROM "dbo"."IVR_REQEST" " ]]);
...
Please help.
Regards
M.Shirazi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211004/44947c30/attachment.html>


More information about the FreeSWITCH-users mailing list