asterisk/res/stasis
Matthew Jordan 8d7873b836 ARI: Add subscription support
This patch adds an /applications API to ARI, allowing explicit management of
Stasis applications.

 * GET /applications - list current applications
 * GET /applications/{applicationName} - get details of a specific application
 * POST /applications/{applicationName}/subscription - explicitly subscribe to
   a channel, bridge or endpoint
 * DELETE /applications/{applicationName}/subscription - explicitly unsubscribe
   from a channel, bridge or endpoint

Subscriptions work by a reference counting mechanism: if you subscript to an
event source X number of times, you must unsubscribe X number of times to stop
receiveing events for that event source.

Review: https://reviewboard.asterisk.org/r/2862

(issue ASTERISK-22451)
Reported by: Matt Jordan
........

Merged revisions 400522 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 16:01:48 +00:00
..
app.c ARI: Add subscription support 2013-10-04 16:01:48 +00:00
app.h ARI: Add subscription support 2013-10-04 16:01:48 +00:00
command.c Break res_stasis into smaller files. 2013-05-14 21:45:08 +00:00
command.h Break res_stasis into smaller files. 2013-05-14 21:45:08 +00:00
control.c Allow specifying a channel to dial an extension and context in an ARI dial operation. 2013-10-02 15:24:16 +00:00
control.h res_stasis: remove call to missing function control_continue. 2013-08-21 16:00:10 +00:00