[asterisk-users] notification mail to an user if his vmbox is full (was: Re: dialplan tips)

Philipp Kempgen philipp.kempgen at amooma.de
Fri Jul 24 08:34:35 CDT 2009


harry R schrieb:

> 2) about asterisk voicemail maximum message limit, is it possible to send a
> notification mail to an user if his vmbox is full ? How can i do that if
> it's possible.

Write a cron job to check if one of the mailboxes is full
(ls -l /var/spool/asterisk/voicemail/vmContext/mailBox/INBOX/msg*.txt | wc -l)
or use the externnotify parameter in voicemail.conf (3rd arg tells
you the number of messages in the INBOX folder)
and send an email.
You could read the email address from voicemail.conf or from the
voicemail Realtime family/table depending on what you use.


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 



More information about the asterisk-users mailing list