[Freeswitch-users] How to run linux shell command from within LUA script in Freeswitch?

Dmitry Saratsky simpot at simpot.com
Thu Mar 3 00:05:34 MSK 2011


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110302/dd3f68e7/attachment.html 


More information about the FreeSWITCH-users mailing list