Open Source Training Seminar FreePBX Paid Support

Ticket #1836 (closed Bugs: fixed)

Opened 1 year ago

Last modified 1 year ago

Cleanup after deleting an extention needed

Reported by: dicko Assigned to:
Priority: minor Milestone: 2.3
Component: Core Version: 2.3-branch
Keywords: voicemail extention delete Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

When an extention is deleted the voicemail files in /var/spool/asterisk/voicemail/default(device) are not removed causing confusion for the next user of that extention

perhaps something like:-

system("mv /var/spool/asterisk/voicemail/default/".$ext."

/var/spool/asterisk/oldusers");

at the right part of the php code?

Change History

03/13/07 07:33:54 changed by p_lindheimer

thanks:

here are some notes, today you can delete an extension and there is no 'are you really sure' warning box. Such a warning is more important here (and deleting most things) then the 'are you sure you want to reload box' imho.

So ... I would say for an extension, it should probably do an are-you-sure type box and warn users that everything (voicemails, etc.) will be deleted. I'm of the current opinion that this is not the place to save voicemail in an old folder or anythign like that. Delete should probably be delete. (otherwise you end of saving ontop of an old save - if the admin wants to save, they can do it manually). (just my current opinion - in either case, the bug is proper, voicemails should be deleted).

One more note - if voicemail is disabled for an extension, the voicemails should NOT be deleted. However - the user should be disabled from retrieving those voicemails although that is a bit harder - more changes in core to handle that.

03/13/07 12:41:57 changed by dicko

That would work, vmails are ephemeral unless you're caught by sarbanes-oxley, but thats what backups are for, (we all do those, RIGHT!)

06/25/07 03:22:58 changed by p_lindheimer

  • version changed from 2.2.1 to 2.3-branch.

08/02/07 16:55:03 changed by p_lindheimer

  • status changed from new to closed.
  • confirmation set to Unreviewed.
  • resolution set to fixed.

r4659

deleting an extension now deletes the mailbox also. It is the responsibility of the administrator to do backups of voicemail boxes if they want to save them elsewhere.

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads