asterisk/res/ari
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
..
ari_model_validators.c ARI: Add subscription support 2013-10-04 16:01:48 +00:00
ari_model_validators.h ARI: Add subscription support 2013-10-04 16:01:48 +00:00
ari_websockets.c optional_api: Fix linking problems between modules that export global symbols 2013-08-30 13:40:27 +00:00
cli.c Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
config.c Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
internal.h optional_api: Fix linking problems between modules that export global symbols 2013-08-30 13:40:27 +00:00
resource_applications.c ARI: Add subscription support 2013-10-04 16:01:48 +00:00
resource_applications.h ARI: Add subscription support 2013-10-04 16:01:48 +00:00
resource_asterisk.c ARI: Correct segfault with /variable calls are missing ?variable parameter. 2013-08-21 16:23:59 +00:00
resource_asterisk.h ARI - implement allowMultiple for parameters 2013-08-02 14:36:32 +00:00
resource_bridges.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
resource_bridges.h ARI: Music on Hold/Background Music for bridges 2013-08-23 00:26:19 +00:00
resource_channels.c Fix a crash caused by muting and unmuting a channel in ARI without specifying a direction. 2013-10-03 19:06:48 +00:00
resource_channels.h Multiple revisions 398638-398639 2013-09-09 19:09:21 +00:00
resource_endpoints.c Multiple revisions 400318-400319 2013-10-02 22:22:17 +00:00
resource_endpoints.h ARI: Add subscription support 2013-10-04 16:01:48 +00:00
resource_events.c ARI - implement allowMultiple for parameters 2013-08-02 14:36:32 +00:00
resource_events.h ARI - implement allowMultiple for parameters 2013-08-02 14:36:32 +00:00
resource_playback.c Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
resource_playback.h Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
resource_recordings.c ARI: Implement /recordings/stored API's 2013-08-30 13:28:50 +00:00
resource_recordings.h ARI: Implement /recordings/stored API's 2013-08-30 13:28:50 +00:00
resource_sounds.c Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
resource_sounds.h ARI - implement allowMultiple for parameters 2013-08-02 14:36:32 +00:00