[sr-dev] [kamailio/kamailio] app_lua: make mtree / mt_match available (#984)

Daniel-Constantin Mierla notifications at github.com
Mon Feb 13 11:19:01 CET 2017


That's the old way of exporting to lua. Starting with 5.0, there is a common interface named kemi that allows exporting same function at once to all kemi-enabled embedded interpreter (at this moment being app_lua, app_jsdt and app_python).

mt_match() is exported to kemi and should be accessible via KSR.mtree.mt_match(str, str, int)

The exports via kemi are not yet properly documented, but you can list them via RPC interface -- if you load app_lua module, see:

  - http://kamailio.org/docs/modules/devel/modules/app_lua.html#app_lua.r.list


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/984#issuecomment-279346123
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170213/97b43cfc/attachment.html>


More information about the sr-dev mailing list