My Voicemails...are gone!

bradgentry

New Member
Joined
Jun 25, 2008
Messages
20
Reaction score
0
My voicemail inboxes have been emptied. Nothing there, old or new. The only configuration changes I've made in the past week, or months for that matter, have involved the trunks, incoming and outbound routes. Where'd they go George, where'd they go?
 
Code:
root@pbx:/ $ find . -name "voicemail" -print
./usr/src/freepbx/amp_conf/htdocs/admin/modules/voicemail
./usr/src/dialogpalette/trunk/dialogpalette/lib/voicemail
./usr/src/dialogpalette/tags/R_1/dialogpalette/lib/voicemail
./usr/src/dialogpalette/branches/FNA/dialogpalette/lib/voicemail
./var/www/html/admin/modules/voicemail

This is more than a permissions issue, because the folder where the voicemails should be isn't there, right? :eek:

I believe this is a PIAF1.1 install on a low-resourced system. The voicemails have stayed in the inboxes all year and decided to jump out, all at once, now.

When I call an offline extension now, it tries to initiate the voicemail prompt, but instead returns a CHANUNAVAIL
 
Voicemails will be found in /var/spool/asterisk/voicemail/default

See if they are there first.

Joe
 
No sir, it's not there. The folder with its contents are gone from that location and my find told me they're not to be found elsewhere on the system. Voicemail itself hasn't been backed up, but the configuration of the system has. Should I revert to that and see if it at least restores voicemail functionality?

(I've been enjoying Fonica Tec's IAX trunk, btw, thanks!)
 
Hi

I really cannot imagine what would have happened to cause this.

On a standard FreePBX backup, the voicemails are usually backed up.

No chance of anyone messing with your system?

Joe
 
I checked the logs. Any unauthorized attempt to login failed. No one's gotten in. Because of the low-resource situation, I haven't been doing the standard backups. I've only been keeping backups of the configuration. Oh well, we'll try that!
 
The configuration reload did nothing, nor did deleting and re-creating the extensions. I also chose the "upload a module" option and uploaded the voicemail module. This did nothing, but that's as much as I expected given that the voicemail module is not Voicemail itself but merely the FreePBX control of Voicemail. I really hate to do this, but, well, here we go:

