Starting with asterisk 1.6 the AMI command "Reload app_voicemail.so" will fail [silently]. Updates made through the .../recordings will apply to the voicemail.conf file but the asterisk reload won't pick up the changes.
Because the following patch is backwards compatible with 1.4.x (I tested on 1.4.30) it should be safe to apply universally. Without this change, any changes through the recordings portal will fail to apply until the module is reload through other means.
This was discovered trying to update the email address field.
--- modules/settings.module.orig 2010-07-21 13:14:12.000000000 -0500
+++ modules/settings.module 2010-07-21 13:11:02.000000000 -0500
@@ -1349,7 +1349,7 @@ class Settings {
global $asterisk_manager_interface;
- $response = $asterisk_manager_interface->Command("Action: Command\r\nCommand: Reload app_voicemail.so\r\n\r\n");
+ $response = $asterisk_manager_interface->Command("Action: Command\r\nCommand: Module Reload app_voicemail.so\r\n\r\n");
}
/*
Thanks,