|Summary:||ASTERISK-17206: [patch] Allow external commands to send mailbox refreshes|
|Reporter:||Tilghman Lesher (tilghman)||Labels:|
|Date Opened:||2011-01-05 12:37:08.000-0600||Date Closed:||2012-09-27 12:09:27|
|Environment:||Attachments:||( 0) 20110105__voicemailrefresh.diff.txt|
|Description:||Currently, if there are external commands which at all modify mailboxes, the user needs to add "pollmailboxes" to their mailbox configuration, which repeatedly polls the subscribed mailboxes for changes. This results in a lot of extra work for the CPU. This patch introduces an AMI command VoicemailRefresh, which permits external applications to trigger the refresh themselves, on a specified mailbox only, on an entire context, or on the entire machine. Even a refresh performed on every mailbox would not consume as much CPU as the pollmailboxes option, given that pollmailboxes runs continuously and this only runs on demand.|
|Comments:||By: Kinsey Moore (kmoore) 2012-09-26 12:51:41.568-0500|
All the patch is missing is the ast_manager_unregister call in the module_unload function. Otherwise, it looks great. Feel free to commit this with that change or let me know and I'll put it in.