[sr-dev] git:master:bf13f41a: app_lua: docs - added note about KSR KEMI exports for register parameter

Daniel-Constantin Mierla miconda at gmail.com
Sun Feb 10 15:39:00 CET 2019


Module: kamailio
Branch: master
Commit: bf13f41a642752602c49d090a06a615a19f84ee5
URL: https://github.com/kamailio/kamailio/commit/bf13f41a642752602c49d090a06a615a19f84ee5

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-02-10T14:53:06+01:00

app_lua: docs - added note about KSR KEMI exports for register parameter

- mention that old 'sr' Lua module might be obsoleted soon

---

Modified: src/modules/app_lua/doc/app_lua_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/bf13f41a642752602c49d090a06a615a19f84ee5.diff
Patch: https://github.com/kamailio/kamailio/commit/bf13f41a642752602c49d090a06a615a19f84ee5.patch

---

diff --git a/src/modules/app_lua/doc/app_lua_admin.xml b/src/modules/app_lua/doc/app_lua_admin.xml
index 294c52ac72..acee294fc2 100644
--- a/src/modules/app_lua/doc/app_lua_admin.xml
+++ b/src/modules/app_lua/doc/app_lua_admin.xml
@@ -123,7 +123,21 @@ modparam("app_lua", "load", "/usr/local/etc/kamailio/lua/myscript.lua")
 	<section id="app_lua.p.register">
 	    <title><varname>register</varname> (string)</title>
 	    <para>
-			Use this function to register optional SIP Router submodules
+	    NOTE: Since &kamailio; v5.0, KEMI exports are available in Lua script
+		under KSR module. These exports cover most of the modules, a lot more
+		that those listed next. The KEMI exports are the recommended to
+		be used, the old 'sr' module might be obsoleted soon. To read more about
+		KEMI exports and available KSR submodules, see:
+    	<itemizedlist>
+		    <listitem>
+			<para>
+				<ulink url="http://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/">http://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/</ulink>
+			</para>
+		    </listitem>
+    	</itemizedlist>
+		</para>
+	    <para>
+			Use this parameter to register optional &kamailio; submodules
 			to Lua. Available submodules are:
 	    </para>
 	    	<itemizedlist>




More information about the sr-dev mailing list