]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/stasis: Add CLI commands for displaying/debugging ARI apps 59/4259/2
authorMatt Jordan <mjordan@digium.com>
Thu, 20 Oct 2016 12:27:21 +0000 (07:27 -0500)
committerMatt Jordan <mjordan@digium.com>
Tue, 1 Nov 2016 14:26:41 +0000 (09:26 -0500)
commit1a3e699316b672ade3890f6055429f132849c0ac
tree00b55891e6fa618a02f27bd49b1700645a03caac
parent201f21e0e567c53c51601d5903999f538ce84178
res/stasis: Add CLI commands for displaying/debugging ARI apps

This patch adds three new CLI commands:
 - ari show apps: list the registered ARI applications
 - ari show app: show detailed information about an ARI application
 - ari set debug: dump events being sent to an ARI application

Note that while these CLI commands live in the res_stasis module, we use
the 'ari' family for these commands. This was done as most users of
Asterisk aren't aware of the semantic differences between ARI and
res_stasis, and some 'ari' CLI commands already exist.

ASTERISK-26488 #close

Change-Id: I51ad6ff0cabee0d69db06858c13f18b1c513c9f5
CHANGES
include/asterisk/stasis_app.h
res/ari/ari_websockets.c
res/res_stasis.c
res/stasis/app.c
res/stasis/app.h
res/stasis/cli.c [new file with mode: 0644]
res/stasis/cli.h [new file with mode: 0644]