No Voicemail After install

Hello everyone. I am not new to freepbx, but i’ve only worked with it as an integrated auto-install package.

This week we decided to do a clean install following the CentOS instructions on the site. The instructions seemed to work very well, but when we were complete I encountered a problem with voicemail.

If I enter *79 from a registered phone, I hear “comedian mail, please enter an extension”. No extension/password combination will work. I can login to the ARI using the same credentials, and that works fine.

If I call an extension and let it ring so that I can leave a message, I am told “Sorry, and error has occured”.

Here is the output of that scenario:
– Executing [[email protected]:1] Set(“SIP/112-b4054090”, “__RINGTIMER=20”) in new stack
– Executing [[email protected]:2] Macro(“SIP/112-b4054090”, “exten-vm|112|112”) in new stack
– Executing [[email protected]:1] Macro(“SIP/112-b4054090”, “user-callerid”) in new stack
– Executing [[email protected]:1] Set(“SIP/112-b4054090”, “AMPUSER=112”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/112-b4054090”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/112-b4054090”, “1|Set|REALCALLERIDNUM=112”) in new stack
– Executing [[email protected]:4] Set(“SIP/112-b4054090”, “AMPUSER=112”) in new stack
– Executing [[email protected]:5] Set(“SIP/112-b4054090”, “AMPUSERCIDNAME=Justin Fortenberry”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/112-b4054090”, “0?report”) in new stack
– Executing [[email protected]:7] Set(“SIP/112-b4054090”, “AMPUSERCID=112”) in new stack
– Executing [[email protected]:8] Set(“SIP/112-b4054090”, “CALLERID(all)=“Justin Fortenberry” <112>”) in new stack
– Executing [[email protected]:9] Set(“SIP/112-b4054090”, “REALCALLERIDNUM=112”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/112-b4054090”, “0?continue”) in new stack
– Executing [[email protected]:11] Set(“SIP/112-b4054090”, “__TTL=64”) in new stack
– Executing [[email protected]:12] GotoIf(“SIP/112-b4054090”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [[email protected]:19] NoOp(“SIP/112-b4054090”, “Using CallerID “Justin Fortenberry” <112>”) in new stack
– Executing [[email protected]:2] Set(“SIP/112-b4054090”, “RingGroupMethod=none”) in new stack
– Executing [[email protected]:3] Set(“SIP/112-b4054090”, “VMBOX=112”) in new stack
– Executing [[email protected]:4] Set(“SIP/112-b4054090”, “EXTTOCALL=112”) in new stack
– Executing [[email protected]:5] Set(“SIP/112-b4054090”, “CFUEXT=”) in new stack
– Executing [[email protected]:6] Set(“SIP/112-b4054090”, “CFBEXT=”) in new stack
– Executing [[email protected]:7] Set(“SIP/112-b4054090”, “RT=20”) in new stack
– Executing [[email protected]:8] Macro(“SIP/112-b4054090”, “record-enable|112|IN”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/112-b4054090”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [[email protected]:4] AGI(“SIP/112-b4054090”, “recordingcheck|20090213-170923|1234570163.19”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090213-170923|1234570163.19: Inbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [[email protected]:5] MacroExit(“SIP/112-b4054090”, “”) in new stack
– Executing [[email protected]:9] Macro(“SIP/112-b4054090”, “dial|20|tr|112”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/112-b4054090”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [[email protected]:3] AGI(“SIP/112-b4054090”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘Justin Fortenberry’ number is '112’
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 112 to extension map
– dialparties.agi: Extension 112 cf is disabled
– dialparties.agi: Extension 112 do not disturb is disabled
dialparties.agi: Extension 112 has call waiting enabled with state: 1
– dialparties.agi: dbset CALLTRACE/112 to 112
– dialparties.agi: Filtered ARG3: 112
== Manager ‘admin’ logged off from 127.0.0.1
– AGI Script dialparties.agi completed, returning 0
– Executing [[email protected]:7] Dial(“SIP/112-b4054090”, “SIP/112|20|tr”) in new stack
– Called 112
– SIP/112-049c1590 is ringing
– Nobody picked up in 20000 ms
– Executing [[email protected]:8] Set(“SIP/112-b4054090”, “DIALSTATUS=BUSY”) in new stack
– Executing [[email protected]:9] GosubIf(“SIP/112-b4054090”, “0?BUSY|1”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/112-b4054090”, “0?exit|return”) in new stack
– Executing [[email protected]:11] Set(“SIP/112-b4054090”, “SV_DIALSTATUS=BUSY”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/112-b4054090”, “0?docfu|1”) in new stack
– Executing [[email protected]:13] GosubIf(“SIP/112-b4054090”, “0?docfb|1”) in new stack
– Executing [[email protected]:14] Set(“SIP/112-b4054090”, “DIALSTATUS=BUSY”) in new stack
– Executing [[email protected]:15] NoOp(“SIP/112-b4054090”, “Voicemail is 112”) in new stack
– Executing [[email protected]:16] GotoIf(“SIP/112-b4054090”, “0?s-BUSY|1”) in new stack
– Executing [[email protected]:17] NoOp(“SIP/112-b4054090”, “Sending to Voicemail box 112”) in new stack
– Executing [[email protected]:18] Macro(“SIP/112-b4054090”, “vm|112|BUSY|”) in new stack
– Executing [[email protected]:1] Macro(“SIP/112-b4054090”, “user-callerid|SKIPTTL”) in new stack
– Executing [[email protected]:1] Set(“SIP/112-b4054090”, “AMPUSER=112”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/112-b4054090”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/112-b4054090”, “0|Set|REALCALLERIDNUM=112”) in new stack
– Executing [[email protected]:4] Set(“SIP/112-b4054090”, “AMPUSER=112”) in new stack
– Executing [[email protected]:5] Set(“SIP/112-b4054090”, “AMPUSERCIDNAME=Justin Fortenberry”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/112-b4054090”, “0?report”) in new stack
– Executing [[email protected]:7] Set(“SIP/112-b4054090”, “AMPUSERCID=112”) in new stack
– Executing [[email protected]:8] Set(“SIP/112-b4054090”, “CALLERID(all)=“Justin Fortenberry” <112>”) in new stack
– Executing [[email protected]:9] Set(“SIP/112-b4054090”, “REALCALLERIDNUM=112”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/112-b4054090”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [[email protected]:19] NoOp(“SIP/112-b4054090”, “Using CallerID “Justin Fortenberry” <112>”) in new stack
– Executing [[email protected]:2] Set(“SIP/112-b4054090”, “VMGAIN=”"") in new stack
– Executing [[email protected]:3] GotoIf(“SIP/112-b4054090”, “1?vmx|1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [[email protected]:1] GotoIf(“SIP/112-b4054090”, “0?s-BUSY|1”) in new stack
– Executing [[email protected]:2] Set(“SIP/112-b4054090”, “MODE=busy”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/112-b4054090”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,5)
– Executing [[email protected]:5] NoOp(“SIP/112-b4054090”, “Checking if ext 112 is enabled: blocked”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/112-b4054090”, “1?s-BUSY|1”) in new stack
– Goto (macro-vm,s-BUSY,1)
– Executing [[email protected]:1] NoOp(“SIP/112-b4054090”, “BUSY voicemail”) in new stack
– Executing [[email protected]:2] Macro(“SIP/112-b4054090”, “get-vmcontext|112”) in new stack
– Executing [[email protected]:1] Set(“SIP/112-b4054090”, “VMCONTEXT=default”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/112-b4054090”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [[email protected]:300] NoOp(“SIP/112-b4054090”, “”) in new stack
– Executing [[email protected]:3] VoiceMail(“SIP/112-b4054090”, “[email protected]|b”) in new stack
– Executing [[email protected]:4] Goto(“SIP/112-b4054090”, “exit-FAILED|1”) in new stack
– Goto (macro-vm,exit-FAILED,1)
– Executing [[email protected]:1] Playback(“SIP/112-b4054090”, “im-sorry&an-error-has-occured”) in new stack
– <SIP/112-b4054090> Playing ‘im-sorry’ (language ‘en’)
– <SIP/112-b4054090> Playing ‘an-error-has-occured’ (language ‘en’)
– Executing [[email protected]:2] GotoIf(“SIP/112-b4054090”, “0?exit-RETURN|1”) in new stack
– Executing [[email protected]:3] Hangup(“SIP/112-b4054090”, “”) in new stack
== Spawn extension (macro-vm, exit-FAILED, 3) exited non-zero on ‘SIP/112-b4054090’ in macro ‘vm’

== Spawn extension (macro-exten-vm, s, 18) exited non-zero on ‘SIP/112-b4054090’ in macro ‘exten-vm’
== Spawn extension (from-internal, 112, 2) exited non-zero on ‘SIP/112-b4054090’
– Executing [[email protected]:1] Macro(“SIP/112-b4054090”, “hangupcall”) in new stack
– Executing [[email protected]:1] ResetCDR(“SIP/112-b4054090”, “w”) in new stack
– Executing [[email protected]:2] NoCDR(“SIP/112-b4054090”, “”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/112-b4054090”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [[email protected]:6] GotoIf(“SIP/112-b4054090”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/112-b4054090”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [[email protected]:11] Hangup(“SIP/112-b4054090”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/112-b4054090’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/112-b4054090’

Everything looks perfect in the voicemail.conf file and the account does show up as having voicemail when I do a voicemail show users.

I looked through the file system and saw that at /var/spool/asterisk/voicemail/device/112 I had a broken link that pointed to /var/spool/asterisk/voicemail/default/112. I tried manually creating it and setting permissions, but it gave me no love.

I would love any suggestions that people may have.