System plays default voicemail message and not recorded message

Long time lurker and learner from this site, but first time posting.

I’m running into a problem with voicemail greetings from only 1 extension. It is saying the file is not in the correct format, but when I run ‘file busy.way’ all the info looks correct.

busy.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz

I’ve rerun fconsole chown to make sure permissions are set correctly, but it still says invalid file. I’ve attached a scrubbed log file of the incoming call. Any help is greatly appreciated.

[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:10] GotoIf(“SIP/fpbx-1-b6ddd880-0000000f”, “0?s-NOANSWER,1”) in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:11] GotoIf(“SIP/fpbx-1-b6ddd880-0000000f”, “1?notdirect”) in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx_builtins.c: Goto (macro-vm,vmx,13)
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:13] NoOp(“SIP/fpbx-1-b6ddd880-0000000f”, "Checking if ext 7000 is enabled: ") in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:14] GotoIf(“SIP/fpbx-1-b6ddd880-0000000f”, “1?s-NOANSWER,1”) in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx_builtins.c: Goto (macro-vm,s-NOANSWER,1)
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:1] Macro(“SIP/fpbx-1-b6ddd880-0000000f”, “get-vmcontext,7000”) in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:1] Set(“SIP/fpbx-1-b6ddd880-0000000f”, “VMCONTEXT=default”) in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:2] GotoIf(“SIP/fpbx-1-b6ddd880-0000000f”, “0?200:300”) in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx_builtins.c: Goto (macro-get-vmcontext,s,300)
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:300] NoOp(“SIP/fpbx-1-b6ddd880-0000000f”, “”) in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:2] VoiceMail(“SIP/fpbx-1-b6ddd880-0000000f”, “[email protected],u”) in new stack
[2020-09-11 08:05:56] WARNING[30172][C-0000000f] format_wav.c: Not a supported wav file format (49). Only PCM encoded, 16 bit, mono, 8kHz/16kHz files are supported with a lowercase ‘.wav’ extension.
[2020-09-11 08:05:56] WARNING[30172][C-0000000f] file.c: Unable to open format wav
[2020-09-11 08:05:56] WARNING[30172][C-0000000f] file.c: Unable to open /var/spool/asterisk/voicemail/default/7000/temp (format (ulaw)): No such file or directory
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] file.c: <SIP/fpbx-1-b6ddd880-0000000f> Playing ‘vm-intro.ulaw’ (language ‘en’)
[2020-09-11 08:06:00] VERBOSE[30172][C-0000000f] app_macro.c: Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on ‘SIP/fpbx-1-b6ddd880-0000000f’ in macro ‘vm’
[2020-09-11 08:06:00] VERBOSE[30172][C-0000000f] pbx.c: Spawn extension (ext-local, vmu7000, 1) exited non-zero on ‘SIP/fpbx-1-b6ddd880-0000000f’
[2020-09-11 08:06:00] VERBOSE[30172][C-0000000f] pbx.c: Executing [[email protected]:1] Macro(“SIP/fpbx-1-b6ddd880-0000000f”, “hangupcall,”) in new stack

So I can now answer my own stupid question…

In my haste to test uploading a new audio file directly I renamed the original busy.WAV to temp.wav. It seems that busy.WAV was a bad file, but not in use.

And as those that know (and now me) temp.wav is used by default as the temporary greeting which will take precedence when it exists. So simply deleting the temp.wav fixed my problem.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.