# Object: Voicemail

The **Voicemail** object serves as a mailbox in which callers may leave
voice messages, which are then immediately sent to a specified
destination on the termination of each call.

![../../../_images/voicemail-object.jpg](../../../_images/voicemail-object.jpg)


**Fig. 1.** Voicemail Object

The information to be entered for this object is:

- The name of the **Voicemail** object.
- The delivery method for the voicemail file. Available delivery methods include:
  Email, Dropbox, FTP, SFTP, Google Drive, OneDrive, and the default phone.systems(TM) [cloud
storage](../../Settings/cloud-storage-integrations/phone-systems.html#ps3-phonesystems-cloudstorage).

Tip

- If the required delivery method has not previously been configured, a delivery method may be added by navigating to the [Delivery Methods](../../Delivery-methods/delivery-methods.html#ps3-delivery-methods) menu.
- When using the default **phone.systems(TM)** cloud storage as the delivery method, voicemails will appear in the [call flow CDRs](../../Call-analytics/call-history.html#ps3-call-flow-cdrs-voicemail), providing a centralized and convenient way to review voicemails alongside other call activities.

- An audio message that is played to the caller can be uploaded from a local drive (in .mp3, m4a, .wav, .flac, or .ogg format), recorded directly, or selected from files or playlists previously uploaded to the [Audio Files](../../Audio-files/index.html#ps3-audio-files) menu.
- The maximum length of the voicemail, with valid values being from 1
  to 60 minutes. The call will automatically be terminated after this
  configured time period, unless the caller hangs up before the
  expiration of this timer.

[![../../../_images/text_to_speech_audio_file_option2.png](../../../_images/text_to_speech_audio_file_option2.png)](../../../_images/text_to_speech_audio_file_option2.png)


**Fig. 2.** Voicemail Object Creation

If an audio file has not been created yet, you can generate one from
the **Audio File** field in the **Voicemail** object window. Open the
**Audio File** dropdown and click **Create Audio File**.

In the **Text to speech** window, enter the message, select a **Voice**
from the list of available voices, and click **Generate**. After
previewing the generated audio, enter a filename and click **Save** to
store the file in your audio library. For the full text-to-speech audio
file creation flow, see [Text to speech audio files](../../Audio-files/audio-files.html#ps3-audio-files-text-to-speech).

[![../../../_images/text_to_speech_generate3.png](../../../_images/text_to_speech_generate3.png)](../../../_images/text_to_speech_generate3.png)


**Fig. 4.** Text to speech window

A simple usage example of the **Voicemail** object is shown below, where
an incoming call is forwarded to the ring group Mike Brown. If Mike does
not answer the call within the defined ring timeout period then that
call is sent to voicemail, where the caller may leave a message.

![../../../_images/voicemail-example.jpg](../../../_images/voicemail-example.jpg)


**Fig. 5.** Example
