.. _voicemail_workflows:

Voicemail Workflows
-------------------

A Voicemail account can only be added if:

* The administrator has navigated to the relevant Provider, Customer,
  Site level.
* A CUC Server (VM Server) has already been provisioned at the Provider or Customer
  level.
* A Network Device List (NDL) and NDLR points have already been created.

When adding a new Voicemail account, the following workflow is executed:

1. A CUC account is added with the details input by the user.
2. Alternate extensions are added with the details input by the user (if
   applicable).
3. Message actions are initially added with defaults, but can be updated with details
   input by the user if the Subscriber has been added, or upon modification.  
4. Credentials (password and PIN) are added with the details input by the
   user. The password and PIN can either be locked by the administrator,
   or the user can be prompted to change the credentials upon first
   login.
5. Notification Devices are added. The system automatically provisions
   default notification devices, however additional notification devices
   can also be added when adding a Voicemail account.
6. Caller Input keys are updated or added as configured by the user.

You can modify either an existing Voicemail account service information
(details that were added to a Voicemail account during the Add Voicemail
process), or you can modify a Voicemail account by adding new Voicemail
services (those that were not added to the Voicemail account during the
initial Add Voicemail process). For example, you can add additional
alternate extensions and/or notification devices. After adding a Voicemail
service to a subscriber, any lines that are used by any of the devices
associated to the subscriber must be updated to reflect the proper call
forward and Voicemail profile settings to enable the Call Forwarding to
Voicemail and Voicemail buttons.

When modifying a Voicemail account, the workflow and processes are
executed as with the Add workflow.

* Modular Add and Delete workflows can be carried out. For example, if
  more than one alternate extension or notification device is added to
  the Voicemail account, a pop-up form is available on the appropriate
  **Alternate Extensions** tab or **Notification devices** tab. Alternatively,
  for one-to-many or zero-to-many item instances such as an alternate
  extension, it can be deleted. These Add and Delete operations carry
  out a secondary workflow on the Voicemail instance.

When deleting a Voicemail account, the following should be noted about the
workflow:

1. All elements associated with the Voicemail account are deleted.
2. Modular Delete workflows can be carried out as a part of a Modify
   workflow.
   

.. note::

   * When a Voicemail account is deleted at Site level, the related CUCM Line's
     Park Monitoring and CFWD settings are disabled accordingly.
   * When a Voicemail account is deleted at Customer level, i.e. recently synced
     from CUC but not yet moved to Site level, the related CUCM Line's Park
     Monitoring and CFWD settings *are not disabled*.