[Asterisk-Dev] Want to add a VM delete event - wherein app_voicemail.c?

Olle E. Johansson oej at edvina.net
Sat Oct 1 04:16:52 MST 2005


Michiel van Baak wrote:
> On 00:02, Sat 01 Oct 05, Leif Madsen wrote:
> 
>>On 9/30/05, Jordan Bean <jordan.bean at webcoretech.com> wrote:
>>
>>>I thought that vmnotify was triggered when a voicemail was left.  I need
>>>an event when a voicemail is deleted.
>>
>>Would it be better to create a vmdelete= option in voicemail.conf so
>>that you can customize what happens when a voicemail is deleted? (Just
>>thinking it might be more useful for others if you're already going to
>>edit the code, and I'd think it'd work similar to the vmnotify=
>>code... so that might give some ideas of how to go about it).
>>
>>Of couse I say all this without having looked at voicemail.c :)
>>
> 
> 
> I also would like it to be implemented like that.
> Good thinking :)
> 
..or a generic notify for all changes done to a mailbox repository.
There's no sense in making a notification for every action. It might
even be more clever to make this a manager event and have the action
hooks in the astmanproxy, to take the burden away from Asterisk.

/O



More information about the asterisk-dev mailing list