[asterisk-bugs] [JIRA] (ASTERISK-22556) MailboxCount & ExtensionState commands - request multiple mailboxes/extensions

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Oct 28 11:46:03 CDT 2013


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

Matt Jordan commented on ASTERISK-22556:
----------------------------------------

No problems - Asterisk uses XML defined in the source files to produce documentation for the CLI and the Asterisk wiki. You can find the XML documentation for the affected Manager actions at the top of {{manager.c}}. Look for:

{noformat}
	<manager name="ExtensionState" language="en_US">
{noformat}

and

{noformat}
	<manager name="MailboxStatus" language="en_US">
{noformat}

respectively.

Note that the DTD that defines the allowed schema is located in {{doc/appdocsxml.dtd}}.
                
> MailboxCount & ExtensionState commands - request multiple mailboxes/extensions
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22556
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22556
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Core/ManagerInterface/NewFeature
>    Affects Versions: 1.8.23.1
>            Reporter: Mike Ser
>            Assignee: Matt Jordan
>         Attachments: managerPatch2
>
>
> We use asterisk gui & initial loading can take forever with large installations (100+ extensions,) as each extension requires two AMI requests to send and receive the ExtensionState & MailboxStatus commands.  I have modified these commands in manager.c to accept a comma delimited list of extensions and build a reply for the entire list.  
> I also have made modifications to asterisk gui to take advantage of this feature and load all the ExtensionState's and MailboxStatus' with a single command which executes very quickly, which I will be glad to submit if these changes are accepted.
> In addition the asterisk gui can now refresh the extension status very well, where in the past it required a separate javascipt setInterval for each extension, which for large installations performed so poorly that we had commented it out.
> I don't see where on this form I can attach the code changes.  I did fill out a license agreement.  Perhaps it hasn't been approved?  It's actually a trivial change IMHO.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list