Browse code

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

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

Daniel-Constantin Mierla authored on 08/02/2019 19:11:40
Showing 1 changed files
... ...
@@ -123,7 +123,21 @@ modparam("app_lua", "load", "/usr/local/etc/kamailio/lua/myscript.lua")
123 123
 	<section id="app_lua.p.register">
124 124
 	    <title><varname>register</varname> (string)</title>
125 125
 	    <para>
126
-			Use this function to register optional SIP Router submodules
126
+	    NOTE: Since &kamailio; v5.0, KEMI exports are available in Lua script
127
+		under KSR module. These exports cover most of the modules, a lot more
128
+		that those listed next. The KEMI exports are the recommended to
129
+		be used, the old 'sr' module might be obsoleted soon. To read more about
130
+		KEMI exports and available KSR submodules, see:
131
+    	<itemizedlist>
132
+		    <listitem>
133
+			<para>
134
+				<ulink url="http://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/">http://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/</ulink>
135
+			</para>
136
+		    </listitem>
137
+    	</itemizedlist>
138
+		</para>
139
+	    <para>
140
+			Use this parameter to register optional &kamailio; submodules
127 141
 			to Lua. Available submodules are:
128 142
 	    </para>
129 143
 	    	<itemizedlist>