System plays default voicemail message and not recorded message


(United States) #1

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 [vmx@macro-vm: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 [vmx@macro-vm: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 [vmx@macro-vm: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 [vmx@macro-vm: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 [s-NOANSWER@macro-vm: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 [s@macro-get-vmcontext: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 [s@macro-get-vmcontext: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 [s@macro-get-vmcontext:300] NoOp(“SIP/fpbx-1-b6ddd880-0000000f”, “”) in new stack
[2020-09-11 08:05:56] VERBOSE[30172][C-0000000f] pbx.c: Executing [s-NOANSWER@macro-vm:2] VoiceMail(“SIP/fpbx-1-b6ddd880-0000000f”, “7000@default,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 [h@ext-local:1] Macro(“SIP/fpbx-1-b6ddd880-0000000f”, “hangupcall,”) in new stack


(United States) #2

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.