Voicemail Windows App

Status
Not open for further replies.

kevinchamplin

Joined
Feb 6, 2018
Messages
7
Reaction score
0
With the API am I able to count voicemails in a specific voicemail box and allow the user to play a message? It'd be a windows application i'd be building.
 
I do not believe you can count how many voicemails are in an extension's voicemail box using the API, but it is a super-simple task to count them yourself. They are just wav files in C:\ProgramData\3CX\Instance1\Data\Ivr\Voicemail\Extensions folder (each extension has it's own folder). Then you just need a user interface to select the desired wav file and play it.

However, I would encourage you to take a look at our Voicemail Manager web portal. Our tool may eliminate the need for you to go to all the work required to create an application of your own.
 
Hello @kevinchamplin,

Using the 3CX Call Control API you have access to the voicemails information. Please note that this API is only available in the 3CX server. Using this API, the Extension class has the property VoiceMailBox, and this has the properties New and Total, which will return the number of new messages (not heard) and the number of total messages.

So, for example you can check this info using:
PhoneSystem.Root.GetDNByNumber("100").VoiceMailBox.New
PhoneSystem.Root.GetDNByNumber("100").VoiceMailBox.Total

In order to play the wav files, you need to access them from the file system, as explained by Matt.

Kind regards.
 
Learn something new every day Ernesto. Thanks for the heads up.
 
  • Like
Reactions: edossantos
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,323
Messages
591,896
Members
165,473
Latest member
NathanMitchell