<div dir="ltr">My log shows this:<div>







<p class=""><span class="">2015-10-23 08:00:17.609061 [INFO] mod_lua.cpp:335 lua: appending script directory: &#39;/etc/freeswitch/scripts/?.lua&#39;</span></p>
<p class=""><span class="">2015-10-23 08:00:17.609067 [INFO] mod_lua.cpp:325 binding &#39;users.lua&#39; to &#39;directory&#39;</span></p>
<p class=""><span class="">2015-10-23 08:00:17.609075 [INFO] mod_lua.cpp:404 lua: LUA_PATH set to: &#39;/etc/freeswitch/scripts/?.lua&#39;</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">If I move my script to /usr/share/... then it works, but I would like to keep my scripts in one place.</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 23, 2015 at 2:26 PM, Michael Nielsen <span dir="ltr">&lt;<a href="mailto:mic.niel84@gmail.com" target="_blank">mic.niel84@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I get the error:<div>







<p><span>cannot open /usr/share/freeswitch/scripts/users.lua</span></p><p><span>My script is located at /etc/freeswitch/scripts/ and I&#39;ve added the following to my lua.conf.xml</span></p><p><span>







</span></p><p><span>    </span><span>&lt;param</span><span> name=&quot;script-directory&quot; value=&quot;/etc/freeswitch/scripts/?.lua&quot;/</span><span>&gt;</span></p><p><span>    </span><span>&lt;param</span><span> name=&quot;xml-handler-script&quot; value=&quot;users.lua&quot;/</span><span>&gt;</span></p><p><span>








</span></p><p><span>    </span><span>&lt;param</span><span> name=&quot;xml-handler-bindings&quot; value=&quot;directory&quot;/</span><span>&gt;</span></p><p><span><br></span></p><p><span>Why is it still looking in /usr/share/freeswitch...?</span></p></div></div>
</blockquote></div><br></div>