Voice messages ignored

I am moving an old FreePBX to the latest version and want to move the original user’s “not in office” and other individual extensions to the new system.

After copying them to the respective folder, they are ignored and the generic “leave a message” and so on are used. When they are manually created through a test phone, they work. When the original are copied to the same location/name/properties, they don’t work!

Ideas?

Are you doing this via the Backup and Restore module, which is the easiest and proper way to do this. If you are manually moving things then we have to ask about permissions and ownership of the files that you are messing with.

I’m upgrading FreePBX and copied the old greeting messages to the recreated folders and set the permissions. They don’t work. Only the generic messages are played.

greet.wav and .WAV 0644
busy.wav and .WAV 0644
unavail.wav and .WAV 0644

When I manually create the greeting and messages it does work. When I recopy the same file names/extensions/properties and overwrite the newly created files, it stops working!

What am I doing wrong?

I’m having trouble understanding this. You cannot copy a file over itself,

I’ll rewrite. When I manually create the greeting and messages it does work. When I recopy the same file names/extensions/properties after removing the working files and then copying the newly created files with the same persmissions and ownership, it stops working!

I’ve noticed that it does detect that there are files there, but does not read them. When I remove the files and call it, I get a simple message about calling an extension.

This is a rebuild from an early working version, so I had to manually recreate everthing. The permissions and ownership are the same as the working files, that are created from a phone. They work properly, but deleting them and replacing with the formerly used files does not, although the names, permissions and ownership are identical.

Are you using the FreePBX turnkey distribution, as, whilst I’m still not sure what manually means, or how a copy of the file you deleted was available to copy over, SELinux can cause files with the right ownership and Posix permissions, to fail, but I believe the official SNG7 based distribution turns it off.

This is the IncrediblePBX build of FreePBX.

The permissions are correct. This is the new build -

total 264
-rw-rw-r-- 1 asterisk asterisk 14490 Mar 16 17:14 busy.wav
drwxrwxr-x 2 asterisk asterisk 4096 Mar 16 15:38 Cust2
drwxrwxr-x 2 asterisk asterisk 4096 Mar 16 15:38 Cust5
drwxrwxr-x 2 asterisk asterisk 4096 Mar 16 15:38 Friends
-rw-rw-r-- 1 asterisk asterisk 34924 Jun 13 2012 greet.wav
drwxrwxr-x 2 asterisk asterisk 4096 Mar 18 11:30 INBOX
drwxrwxr-x 2 asterisk asterisk 4096 Mar 18 11:15 ‘Manual greetings’
drwxrwxr-x 2 asterisk asterisk 36864 Mar 18 11:31 Old
drwxrwxr-x 2 asterisk asterisk 81920 Mar 16 15:40 ‘Overflow old 118’
drwxrwxr-x 2 asterisk asterisk 4096 Mar 18 21:22 tmp
-rw-rw-r-- 1 asterisk asterisk 17870 Jun 13 2012 unavail.wav
drwxrwxr-x 2 asterisk asterisk 4096 Mar 18 11:30 Urgent
drwxrwxr-x 2 asterisk asterisk 36864 Mar 16 15:40 Work

This is the old system in the same folder -

total 548
drwxrwx— 2 asterisk asterisk 4096 Nov 10 2021 Cust2
drwxrwx— 2 asterisk asterisk 4096 Jan 16 2014 Cust5
drwxrwxr-x 2 asterisk asterisk 4096 May 11 2013 Friends
-rw-rw-r-- 1 asterisk asterisk 34924 May 11 2013 greet.wav
drwxrwx— 2 asterisk asterisk 12288 Mar 11 10:30 INBOX
drwxrwx— 2 asterisk asterisk 135168 Mar 11 10:30 Old
drwxrwxr-x 2 asterisk asterisk 118784 Jan 27 2022 Overflow old 118
drwxrwx— 2 asterisk asterisk 4096 Mar 7 14:49 tmp
-rw-rw-r-- 1 asterisk asterisk 175724 May 11 2013 unavail.wav
-rw-rw-r-- 1 asterisk asterisk 17870 May 11 2013 unavail.WAV
drwxrwx— 2 asterisk asterisk 4096 Mar 11 10:30 Urgent
drwxrwx— 2 asterisk asterisk 36864 May 11 2013 Work

I’ve also noticed a section of the old web admin page on each extension -
No Answer? Unavail Voicemail if Enabled CID Prefix?
Busy? Busy Voicemail if Enabled CID Prefix?
Not Reachable? Unavail Voicemail if Enabled CID Prefix?

Is there something like this in the latest build?

It doesn’t seem to be a bare machine install, so SELinux is a possibility.

Oh I will tell you here what I said about this same post over at the other forum…

The files you’ve moved to the new system, show us the results of one of them as: soxi busy.wav

I finally found that the IncrediblePBX Ununtu reinstall had the same problems, so I tried the Debian 11 version and everything works now! Thanks for your help.