[SR-Users] new module: embedded lua

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 20 12:51:28 CEST 2010


fyi, i just added support to execute module functions from Lua. There is 
a restriction not to execute functions with fixups for parameters but no 
free-fixup.

SR Lua API is documented at:
http://sip-router.org/wiki/api/lua/devel

Cheers,
Daniel


On 2/11/10 12:28 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
> few weeks ago I uploaded a new module named app_lua, providing 
> functionality to execute Lua (http://www.lua.org) scripts in your 
> configuration file. Lua is small and fast, therefore fits very well in 
> a sip proxy environment. It has a lot of extensions, so when you 
> cannot do something with existing cfg functions, check this one as well.
>
> The readme and the api are available at:
> http://sip-router.org/wiki/api/lua/devel
> http://sip-router.org/docbook/sip-router/branch/master/modules/app_lua/app_lua.html 
>
>
> The API will be enhanced during this development cycle, your feedback 
> will help a lot in this direction. By now you get access to 
> pseudo-variables, sip headers, logging functions and sl module.
>
> For new comers in community, if you are a Perl fan, then you can use 
> the perl module in a similar way. Also, another module was uploaded 
> recently, app_python, allowing to write python extensions. Module and 
> API for Python are not yet documented, but I think this is not a 
> barrier for a true Python fan, actually I hope will be a motivation to 
> contribute the docs :-)
>
> Cheers,
> Daniel
>

-- 
Daniel-Constantin Mierla * http://www.asipto.com/ * 
http://twitter.com/miconda * 
http://www.linkedin.com/in/danielconstantinmierla




More information about the sr-users mailing list