When dialing *97 to access an extension’s own mailbox, I am prompted with: “Comedian Mail, Mailbox?” instead of the expected “Password?”.
This occurred after restoring FreePBX from a supposedly full backup made within FreePBX.
I am using FreePBX 2.8.1.4 with asterisk 1.6.2.5-0ubuntu1.3 on Ubuntu 10.04 LTS Server. The Voicemail module is version 2.8.0.0.
The Feature Code settings are set as defaults:
Dial Voicemail *98 / Enabled
My Voicemail *97 / Enabled
An Asterisk full log of the test call follows. I’ve highlighted what I think are the problematic parts:
-- Executing [*97@from-internal:1] Answer("SIP/1*myexten*1-00000162", "") in new stack
-- Executing [*97@from-internal:2] Wait("SIP/1*myexten*1-00000162", "1") in new stack
-- Executing [*97@from-internal:3] Macro("SIP/1*myexten*1-00000162", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1*myexten*1-00000162", "AMPUSER=1*myexten*1") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/1*myexten*1-00000162", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1*myexten*1-00000162", "1?Set(REALCALLERIDNUM=1*myexten*1)") in new stack
[b] -- Executing [s@macro-user-callerid:4] Set("SIP/1*myexten*1-00000162", "AMPUSER=") in new stack[/b]
-- Executing [s@macro-user-callerid:5] Set("SIP/1*myexten*1-00000162", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1*myexten*1-00000162", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/1*myexten*1-00000162", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/1*myexten*1-00000162", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/1*myexten*1-00000162", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/1*myexten*1-00000162", "CALLERID(number)=1*myexten*1") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/1*myexten*1-00000162", "CALLERID(name)=Homeland Stupidity") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/1*myexten*1-00000162", "Using CallerID "Homeland Stupidity" <1*myexten*1>") in new stack
-- Executing [*97@from-internal:4] Macro("SIP/1*myexten*1-00000162", "get-vmcontext,") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/1*myexten*1-00000162", "VMCONTEXT=") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/1*myexten*1-00000162", "1?200:300") in new stack
-- Goto (macro-get-vmcontext,s,200)
-- Executing [s@macro-get-vmcontext:200] Set("SIP/1*myexten*1-00000162", "VMCONTEXT=default") in new stack
[b][Apr 16 15:55:53] ERROR[31918]: app_voicemail.c:9884 acf_mailbox_exists: MAILBOX_EXISTS requires an argument (<mailbox>[@<context>])
[Apr 16 15:55:53] WARNING[31918]: func_logic.c:188 acf_if: Syntax IF(<expr>?[<true>][:<false>]) (expr must be non-null, and either <true> or <false> must be non-null)
[Apr 16 15:55:53] WARNING[31918]: func_logic.c:189 acf_if: In this case, <expr>='', <true>='SUCCESS', and <false>='FAILED'[/b]
-- Executing [*97@from-internal:5] Set("SIP/1*myexten*1-00000162", "VMBOXEXISTSSTATUS=") in new stack
-- Executing [*97@from-internal:6] GotoIf("SIP/1*myexten*1-00000162", "0?mbexist") in new stack
-- Executing [*97@from-internal:7] VoiceMailMain("SIP/1*myexten*1-00000162", "") in new stack
-- <SIP/1*myexten*1-00000162> Playing 'vm-login.gsm' (language 'en')
[Apr 16 15:55:56] WARNING[31918]: app_voicemail.c:8912 vm_authenticate: Couldn't read username
-- Executing [h@from-internal:1] Macro("SIP/1*myexten*1-00000162", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1*myexten*1-00000162", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/1*myexten*1-00000162", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/1*myexten*1-00000162", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/1*myexten*1-00000162", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1*myexten*1-00000162' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1*myexten*1-00000162'
EDIT: Loading up each device and re-saving it in FreePBX fixed the issue.