Update lua.conf.xml
Add languages to xml handler and Lua module-directory commented out.
This commit is contained in:
@@ -5,8 +5,11 @@
|
|||||||
Specify local directories that will be searched for LUA modules
|
Specify local directories that will be searched for LUA modules
|
||||||
These entries will be pre-pended to the LUA_CPATH environment variable
|
These entries will be pre-pended to the LUA_CPATH environment variable
|
||||||
-->
|
-->
|
||||||
<!-- <param name="module-directory" value="/usr/lib/lua/5.1/?.so"/> -->
|
<!--
|
||||||
<!-- <param name="module-directory" value="/usr/local/lib/lua/5.1/?.so"/> -->
|
<param name="module-directory" value="/usr/local/lib/lua/5.2/?.so"/>
|
||||||
|
<param name="module-directory" value="/usr/local/lib/lua/5.2/?"/>
|
||||||
|
<param name="module-directory" value="/usr/lib/x86_64-linux-gnu/lua/5.2/?.so"/>
|
||||||
|
-->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Specify local directories that will be searched for LUA scripts
|
Specify local directories that will be searched for LUA scripts
|
||||||
@@ -15,8 +18,11 @@
|
|||||||
<!-- <param name="script-directory" value="/usr/local/lua/?.lua"/> -->
|
<!-- <param name="script-directory" value="/usr/local/lua/?.lua"/> -->
|
||||||
<param name="script-directory" value="$${script_dir}/?.lua"/>
|
<param name="script-directory" value="$${script_dir}/?.lua"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Deliver XML from lua with the XML Handler
|
||||||
|
-->
|
||||||
<param name="xml-handler-script" value="app.lua xml_handler"/>
|
<param name="xml-handler-script" value="app.lua xml_handler"/>
|
||||||
<param name="xml-handler-bindings" value="configuration,dialplan,directory"/>
|
<param name="xml-handler-bindings" value="configuration,dialplan,directory,languages"/>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The following options identifies a lua script that is launched
|
The following options identifies a lua script that is launched
|
||||||
|
|||||||
Reference in New Issue
Block a user