Voicemail Not accessible

Hello there

I have recently started to have a problem with access to voicemail, callers can leave it, but I cannot retrieve.

System Details
Asterisk Version : Asterisk 1.6.2.6
Dahdi Source Version : 2.2.1+2.2.1
Libpri Source Version : 1.4.10.2
Addons Source Version : 1.6.2.0
CentOS release 5.4 (Final) :32 Bit Kernel: 2.6.18-164.15.1.el5
FreePBX 2.8.1.0

It may not be relevant, but I recently had a mobo failure and had to move my system to a new mobo. I just swapped the drives to the new box and it booted and ran fine, no errors reported from either the O/S or asterisk. I had to change the FFA licence and all was good. Except…

Callers can leave a voicemail. The voicemail is correctly emailed as an attachment. The notification appears on my phone. But when I dial *97 the call appears to connect but almost immediately hangs up. I hear no audio. The call record says it has been answered but the duration is about 2 seconds.

Below is a trace of the call. Could some suggest why this is happening.

-- Executing [*[email protected]:1] Answer("SIP/201-00000002", "") in new stack
-- Executing [*[email protected]:2] Wait("SIP/201-00000002", "1") in new stack
-- Executing [*[email protected]:3] Macro("SIP/201-00000002", "user-callerid,") in new stack
-- Executing [[email protected]:1] Set("SIP/201-00000002", "AMPUSER=201") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/201-00000002", "0?report") in new stack
-- Executing [[email protected]:3] ExecIf("SIP/201-00000002", "1?Set(REALCALLERIDNUM=201)") in new stack
-- Executing [[email protected]:4] Set("SIP/201-00000002", "AMPUSER=201") in new stack
-- Executing [[email protected]:5] Set("SIP/201-00000002", "AMPUSERCIDNAME=Anthony") in new stack
-- Executing [[email protected]:6] GotoIf("SIP/201-00000002", "0?report") in new stack
-- Executing [[email protected]:7] Set("SIP/201-00000002", "AMPUSERCID=201") in new stack
-- Executing [[email protected]:8] Set("SIP/201-00000002", "CALLERID(all)="Anthony" <201>") in new stack
-- Executing [[email protected]:9] GotoIf("SIP/201-00000002", "0?continue") in new stack
-- Executing [[email protected]:10] Set("SIP/201-00000002", "__TTL=64") in new stack
-- Executing [[email protected]:11] GotoIf("SIP/201-00000002", "1?continue") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [[email protected]:18] Set("SIP/201-00000002", "CALLERID(number)=201") in new stack
-- Executing [[email protected]:19] Set("SIP/201-00000002", "CALLERID(name)=Anthony") in new stack
-- Executing [[email protected]:20] NoOp("SIP/201-00000002", "Using CallerID "Anthony" <201>") in new stack
-- Executing [*[email protected]:4] Macro("SIP/201-00000002", "get-vmcontext,201") in new stack
-- Executing [[email protected]:1] Set("SIP/201-00000002", "VMCONTEXT=default") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/201-00000002", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [[email protected]:300] NoOp("SIP/201-00000002", "") in new stack
-- Executing [*[email protected]:5] Set("SIP/201-00000002", "VMBOXEXISTSSTATUS=SUCCESS") in new stack
-- Executing [*[email protected]:6] GotoIf("SIP/201-00000002", "1?mbexist") in new stack
-- Goto (from-internal,*97,106)
-- Executing [*[email protected]:106] VoiceMailMain("SIP/201-00000002", "[email protected]") in new stack
-- Executing [*[email protected]:107] GotoIf("SIP/201-00000002", "0?playret") in new stack
-- Executing [*[email protected]:108] Macro("SIP/201-00000002", "hangupcall,") in new stack
-- Executing [[email protected]:1] GotoIf("SIP/201-00000002", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [[email protected]:4] GotoIf("SIP/201-00000002", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [[email protected]:7] GotoIf("SIP/201-00000002", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [[email protected]:9] Hangup("SIP/201-00000002", "") in new stack

== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/201-00000002’ in macro ‘hangupcall’
== Spawn extension (from-internal, *97, 108) exited non-zero on ‘SIP/201-00000002’
– Executing [[email protected]:1] Macro(“SIP/201-00000002”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/201-00000002”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [[email protected]:4] GotoIf(“SIP/201-00000002”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]macro-hangupcall:7] GotoIf(“SIP/201-00000002”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] Hangup(“SIP/201-00000002”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/201-00000002’ in macro ‘hangupcall’

any thoughts welcome,

Anthony

I’m just guessing here, but perhaps you have a file permissions problem. Whatever it is, I wouldn’t trust a system that was installed for one machine and then moved to another. I recommend a clean install and either configure fresh or use the backup and restore module to move the settings over. If you anticipate needing to switch machines in the future, you might try doing your installation on a VMWare ESXi Virtual Machine.

You need to check the logs, there must some more info on why VoiceMailMain is failing so quickly.

Obelisk,

thanks for the tip. The solution was in the logs.

pbx.c: – Executing [*[email protected]:106] VoiceMailMain(“SIP/201-0000007c”, “[email protected]”) in new stack
WARNING[12712] channel.c: Unable to find a codec translation path from 0x100 (g729) to 0x2 (gsm)
WARNING[12712] file.c: Unable to open vm-password (format 0x100 (g729)): No such file or directory
WARNING[12712] app_voicemail.c: Unable to stream password file

It seems that I did not have a g729 license. I acquired and installed a new license and all is well.

I do not have a record of a 7.729 license in the past, so I don’t know why it worked before, but it is fine now.

Regs

Anthony