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

Christopher Rienzo cmrienzo at gmail.com
Thu Mar 3 00:19:15 MSK 2011


No, your way is probably better.


On Wed, Mar 2, 2011 at 4:05 PM, Dmitry Saratsky <simpot at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110302/73e6256b/attachment.html 


More information about the FreeSWITCH-users mailing list