<div dir="ltr">EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060">102@192.168.1.6:5060</a> lua(app.lua voicemail)<br><br>FusionPBX now uses it's own built-in lua voicemail application, rather than mod_voicemail.<br>
So, if the lua isn't executing this is purely a fusionpbx issue -- you should ask on #fusionpbx.<br><br>Regards,<br><div><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div>
</div><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 11:05 PM, Phil Quesinberry <span dir="ltr"><<a href="mailto:philq@qsystemsengineering.com" target="_blank">philq@qsystemsengineering.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p dir="LTR"><span lang="en-us"><font face="Consolas">Just attempted an upgrade to FusionPBX and it appears to have messed up lua. I completely backed up the FS config (/usr/local/freeswitch/conf) as well as the FusionPBX files and database before attempting this but reverting to the old configuration doesn’t fix the problem, despite doing a reloadxml/restarting FS, etc. I think FusionPBX may have made some changes to the scripts directory which I hadn’t backed up.</font></span><span lang="en-us"><font face="Consolas"> </font></span><span lang="en-us"> <font face="Consolas">Just to be sure,</font></span><span lang="en-us"> <font face="Consolas">I recompiled with 'make current' but that didn't help either.</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">I did make a snapshot of the VM that FS is running on a day or two ago but I’d like to understand what happened. I now get the following errors in the console output when attempting to enter voicemail:</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> set(voicemail_action=check)</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">2013-07-01 15:10:24.774751 [DEBUG] mod_dptools.c:1373 sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET [voicemail_action]=[check]</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> set(voicemail_profile=default)</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">2013-07-01 15:10:24.774751 [DEBUG] mod_dptools.c:1373 sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET [voicemail_profile]=[default]</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> lua(app.lua voicemail)</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">2013-07-01 15:10:24.774751 [ERR] mod_lua.cpp:198 cannot open /usr/local/freeswitch/scripts/resources/functions/file_exists.lua: No such file or directory</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">stack traceback:</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas"> [C]: in function 'dofile'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas"> /usr/local/freeswitch/scripts/resources/config.lua:20: in main chunk</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas"> [C]: in function 'dofile'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas"> /usr/local/freeswitch/scripts/app.lua:28: in main chunk</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">2013-07-01 15:10:24.774751 [DEBUG] switch_cpp.cpp:1050 sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> destroy/unlink session from object</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">2013-07-01 15:10:24.774751 [NOTICE] switch_core_state_machine.c:262 sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> has executed the last dialplan instruction, hanging up.</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">2013-07-01 15:10:24.774751 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> [CS_EXECUTE] [NORMAL_CLEARING]</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">Doing a sofia</font></span><span lang="en-us"><font face="Consolas"> loglevel all 9 or</font></span><span lang="en-us"> <font face="Consolas">SLA</font></span><span lang="en-us"> <font face="Consolas">debug doesn't really seem to generate any additional</font></span><span lang="en-us"> <font face="Consolas">useful</font></span><span lang="en-us"> <font face="Consolas">inf</font></span><span lang="en-us"><font face="Consolas">o pertaining to this problem, at least not that I can see.</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Consolas">Any ideas on what might have happened here? FusionPBX comes in really handy for the more routine admin tasks but in my experience it doesn’t appear to upgrade very well. Otherwise, it seems quite polished. This is the first time it’s taken out my FS config though.</font></span></p>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>