2015-10-23 08:00:17.609061 [INFO] mod_lua.cpp:335 lua: appending script directory: '/etc/freeswitch/scripts/?.lua'
2015-10-23 08:00:17.609067 [INFO] mod_lua.cpp:325 binding 'users.lua' to 'directory'
2015-10-23 08:00:17.609075 [INFO] mod_lua.cpp:404 lua: LUA_PATH set to: '/etc/freeswitch/scripts/?.lua'
If I move my script to /usr/share/... then it works, but I would like to keep my scripts in one place.
I get the error:cannot open /usr/share/freeswitch/scripts/users.lua
My script is located at /etc/freeswitch/scripts/ and I've added the following to my lua.conf.xml
<param name="script-directory" value="/etc/freeswitch/scripts/?.lua"/>
<param name="xml-handler-script" value="users.lua"/>
<param name="xml-handler-bindings" value="directory"/>
Why is it still looking in /usr/share/freeswitch...?