Voicemail not working after upgrade of CORE

Hi All,

I have some errors that I can’t track down and also voicemail has stopped working - it just hangs up.

I’ve gone through the forum and checked everything I can reasonable find about voicemail issues. The problem I am now faced with…

I upgraded to Asterisk 1.4.6 and FreePBX 2.3. I changed the voice prompts to a UK english version. It plays my prompts ok but then just hangsup when it would normally store the voicemail.

– Goto (macro-vm,s-NOANSWER,1)
– Executing [s-NOANSWER@macro-vm:1] Macro(“SIP/1000-09f07b78”, “get-vmcontext|1000”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“SIP/1000-09f07b78”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/1000-09f07b78”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“SIP/1000-09f07b78”, “”) in new stack
– Executing [s-NOANSWER@macro-vm:2] VoiceMail(“SIP/1000-09f07b78”, “1000@default|u”) in new stack
– <SIP/1000-09f07b78> Playing ‘/var/spool/asterisk/voicemail/default/1000/temp’ (language ‘en’)
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on ‘SIP/1000-09f07b78’ in macro ‘vm’
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on ‘SIP/1000-09f07b78’

It plays the messages fine but then no further prompts are placed and as you can see from the bottom it exits with a no answer.

I’ve checked the directories and they look fine. I’ve tried changing from gsm to wav, no joy. Deleted and recreated the extension, no joy. Replaced the sound prompts with the originals, no joy.

Within FreePBX, when I tried to add voicemail options to the newly created extension I did get an error at the top:

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/admin/modules/miscapps/functions.inc.php:133) in /var/www/html/admin/functions.inc.php on line 3132

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/admin/modules/miscapps/functions.inc.php:133) in /var/www/html/admin/functions.inc.php on line 3132

I’m stuck. I’ve tried re-installing FreePBX today forcing to 2.2.2 as well as just installing normally. I think it is FreePBX related but I can’t see where.

Any ideas?

Something else, which might be related, my extensions are no longer spoken either…If I enter *65 it says “Your extension is” and then hangsup.

Here is the end of the trace:

-- Executing [*65@Lushsoft-Bluemoon_rulematch:8] SayDigits("SIP/1022-09c9a2a8", "1022") in new stack

== Spawn extension (Lushsoft-Bluemoon_rulematch, *65, 8) exited non-zero on ‘SIP/1022-09c9a2a8’
– Executing [h@Lushsoft-Bluemoon_rulematch:1] Macro(“SIP/1022-09c9a2a8”, “hangupcall|”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/1022-09c9a2a8”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/1022-09c9a2a8”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/1022-09c9a2a8”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/1022-09c9a2a8”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/1022-09c9a2a8”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/1022-09c9a2a8”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1022-09c9a2a8’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1022-09c9a2a8’

So no voicemail and the extensions aren’t spoken either…weird!

[quote=“lushy”]Something else, which might be related, my extensions are no longer spoken either…If I enter *65 it says “Your extension is” and then hangsup.

Here is the end of the trace:

-- Executing [*65@Lushsoft-Bluemoon_rulematch:8] SayDigits("SIP/1022-09c9a2a8", "1022") in new stack

== Spawn extension (Lushsoft-Bluemoon_rulematch, *65, 8) exited non-zero on ‘SIP/1022-09c9a2a8’
– Executing [h@Lushsoft-Bluemoon_rulematch:1] Macro(“SIP/1022-09c9a2a8”, “hangupcall|”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/1022-09c9a2a8”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/1022-09c9a2a8”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/1022-09c9a2a8”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/1022-09c9a2a8”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/1022-09c9a2a8”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/1022-09c9a2a8”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1022-09c9a2a8’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1022-09c9a2a8’

So no voicemail and the extensions aren’t spoken either…weird![/quote]

Are your voice files intact/inplace since the upgrade? (/var/lib/asterisk/sounds) – check language settings too.

Failing that, turn up debug (core set debug 99 in CLI) and check your log file (/var/log/asterisk/full [probably]).

C.

Thanks. I checked the logs and I’m getting

[Jul 28 13:50:35] WARNING[10046] format_wav.c: Unexpected freqency 44100
[Jul 28 13:50:35] WARNING[10046] file.c: Unable to open format wav
[Jul 28 13:50:35] WARNING[10046] file.c: Unable to open vm-intro (format 0x4 (ulaw)): No such file or directory

Looks like it is the sounds files… I thought 44100 was expected?

anyway…deleting the wav files has fixed the problem.

I didn’t check the obvious bit…thanks for you help.