Retrieving System Information
TheĀ asterisk
resource provides the ability to retrieve basic information about the running Asterisk process. This includes:
- Information about how Asterisk was compiled
- Information about Asterisk's configuration
- Current status of the Asterisk process
- Information about the system the Asterisk process is running on
An example of this is shown below:
$ curl -X GET -u asterisk:SECRET https://localhost:8088/ari/asterisk/info { "status": { "startup_time": "2015-07-16T21:01:37.273-0500", "last_reload_time": "2015-07-16T21:01:37.273-0500" }, "build": { "user": "mjordan", "options": "AST_DEVMODE, LOADABLE_MODULES, OPTIONAL_API, TEST_FRAMEWORK", "machine": "x86_64", "os": "Linux", "kernel": "3.13.0-24-generic", "date": "2015-07-11 15:51:57 UTC" }, "system": { "version": "GIT-master-0b2cbeaM", "entity_id": "ec:f4:bb:67:a6:d0" }, "config": { "default_language": "en", "name":"mjordan-laptop", "setid": { "user": "asterisk", "group": "asterisk" } } }