Kamailio module app lua

From 탱이의 잡동사니
Jump to: navigation, 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