<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000">
<TITLE>No voicemail after attempted FusionPBX upgrade</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<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/102@192.168.1.6:5060 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/102@192.168.1.6:5060 SET [voicemail_action]=[check]</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">EXECUTE sofia/internal/102@192.168.1.6:5060 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/102@192.168.1.6:5060 SET [voicemail_profile]=[default]</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">EXECUTE sofia/internal/102@192.168.1.6:5060 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/102@192.168.1.6:5060 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/102@192.168.1.6:5060 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/102@192.168.1.6:5060 [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>
</BODY>
</HTML>