[Freeswitch-users] Making a system call with LUA

Alexandru Nedelcu alex at sinapticode.ro
Mon Feb 9 06:07:08 PST 2009


On Mon, 2009-02-09 at 13:30 +0000, Nik Middleton wrote:
> In the absence of any directives on lua/mysql, is it possible to
> launch a PHP script  from lua?  All I need to do is pass some data to
> update a db record.  I don’t need to have any links to the call as I
> intend to call is in the hang-up callback

I'm actually using Javascript, but os.execute should work:
http://www.lua.org/pil/22.2.html







More information about the FreeSWITCH-users mailing list