Voicemail Greeting Upload in UCP not working

Any idea why I would get this:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
jsphpg_d2f864daa205cb19f2e03af5f40aae90.js?load_version=v14.0.1.2:sourcemap:2959 Internal Server Error: mkdir(): No such file or directory
(anonymous) @ jsphpg_d2f864daa205cb19f2e03af5f40aae90.js?load_version=v14.0.1.2:sourcemap:2959
jsphpg_d2f864daa205cb19f2e03af5f40aae90.js?load_version=v14.0.1.2:sourcemap:2959 /var/www/html/admin/modules/voicemail/Voicemail.class.php: 822
(anonymous) @ jsphpg_d2f864daa205cb19f2e03af5f40aae90.js?load_version=v14.0.1.2:sourcemap:2959
/ucp/ajax.php?module=voicemail&command=upload&type=unavail&ext=101 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
jsphpg_d2f864daa205cb19f2e03af5f40aae90.js?load_version=v14.0.1.2:sourcemap:2959 Internal Server Error: mkdir(): No such file or directory
(anonymous) @ jsphpg_d2f864daa205cb19f2e03af5f40aae90.js?load_version=v14.0.1.2:sourcemap:2959
jsphpg_d2f864daa205cb19f2e03af5f40aae90.js?load_version=v14.0.1.2:sourcemap:2959 /var/www/html/admin/modules/voicemail/Voicemail.class.php: 822

When trying to upload voicemail greetings via the UCP in an extension?

Sounds like one of the intermediate directories in the voicemail hierarchy is missing.

The first thing I’d try is setting up a VM greeting using the “old” tools. This creates all of the directories “down to” the one for your extension (when it installs the first one).

I don’t have any custom VM greetings in my system, or I’d just look up the hierarchy and post the “mkdir -p” command to build it out.

IIRC, vm folders are not created until you dial into the VM box at least once.

Have no idea how to do that. My issue is that the voicemail boxes may never be logged into. I’m trying to simply create them to e-mail any voicemails then delete them. I usually won’t have any specific ATA or IP Phone connected to them.

That fixed it for the whole PBX. I would now consider this a bug. Will submit a bug report.

1 Like