Module voicemail cannot be enabled (after Upgrade!)

This morning I upgraded my voicemail module and it failed. It is now disabled and will not allow me to enable it.

When I try to install I get

Please wait while module actions are performed

Installing voicemail
Checking for General Setting migrations…not needed
checking if Voicemail Admin (vmailadmin) is installed…not installed, ok

and it hangs at that point

Tried a amportal install and

Module voicemail successfully downloaded
Checking for General Setting migrations..not needed
checking if Voicemail Admin (vmailadmin) is installed..not installed, ok
PHP Fatal error:  Uncaught exception 'Exception' with message 'Coding Error - don't understand '      load => res_jabber.so' from /etc/asterisk/modules.conf' in /var/www/html/admin/libraries/BMO/LoadConfig.class.php:225
Stack trace:
#0 /var/www/html/admin/libraries/BMO/LoadConfig.class.php(72): LoadConfig->explodeConfig(Array)
#1 /var/www/html/admin/libraries/BMO/LoadConfig.class.php(36): LoadConfig->loadConfig('modules.conf', '/etc/asterisk')
#2 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(110): LoadConfig->__construct(Object(FreePBX), 'modules.conf')
#3 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(50): Self_Helper->autoLoad('LoadConfig', Array)
#4 /var/www/html/admin/libraries/BMO/ConfigFile.class.php(32): Self_Helper->__call('LoadConfig', Array)
#5 /var/www/html/admin/libraries/BMO/ConfigFile.class.php(32): FreePBX->LoadConfig('modules.conf')
#6 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(110): ConfigFile->__construct(Object(FreePBX), 'modules.conf')
#7 /var/www/html/admin/libraries/BMO/Sel in /var/www/html/admin/libraries/BMO/LoadConfig.class.php on line 225

Fixed it!!!

The issue was leading spaces in

/etc/asterisk/modules.conf

Cleared the spaces out and install worked!!

1 Like