Code:
    -- Accepting AUTHENTICATED call from 128.187.3.30:
       > requested format = gsm,
       > requested prefs = (),
       > actual format = ulaw,
       > host prefs = (ulaw|alaw|gsm),
       > priority = mine
    -- Executing [102@from-internal:1] Macro("IAX2/101-6903", "exten-vm|102|102") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("IAX2/101-6903", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] Set("IAX2/101-6903", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/101-6903", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/101-6903", "0|Set|REALCALLERIDNUM=101") in new stack
    -- Executing [s@macro-user-callerid:4] Set("IAX2/101-6903", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:5] Set("IAX2/101-6903", "AMPUSERCIDNAME=Bradley Gentry") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/101-6903", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("IAX2/101-6903", "AMPUSERCID=101") in new stack
    -- Executing [s@macro-user-callerid:8] Set("IAX2/101-6903", "CALLERID(all)="Bradley Gentry" <101>") in new stack
    -- Executing [s@macro-user-callerid:9] Set("IAX2/101-6903", "REALCALLERIDNUM=101") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("IAX2/101-6903", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("IAX2/101-6903", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:12] Set("IAX2/101-6903", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("IAX2/101-6903", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s@macro-user-callerid:20] NoOp("IAX2/101-6903", "Using CallerID "Bradley Gentry" <101>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("IAX2/101-6903", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("IAX2/101-6903", "VMBOX=102") in new stack
    -- Executing [s@macro-exten-vm:4] Set("IAX2/101-6903", "EXTTOCALL=102") in new stack
    -- Executing [s@macro-exten-vm:5] Set("IAX2/101-6903", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("IAX2/101-6903", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("IAX2/101-6903", "RT=15") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("IAX2/101-6903", "record-enable|102|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("IAX2/101-6903", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("IAX2/101-6903", "recordingcheck|20081230-203612|1230687372.5") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20081230-203612|1230687372.5: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("IAX2/101-6903", "") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("IAX2/101-6903", "dial|15|tr|102") in new stack
    -- Executing [s@macro-dial:1] GotoIf("IAX2/101-6903", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("IAX2/101-6903", "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 'Bradley Gentry' number is '101'
  dialparties.agi: Methodology of ring is  'none'
    --  dialparties.agi: Added extension 102 to extension map
    --  dialparties.agi: Extension 102 cf is disabled
    --  dialparties.agi: Extension 102 do not disturb is disabled
    --  dialparties.agi: dbset CALLTRACE/102 to 101
    --  dialparties.agi: Filtered ARG3: 102
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("IAX2/101-6903", "IAX2/102|15|tr") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dial:8] Set("IAX2/101-6903", "DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-dial:9] GosubIf("IAX2/101-6903", "0?CHANUNAVAIL|1") in new stack
    -- Executing [s@macro-exten-vm:10] GotoIf("IAX2/101-6903", "0?exit|return") in new stack
    -- Executing [s@macro-exten-vm:11] Set("IAX2/101-6903", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("IAX2/101-6903", "0?docfu|1") in new stack
    -- Executing [s@macro-exten-vm:13] GosubIf("IAX2/101-6903", "0?docfb|1") in new stack
    -- Executing [s@macro-exten-vm:14] Set("IAX2/101-6903", "DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:15] NoOp("IAX2/101-6903", "Voicemail is 102") in new stack
    -- Executing [s@macro-exten-vm:16] GotoIf("IAX2/101-6903", "0?s-CHANUNAVAIL|1") in new stack
    -- Executing [s@macro-exten-vm:17] NoOp("IAX2/101-6903", "Sending to Voicemail box 102") in new stack
    -- Executing [s@macro-exten-vm:18] Macro("IAX2/101-6903", "vm|102|CHANUNAVAIL|") in new stack
    -- Executing [s@macro-vm:1] Macro("IAX2/101-6903", "user-callerid|SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] Set("IAX2/101-6903", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/101-6903", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/101-6903", "0|Set|REALCALLERIDNUM=101") in new stack
    -- Executing [s@macro-user-callerid:4] Set("IAX2/101-6903", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:5] Set("IAX2/101-6903", "AMPUSERCIDNAME=Bradley Gentry") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/101-6903", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("IAX2/101-6903", "AMPUSERCID=101") in new stack
    -- Executing [s@macro-user-callerid:8] Set("IAX2/101-6903", "CALLERID(all)="Bradley Gentry" <101>") in new stack
    -- Executing [s@macro-user-callerid:9] Set("IAX2/101-6903", "REALCALLERIDNUM=101") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("IAX2/101-6903", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("IAX2/101-6903", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s@macro-user-callerid:20] NoOp("IAX2/101-6903", "Using CallerID "Bradley Gentry" <101>") in new stack
    -- Executing [s@macro-vm:2] Set("IAX2/101-6903", "VMGAIN=""") in new stack
    -- Executing [s@macro-vm:3] GotoIf("IAX2/101-6903", "1?vmx|1") in new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] GotoIf("IAX2/101-6903", "0?s-CHANUNAVAIL|1") in new stack
    -- Executing [vmx@macro-vm:2] Set("IAX2/101-6903", "MODE=unavail") in new stack
    -- Executing [vmx@macro-vm:3] GotoIf("IAX2/101-6903", "1?notdirect") in new stack
    -- Goto (macro-vm,vmx,5)
    -- Executing [vmx@macro-vm:5] NoOp("IAX2/101-6903", "Checking if ext 102 is enabled: ") in new stack
    -- Executing [vmx@macro-vm:6] GotoIf("IAX2/101-6903", "1?s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-vm,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-vm:1] Macro("IAX2/101-6903", "get-vmcontext|102") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("IAX2/101-6903", "VMCONTEXT=default") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("IAX2/101-6903", "0?200:300") in new stack
    -- Goto (macro-get-vmcontext,s,300)
    -- Executing [s@macro-get-vmcontext:300] NoOp("IAX2/101-6903", "") in new stack
    -- Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail("IAX2/101-6903", "102@default|u") in new stack
  == Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on 'IAX2/101-6903' in macro 'vm'
  == Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on 'IAX2/101-6903' in macro 'exten-vm'
  == Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on 'IAX2/101-6903'
    -- Hungup 'IAX2/101-6903'

102 was an inactive extension with voicemail enabled. Does this tell anyone anything?
 
It seems like some other stuff is broken, mostly dealing with inbound calls, whether they originate within the server and never leave or if they come from the outside world.

At any rate, I just did an amportal restart and voicemail is working (but the missing voicemail is gone, gone, gone)
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top