[asterisk-bugs] [JIRA] (ASTERISK-21890) Asterisk API Improvements - add AMI/CLI command for querying Stasis endpoints
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Fri Jun 7 13:49:06 CDT 2013
Matt Jordan created ASTERISK-21890:
--------------------------------------
Summary: Asterisk API Improvements - add AMI/CLI command for querying Stasis endpoints
Key: ASTERISK-21890
URL: https://issues.asterisk.org/jira/browse/ASTERISK-21890
Project: Asterisk
Issue Type: Bug
Components: Core/Stasis
Reporter: Matt Jordan
There are a number of channel driver specific AMI commands/CLI commands used to inspect run-time information about endpoints, their status, and their registrations.
The principle ones for SIP and IAX are:
* [SIPpeers|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_SIPpeers]
* [SIPshowpeer|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_SIPshowpeer]
* [SIPpeerstatus|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_SIPpeerstatus]
* [SIPshowregistry|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_SIPshowregistry]
* [IAXpeerlist|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_IAXpeerlist]
* [IAXpeers|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_IAXpeers]
* [IAXregistry|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_IAXregistry]
* [SIPshowregistry|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_SIPshowregistry]
In general, however, it would be better if there were AMI commands that let any channel driver that creates Stasis endpoints be queried. This would hit the cache and display information about the endpoints that are currently available. We would want to have the following:
* List all endpoints that could exist for a given technology
* Provide detailed information about a single endpoint
** Channel handles that are associated with that endpoint
** Device states associated with that endpoint
** Technology specific information. This may mean we need to have a technology specific piece of data stored on the endpoint (ao2 ref counted) with callback functions that format the information for JSON and AMI, similar to the formatting callbacks for stasis messages.
--
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