Files
fusionpbx/resources/templates/conf/autoload_configs/lua.conf.xml
T

63 lines
2.5 KiB
XML
Raw Normal View History

<configuration name="lua.conf" description="LUA Configuration">
<settings>
2016-03-11 13:24:27 +00:00
<!--
Specify local directories that will be searched for LUA modules
These entries will be pre-pended to the LUA_CPATH environment variable
-->
2016-07-20 14:01:01 -06:00
<!--
<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"/>
-->
2016-03-11 13:24:27 +00:00
<!--
Specify local directories that will be searched for LUA scripts
These entries will be pre-pended to the LUA_PATH environment variable
-->
<!-- <param name="script-directory" value="/usr/local/lua/?.lua"/> -->
<param name="script-directory" value="$${script_dir}/?.lua"/>
2016-07-20 14:01:01 -06:00
<!--
Deliver XML from lua with the XML Handler
-->
2015-07-15 23:43:03 -07:00
<param name="xml-handler-script" value="app.lua xml_handler"/>
2016-07-20 14:01:01 -06:00
<param name="xml-handler-bindings" value="configuration,dialplan,directory,languages"/>
<!--
2016-01-13 10:40:21 +03:00
The following options identifies a lua script that is launched
at startup and may live forever in the background.
2016-03-11 13:24:27 +00:00
You can define multiple lines, one for each script you
2016-01-13 10:40:21 +03:00
need to run.
-->
2016-01-13 10:40:21 +03:00
<!-- FusionPBX: Run FAX server queue poller -->
<!--<param name="startup-script" value="app/fax/resources/scripts/fax_queue_monitor.lua"/>-->
2016-06-30 18:55:37 +03:00
<!-- FusionPBX: Support BLF for call flow -->
<!-- There 2 way to handle this
1 - Monitor - ignore SUBSCRIBE and just send NOTIFY each X seconds
2 - Event handler - handle each SUBSCRIBE request
-->
<!--<param name="startup-script" value="call_flow_monitor.lua"/>-->
<!--<param name="startup-script" value="blf_subscribe.lua flow"/>-->
<!-- FusionPBX: Support BLF for DND -->
<!--<param name="startup-script" value="blf_subscribe.lua dnd"/>-->
<!-- FusionPBX: Support BLF for Call Forward -->
<!--<param name="startup-script" value="blf_subscribe.lua forward"/>-->
2016-06-30 18:55:37 +03:00
<!-- FusionPBX: Support MWI indicator-->
<!-- There 2 way to handle this
1 - Monitor - ignore SUBSCRIBE and just send NOTIFY each X seconds
2 - Event handler - handle each SUBSCRIBE request
-->
<!--<param name="startup-script" value="app/voicemail/resources/scripts/mwi.lua"/>-->
<!--<param name="startup-script" value="app/voicemail/resources/scripts/mwi_subscribe.lua"/>-->
2017-11-09 14:09:56 -05:00
<!-- Subscribe to events -->
<!-- <hook event="PHONE_FEATURE_SUBSCRIBE" subclass="" script="app.lua feature_event"/>-->
</settings>
</configuration>