QUESTION Can't delete voice from recordings web interface

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
I've got an SL instance of 3.0.6.5 on rentbox that I have been very happy with in general.
Code:
                   ────────────────────SYSTEM INFORMATION─────────────
                   │  Asterisk   = ONLINE  | Dahdi     = ONLINE  | MySQL     = ONLINE    │
                   │  SSH        = ONLINE  | Apache    = ONLINE  | Iptables  = ONLINE    │
                   │  Fail2ban   = ONLINE  | Internet  = ONLINE  | Ip6Tables = ONLINE    │
                   │  Disk Free  = ADEQUATE| Mem Free  = ADEQUATE| NTPD      = ONLINE    │
                   │  SendMail   = ONLINE  | Samba     = OFFLINE | Webmin    = ONLINE    │
                   │  Ethernet0  = ONLINE  | Ethernet1 = N/A     | Wlan0     = N/A       │
                   │                                                                     │
                   │  PIAF Installed Version   = 3.0.6.5 under *XEN* on Rent PBX         │
                   │  FreePBX Version          = 2.11.0.38                               │
                   │  Running Asterisk Version = 11.7.0                                  │
                   │  Asterisk Source Version  = 11.7.0                                  │
                   │  Dahdi Source Version     = 2.8.0.1                                 │
                   │  Libpri Source Version    = 1.4.14                                  │
                   │  IP Address               = x.x.x.x on eth0                   │
                   │  Operating System         = Scientific Linux release 6.5            │
                   │  Kernel Version           = 2.6.32-431.5.1.el6.i686 - 32 Bit        │

When I use the /recordings web interface, I am not able to delete any of the messages. I check the box, press delete, the page reloads and the voicemail is still there.

I am able to delete the voicemails from the phone interface, so I've got that going for me.

I did manually migrate the voice mail files to the system from an OLD (old, old) PiAF system, so I'm guessing there are some permissions that aren't quite right.

I tried creating a new SIP account with a fresh new voicemail box. I left a message in it and I was still not able to delete the new message.

Here is what my permissions look like (209 is the new voicemail box I just created).
Code:
root@voip:/var/spool/asterisk/voicemail $ ls -ld
drwxrwxr-x 4 asterisk asterisk 4096 Aug 18 18:50 .
root@voip:/var/spool/asterisk/voicemail $ ls -l
total 8
drwxrwxr-x 16 asterisk asterisk 4096 Aug 18 18:38 default
drwxrwxr-x  2 asterisk asterisk 4096 Aug 18 18:14 device
root@voip:/var/spool/asterisk/voicemail $ ls -l default/
total 56
drwxrwx---  4 asterisk asterisk 4096 Oct 24  2006 1234
drwx-w---- 14 asterisk asterisk 4096 Jul 14 16:20 201
drwx-w---- 12 asterisk asterisk 4096 Mar 13 19:29 202
drwxrwxr-x  8 asterisk asterisk 4096 Aug 15  2012 203
drwx-w----  9 asterisk asterisk 4096 May  6 15:03 204
drwx-w----  9 asterisk asterisk 4096 Aug 10  2007 207
drwxrwxr-x  4 asterisk asterisk 4096 Jun 21  2013 208
drwxrwx---  4 asterisk asterisk 4096 Aug 18 18:38 209
drwx-w---- 13 asterisk asterisk 4096 Jun 30  2008 old201
drwx-w---- 12 asterisk asterisk 4096 Mar 12 17:04 old202
drwxrwxr-x  8 asterisk asterisk 4096 Aug 15  2012 old203
drwx-w----  8 asterisk asterisk 4096 Aug  1  2008 old204
drwx-w----  9 asterisk asterisk 4096 Aug 10  2007 old207
drwxrwxr-x  4 asterisk asterisk 4096 Jun 21  2013 old208
root@voip:/var/spool/asterisk/voicemail $ ls -l default/209
total 8
drwxrwx--- 2 asterisk asterisk 4096 Aug 18 18:39 INBOX
drwxrwx--- 2 asterisk asterisk 4096 Aug 18 18:39 tmp
root@voip:/var/spool/asterisk/voicemail $ ls -l default/209/INBOX/
total 84
-rw-rw---- 1 asterisk asterisk  6270 Aug 18 18:39 msg0000.gsm
-rw-rw-rw- 1 asterisk asterisk  319 Aug 18 18:39 msg0000.txt
-rw-rw---- 1 asterisk asterisk 60844 Aug 18 18:39 msg0000.wav
-rw-rw---- 1 asterisk asterisk  6235 Aug 18 18:39 msg0000.WAV
root@voip:/var/spool/asterisk/voicemail $ ls -l default/209/tmp/
total 0

I've tried looking in log files, but I don't see any entries written when I try to delete the voicemail. I'm sure I'm just not looking in the right place.

Any tips on settings the correct permissions or the location of the right log file to check or any other clues to get this working?
 

chellea

New Member
Joined
Oct 27, 2014
Messages
6
Reaction score
0
I am experiencing the same issues.
Asterisk ver11.13.1
FreePBX ver2.11
 

Zoel Hairi

New Member
Joined
Jan 24, 2014
Messages
1
Reaction score
0
Hi There,

I solved it with this :

Code:
chown -R asterisk:asterisk /var/spool/asterisk/voicemail/

Code:
chmod 777 /var/spool/asterisk/voicemail/

Hope it works for you
 

Members online

Forum statistics

Threads
25,825
Messages
167,850
Members
19,250
Latest member
mark-curtis
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.
Top