Kamailio module app lua

From 탱이의 잡동사니
Revision as of 07:55, 25 July 2019 by Pchero (talk | contribs) (Created page with "== Overview == Kamailio module app_lua 내용 정리 == Basic == This module allows executing Lua scripts from config file, implementing the KEMI framework and exporting Lua...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Kamailio module app_lua 내용 정리

Basic

This module allows executing Lua scripts from config file, implementing the KEMI framework and exporting Lua module 'KSR'.

Parameters

load(string)

Set the path to the Lua script to be loaded at startup. Then you can use lua_run(function, params) to execute a function from the script at runtime.

Default value is 'null'
modparam("app_lua", "load", "/usr/local/etc/kamailio/lua/myscript.lua")

See also