Update lua.conf.xml

Add languages to xml handler and Lua module-directory commented out.
This commit is contained in:
FusionPBX
2016-07-20 14:01:01 -06:00
committed by GitHub
parent ddc95108f8
commit d1d445e069

View File

@@ -5,8 +5,11 @@
Specify local directories that will be searched for LUA modules
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
@@ -15,8 +18,11 @@
<!-- <param name="script-directory" value="/usr/local/lua/?.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-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