[asterisk-users] pollmailboxes

Russell Bryant russell at digium.com
Sun Aug 17 12:23:36 CDT 2008


On Aug 17, 2008, at 11:07 AM, Philipp Kempgen wrote:

> 1.6 UPGRADE.txt:
>> * If you use any interface for modifying voicemail aside from the  
>> built in
>>  dialplan applications, then the option "pollmailboxes" *must* be  
>> set in
>>  voicemail.conf for message waiting indication (MWI) to work  
>> properly.  This
>>  is because Voicemail notification is now event based instead of  
>> polling
>>  based.  The channel drivers are no longer responsible for  
>> constantly manually
>>  checking mailboxes for changes so that they can send MWI  
>> information to users.
>>  Examples of situations that would require this option are web  
>> interfaces to
>>  voicemail or an email client in the case of using IMAP storage.
>
> I vote for a truly event based solution:
>
> - A web GUI modifies a mailbox (e.g. deletes a message)
> - The GUI triggers the polling of this specific mailbox
>
> Action: PollMailbox
> Mailbox: 1234
> ...
>
> or
>
> Action: MailboxModifiedExternally
> Context: default
> Mailbox: 1234
> Folder: Work
> File: msg0002

I agree that it would be a nice addition.  I'm not so sure that it  
would remove the need to be able to enable periodic polling in  
Asterisk, though.  For example, take IMAP storage of voicemail.  There  
would not be any easy way to trigger the poll after someone has made  
changes using their IMAP client.

--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.







More information about the asterisk-users mailing list