How to run linux shell command from within LUA script in Freeswitch?
Hi Christopher, Thanks you for your reply! I already found why this didn't work for me (syntax issue - quotes), however while I tried to understand this, I already finished my lua script with oter command: os.execute() This is pure lua script command, but not FS-API's Lua command, so I run my command not from within FS, but from within LUA script itself. Do you see any disadvantages in this way? Thanks, Dmitry.
No, your way is probably better. On Wed, Mar 2, 2011 at 4:05 PM, Dmitry Saratsky <simpot@simpot.com> wrote:
Hi Christopher,
Thanks you for your reply!
I already found why this didn’t work for me (syntax issue - quotes), however while I tried to understand this, I already finished my lua script with oter command: os.execute()
This is pure lua script command, but not FS-API’s Lua command, so I run my command not from within FS, but from within LUA script itself.
Do you see any disadvantages in this way?
Thanks,
Dmitry.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Christopher Rienzo
-
Dmitry Saratsky