cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
160
Views
2
Helpful
1
Replies

Unity clears just greeting/name and/or mailbox without resetting

tryingtodomyjob
Level 1
Level 1

Is there a way to clears a person voicemail's greeting/name without deleting the whole mailbox? Also, what is the easiest way for an admin to delete all the voicemails in ones' mailbox without having to change their passwords?

1 Reply 1

To delete all voicemails from the Inbox for a specific user you will want to use the CLI:

1) Obtain MailboxID of User account:

run cuc dbquery unitydirdb select mailboxid from vw_usersearchmailbox where alias = 'USER ALIAS HERE'

2) Mark all Inbox messages as Deleted for that user:
- Note mailstore unitymbxdb1 is for Mailstore 1. If you have multiple mailstores you will need to indicate the right one

run cuc dbquery unitymbxdb1 update tbl_FolderItem set deleted = 1 where folderobjectid = (select folderobjectid from tbl_folder where mailboxobjectid='MAILBOXID FROM STEP 1' and folderinfoobjectid = (select folderinfoobjectid from tbl_folderinfo where name='Inbox'))

3) Force purging of deleted items now  for that account instead of waiting for the Message Aging Policy:

run cuc dbquery unitymbxdb1 execute procedure csp_FolderPurge (pfolderobjectid = (select folderobjectid from tbl_folder where mailboxobjectid='MAILBOXID FROM STEP 1' ))

You can also access the Web Inbox for that user and delete the voicemails that way, but you'd still be waiting for the Message Aging Policy to purge the messages from the database.

As for removing a greeting/spoken name, I don't know of a way to remove them and I've wondered the same thing. Hopefully someone else does know how to do this.

Let us know if you have questions.

Maren