diff --git a/modules/lua/doc/lua_api.xml b/modules/lua/doc/lua_api.xml
index ba34c2b4157..6c34ea28729 100644
--- a/modules/lua/doc/lua_api.xml
+++ b/modules/lua/doc/lua_api.xml
@@ -71,6 +71,19 @@
Returns "SIP_REQUEST" or "SIP_REPLY".
+
+ isMyself(host, port)
+
+ Test if the host and optionally the port represent one of the addresses
+ that OpenSIPS listens on.
+
+
+
+ grepSockInfo(host, port)
+
+ Similar to isMyself(), but without taking a look into the aliases.
+
+
getURI_User(msg)
@@ -84,7 +97,7 @@
- getHeader(header)
+ getHeader(msg, header)
Returns the value of the specified header.
@@ -96,7 +109,13 @@
- moduleFunc(msg, function, args1, args2)
+ getRoute(msg)
+
+ Returns a table with the Route header.
+
+
+
+ moduleFunc(msg, function, args1, args2, ...)
You can pass arguments to this function.
@@ -126,19 +145,19 @@
- AVP_get(msg, name)
+ AVP_get(name)
Returns an AVP variable.
- AVP_set(msg, name, value)
+ AVP_set(name, value)
Defines an AVP variable.
- AVP_destroy(msg, name)
+ AVP_destroy(name)
Destroys an AVP variable.
@@ -150,7 +169,25 @@
- add_lump_rpl
+ pseudoVarSet(msg, variable, value)
+
+ Sets the value of a pseudoVar.
+
+
+
+ scriptVarGet(variable)
+
+ Returns a script variable.
+
+
+
+ scriptVarSet(variable, value)
+
+ Sets the value of a script variable.
+
+
+
+ add_lump_rpl(msg, header)
Add header to the reply.