[asterisk-bugs] [JIRA] Commented: (ASTERISK-17206) [patch] Allow external commands to send mailbox refreshes

Kinsey Moore (JIRA) noreply at issues.asterisk.org
Wed Sep 26 12:52:27 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-17206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197650#comment-197650 ] 

Kinsey Moore commented on ASTERISK-17206:
-----------------------------------------

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.

> [patch] Allow external commands to send mailbox refreshes
> ---------------------------------------------------------
>
>                 Key: ASTERISK-17206
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17206
>             Project: Asterisk
>          Issue Type: New Feature
>          Components: Applications/app_voicemail/NewFeature
>            Reporter: Tilghman Lesher
>            Assignee: Kinsey Moore
>         Attachments: 20110105__voicemailrefresh.diff.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list