FreePBX | Register | Issues | Wiki | Portal | Support

Voicemail Notifications


#1

Is there a way to programmatically determine if there are unread voicemails in a given mailbox?

I have a situation where I need to keep close eyes on a particular voicemail box. The built in voicemail notification is ok but I’d like to take that one step further by repeatedly sending out a notification either pager or email (say every 10 minutes) if there are remaining unread messages in the mailbox. I know that I could just scan the voicemail directory for files, but I’m just wondering if there’s an asterisk/api/etc call that might be more appropriate.

MIke


#2

Look for vmcount() in

http://asterisk-service.com/downloads/Asterisk-%20The%20Definitive%20Guide,%204th%20Edition.pdf

and elsewhere


(Lorne Gaetz) #3

You could also parse the output of:

asterisk -x "voicemail show users for default"