When upgrading to Asterisk 1.6 and FreePBX 2.5.1.5 we noticed that as soon as changes were made to voicemail accounts the config files were trashed. Specifically, voicemail.conf no longer had any entries in [default], and all the user entries were duplicated into vm_general.inc and vm_email.inc!
It seems although the original voicemail.conf.template contains the statements:
#include vm_general.inc
#include vm_email.inc
Our versioned showed
#include "vm_general.inc"
#include "vm_email.inc"
This is valid config, and was clearly updated automatically by Asterisk or FreePBX as we have not had need to edit it.
These quotes led to the creation of those files WITH the quotes in their name, despite FreePBX 2.4 working fine with this configuration.
It would be good if we could look at allowing quotes around filenames within the syntax parser of FreePBX, as this was a horrible issue to track!
Thanks guys!