asterisk/include/asterisk
Matt Jordan b99a705262 ARI: Add the ability to subscribe to all events
This patch adds the ability to subscribe to all events. There are two possible
ways to accomplish this:
(1) On initial WebSocket connection. This patch adds a new query parameter,
    'subscribeAll'. If present and True, Asterisk will subscribe the
    applications to all ARI events.
(2) Via the applications resource. When subscribing in this manner, an ARI
    client should merely specify a blank resource name, i.e., 'channels:'
    instead of 'channels:12354'. This will subscribe the application to all
    resources of the 'channels' type.

ASTERISK-24870 #close

Change-Id: I4a943b4db24442cf28bc64b24bfd541249790ad6
2015-09-22 09:59:47 -05:00
..
doxygen Fix some doxygen bridging file references. 2013-08-16 18:34:31 +00:00
.gitignore Add .gitignore and .gitreview files 2015-04-11 19:43:43 -06:00
_private.h DNS: Create a system-level DNS resolver 2015-07-07 21:31:49 -05:00
abstract_jb.h media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
acl.h pjsip cli: Change Identify to show CIDR notation instead of netmasks. 2014-06-19 20:13:20 +00:00
adsi.h Multiple revisions 369323-369324 2012-06-25 15:55:25 +00:00
ael_structs.h Merged revisions 136726 via svnmerge from 2008-08-08 00:48:35 +00:00
agi.h Remove the old stub files, preferring the optional_api method. 2010-07-14 20:48:59 +00:00
alaw.h A lot of doxygen updates 2007-12-11 14:17:29 +00:00
aoc.h channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
app.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
ari.h ARI: Channels added to Stasis application during WebSocket creation ... 2015-07-31 11:28:10 -05:00
ast_expr.h Merge str_substitution branch. 2009-04-29 18:53:01 +00:00
ast_version.h Rename version.h to ast_version.h. Next, I will be re-adding version.h as an 2008-02-26 20:02:14 +00:00
astdb.h core/db: Revert Patch Added In Attempt To Improve I/O Performance 2014-07-24 21:01:37 +00:00
astmm.h MALLOC_DEBUG: Replace WRAP_LIBC_MALLOC with ASTMM_LIBC. 2015-05-13 21:55:07 -04:00
astobj.h Deprecate astobj.h 2014-07-24 17:50:46 +00:00
astobj2.h ARI: Channels added to Stasis application during WebSocket creation ... 2015-07-31 11:28:10 -05:00
astosp.h 1. Re-format the code. 2006-11-15 20:55:17 +00:00
audiohook.h audiohook.c: Difference in read/write rates caused continuous buffer resets 2015-05-20 16:08:39 -05:00
autochan.h Fix a deadlock that occurred due to a conflict of masquerades. 2013-12-19 17:45:21 +00:00
autoconfig.h.in Merge "Replaces clock_gettime() with ast_tsnow()" 2015-08-10 11:27:12 -05:00
backtrace.h Fix memory corruption when trying to get "core show locks". 2013-08-23 18:07:40 +00:00
beep.h (mix)monitor: Add options to enable a periodic beep 2014-04-15 23:21:19 +00:00
bridge.h bridge.c: Fixed race condition during attended transfer 2015-07-13 12:57:56 -05:00
bridge_after.h A great big renaming patch 2013-07-25 04:06:32 +00:00
bridge_basic.h Massively clean up app_queue. 2013-08-22 18:52:41 +00:00
bridge_channel.h app_confbridge: file playback blocks dtmf 2015-03-26 17:13:26 +00:00
bridge_channel_internal.h bridge.c: Fixed race condition during attended transfer 2015-07-13 12:57:56 -05:00
bridge_features.h Stasis: Convey transfer information to applications 2014-08-07 15:30:19 +00:00
bridge_internal.h Bridge core: Pass a ref with the swap channel when joining a bridge. 2015-01-22 19:30:12 +00:00
bridge_roles.h ARI: bridges/{bridgeID}/addChannel: add roles parameter 2013-08-05 16:59:13 +00:00
bridge_technology.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
bucket.h media cache: Add a core API and facade for a backend agnostic media cache 2015-07-12 20:44:16 -05:00
buildinfo.h try to get this committed before the buildbot complains about a broken tree 2008-10-30 16:53:11 +00:00
calendar.h Track module use count for res_calendar 2012-02-22 21:22:43 +00:00
callerid.h media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
causes.h Merged revisions 378735,378748 via svnmerge from 2013-01-09 20:21:33 +00:00
ccss.h Merge in the bridge_construction branch to make the system use the Bridging API. 2013-05-21 18:00:22 +00:00
cdr.h CDRs: Synchronize dialplan applications that manipulate CDRs with the engine 2014-01-12 22:13:12 +00:00
cel.h clang compiler warnings: Fix autological comparisons 2015-04-09 12:57:21 +00:00
celt.h I think reviewboard broke this. The whole file was doubled. 2011-07-07 22:39:54 +00:00
channel.h Remove unneeded uses of optional_api providers. 2015-05-02 19:31:12 -05:00
channel_internal.h uniqueid: channel linkedid, ami, ari object creation with id's 2014-03-07 15:47:55 +00:00
channelstate.h channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
chanvars.h res_phoneprov: Refactor phoneprov to allow pluggable config providers 2014-10-09 17:46:23 +00:00
cli.h CLI: Enable automatic references to modules. 2015-05-04 20:47:18 -04:00
codec.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
compat.h res_pjsip,compat: INFINITY and NAN undefined 2014-01-28 20:47:15 +00:00
compiler.h optional_api: Fix linking problems between modules that export global symbols 2013-08-30 13:40:27 +00:00
config.h res_pjsip_config_wizard/config: Fix template processing 2015-05-15 17:19:49 -05:00
config_options.h media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
core_local.h Create Local channel messages on the Stasis message bus and produce AMI events 2013-07-08 14:26:40 +00:00
core_unreal.h Logger: Convert 'struct ast_callid' to unsigned int. 2015-03-13 01:12:35 +00:00
crypto.h Clean up doxygen warnings 2012-08-30 14:23:28 +00:00
data.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
datastore.h Stasis: Convey transfer information to applications 2014-08-07 15:30:19 +00:00
devicestate.h res_corosync: Update module to work with Stasis (and compile) 2014-05-22 12:01:37 +00:00
dial.h Dial API: add self destruct option when complete 2015-02-26 18:53:36 +00:00
dlinkedlists.h Doubly linked lists unit test and update to implementation. 2011-12-06 19:09:56 +00:00
dns.h DNS: Create a system-level DNS resolver 2015-07-07 21:31:49 -05:00
dns_core.h res_pjsip: Add external PJSIP resolver implementation using core DNS API. 2015-04-15 10:47:53 -03:00
dns_internal.h DNS: Fix doxygen comments. 2015-06-10 12:17:02 -05:00
dns_naptr.h dns: Add core DNS API + unit tests and res_resolver_unbound module + unit tests. 2015-03-25 12:32:26 +00:00
dns_query_set.h res_pjsip: Add external PJSIP resolver implementation using core DNS API. 2015-04-15 10:47:53 -03:00
dns_recurring.h dns: Add core DNS API + unit tests and res_resolver_unbound module + unit tests. 2015-03-25 12:32:26 +00:00
dns_resolver.h dns_core: Allow zero-length DNS responses. 2015-07-31 09:44:20 -05:00
dns_srv.h dns: Add core DNS API + unit tests and res_resolver_unbound module + unit tests. 2015-03-25 12:32:26 +00:00
dns_test.h Reduce duplication of common DNS code. 2015-04-09 14:58:02 +00:00
dns_tlsa.h dns: Add core DNS API + unit tests and res_resolver_unbound module + unit tests. 2015-03-25 12:32:26 +00:00
dnsmgr.h Re-link peers by IP when dnsmgr changes the IP 2012-01-30 23:58:51 +00:00
doxyref.h app_voicemail: Voicemail callback registration/unregistration function improvements. 2013-12-11 19:19:24 +00:00
dsp.h res_pjsip: Add an 'auto' option for DTMF Mode 2015-04-10 17:56:47 +00:00
dundi.h incorporates r159808 from branches/1.4: 2008-11-29 17:57:39 +00:00
endian.h only include this for OpenBSD. At least FreeBSD is borked when including it 2008-10-09 17:48:53 +00:00
endpoints.h pjsip_options: Add qualify_timeout processing and eventing 2015-04-16 09:34:56 -05:00
enum.h Add Doxygen documentation for API changes from 1.6.0 to 1.6.1 2009-03-09 20:58:17 +00:00
event.h doxygen: Fix doxygen errors 2015-05-19 21:11:21 -05:00
event_defs.h res_corosync: Update module to work with Stasis (and compile) 2014-05-22 12:01:37 +00:00
extconf.h Merged revisions 328329 via svnmerge from 2011-07-15 00:23:14 +00:00
features.h Restore Dial, Queue, and FollowMe 'I' option support. 2013-09-13 22:19:23 +00:00
features_config.h Allow for transferer to retry when dialing an invalid extension. 2014-11-17 16:58:52 +00:00
file.h Voicemail: get correct duration when copying file to vm 2014-09-16 16:33:53 +00:00
format.h main/format: Add an API call for retrieving format attributes 2015-08-10 12:47:56 -05:00
format_cache.h Astobj2: Allow reference debugging to be enabled/disabled by config. 2015-04-27 18:37:26 -04:00
format_cap.h Astobj2: Allow reference debugging to be enabled/disabled by config. 2015-04-27 18:37:26 -04:00
format_compatibility.h chan_iax2: Several media format fixes. 2014-08-07 18:51:16 +00:00
frame.h chan_pjsip: Fix deadlock when masquerading PJSIP channels. 2014-10-03 17:47:42 +00:00
framehook.h PJSIP: Prevent T38 framehook being put on wrong channel 2014-09-19 12:50:08 +00:00
fskmodem.h (Step 2 of 2) 2008-07-21 21:00:47 +00:00
fskmodem_float.h Optionally build integer-based routines for FSK tone decoding (but default 2008-07-21 20:59:03 +00:00
fskmodem_int.h Optionally build integer-based routines for FSK tone decoding (but default 2008-07-21 20:59:03 +00:00
global_datastores.h Detect potential forwarding loops based on count. 2015-04-17 15:58:07 -05:00
hashtab.h Merged revisions 376341,376344-376345 via svnmerge from 2012-11-16 00:19:48 +00:00
heap.h Clean up doxygen warnings 2012-08-30 14:23:28 +00:00
http.h HTTP: For httpd server, need option to define server name for security purposes 2015-01-30 17:21:50 +00:00
http_websocket.h ARI: Channels added to Stasis application during WebSocket creation ... 2015-07-31 11:28:10 -05:00
image.h media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
indications.h Audit of ao2_iterator_init() usage for v1.8. 2012-01-27 18:47:16 +00:00
inline_api.h build: Fixes for gcc 5 compilation 2015-04-06 19:04:32 +00:00
io.h Merged revisions 182810 via svnmerge from 2009-03-18 02:28:55 +00:00
json.h ARI: Fix crash if integer values used in JSON payload 'variables' object. 2015-02-27 18:31:31 +00:00
linkedlists.h Merged revisions 376630 via svnmerge from 2012-11-27 18:20:18 +00:00
localtime.h Stasis application WebSocket support 2013-04-08 13:27:45 +00:00
lock.h asterisk/lock.h: Fix syntax errors for non-gcc OSX with 64-bit integers. 2015-02-21 02:47:44 +00:00
logger.h ARI: Retrieve existing log channels 2015-08-07 14:57:45 -05:00
manager.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
max_forwards.h Detect potential forwarding loops based on count. 2015-04-17 15:58:07 -05:00
md5.h Ensure alignment of in[] field in MD5Context struct. 2012-08-29 22:48:08 +00:00
media_cache.h media cache: Add a core API and facade for a backend agnostic media cache 2015-07-12 20:44:16 -05:00
media_index.h Index installed sounds and implement ARI sounds queries 2013-06-24 13:49:20 +00:00
message.h Multiple revisions 420089-420090,420097 2014-08-05 21:44:09 +00:00
mixmonitor.h bridge_features: Support One touch Monitor/MixMonitor 2013-07-01 16:01:24 +00:00
mod_format.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
module.h ARI: Added new functionality to get information on a single module. 2015-07-13 14:29:27 -05:00
monitor.h Remove unneeded uses of optional_api providers. 2015-05-02 19:31:12 -05:00
musiconhold.h Update MOH start/stop routine doxygen. 2013-08-22 21:29:16 +00:00
netsock.h Move eid functions to utils.c, mark netsock.h deprecated 2014-06-24 02:50:15 +00:00
netsock2.h pjsip cli: Change Identify to show CIDR notation instead of netmasks. 2014-06-19 20:13:20 +00:00
network.h Get default entity ID determination working on Linux again 2008-06-12 17:38:27 +00:00
optional_api.h Optional API: Fix handling of sources that are both provider and user. 2015-04-13 07:06:28 -04:00
options.h Allow command-line options to override asterisk.conf. 2015-05-12 12:44:12 -04:00
opus.h Add pass through support for Opus and VP8; Opus format attribute negotiation 2013-08-23 15:42:27 +00:00
parking.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
paths.h ARI - channel recording support 2013-07-03 17:58:45 +00:00
pbx.h Fix unsafe uses of ast_context pointers. 2015-06-08 11:09:57 -04:00
phoneprov.h res_phoneprov: Create accessor for ast_phoneprov_std_variable_lookup 2014-10-14 18:13:33 +00:00
pickup.h Make sure that pickup.h does not use an include guard name used elsewhere. 2013-08-02 13:54:31 +00:00
pktccops.h Add PacketCable NCS 1.0 support for Docsis/Eurodocsis networks 2009-11-02 22:29:19 +00:00
plc.h Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
poll-compat.h Merged revisions 284597 via svnmerge from 2010-09-02 05:02:54 +00:00
presencestate.h Split caching out from the stasis_caching_topic. 2013-08-01 13:49:34 +00:00
privacy.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
pval.h Merged revisions 271399 via svnmerge from 2010-06-18 21:32:09 +00:00
res_fax.h res_fax: allow 2400 transmission rate according to v.27ter standard 2015-04-29 15:39:11 -05:00
res_hep.h res_hep/res_hep_pjsip: Add a HEPv3 capture agent module and a logger for PJSIP 2014-03-28 18:32:50 +00:00
res_mwi_external.h External MWI core support. 2014-01-06 17:45:25 +00:00
res_odbc.h Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
res_pjsip.h res_pjsip: Copy default_from_user to avoid crash. 2015-09-10 09:55:00 -05:00
res_pjsip_body_generator_types.h res_pjsip_dialog_info_body_generator: Add dialog-info+xml support for presence. 2014-07-07 16:08:47 +00:00
res_pjsip_cli.h pjsip_cli: Create pjsip show channel and contact, and general cli code cleanup. 2014-03-08 16:50:36 +00:00
res_pjsip_outbound_publish.h res_pjsip_outbound_publish: Add module which provides outbound PUBLISH support. 2014-08-07 14:35:09 +00:00
res_pjsip_presence_xml.h PJSIP XML, XPIDF: Fix buffer size overwrite memory corruption error. 2015-07-06 16:15:12 -05:00
res_pjsip_pubsub.h res_pjsip_exten_state: Fix race condition between sending NOTIFY and termination 2015-05-07 07:42:10 -05:00
res_pjsip_session.h res_pjsip_sdp_rtp: Fix multiple keepalive scheduled items. 2015-08-28 20:49:35 -05:00
res_srtp.h Allow SRTP policies to be reloaded 2012-02-24 15:10:35 +00:00
rtp_engine.h rtp_engine.c: Get current or create a needed rx payload type mapping. 2015-08-20 11:56:13 -05:00
say.h Add SayAlphaCase and similar functionality for AGI 2013-08-22 22:33:48 +00:00
sched.h Create work around for scheduler leaks during shutdown. 2015-02-19 02:03:01 +00:00
sdp_srtp.h Recorded merge of revisions 417677 from http://svn.asterisk.org/svn/asterisk/branches/11 2014-06-30 19:51:28 +00:00
security_events.h Avoid unnecessary cleanups during immediate shutdown 2013-05-30 17:05:53 +00:00
security_events_defs.h Strip down the old event system 2013-08-17 14:39:27 +00:00
select.h Merged revisions 315503 via svnmerge from 2011-04-26 19:38:41 +00:00
sem.h doxygen: Fix doxygen errors 2015-05-19 21:11:21 -05:00
sha1.h Update SHA1 code to RFC 6234 2011-10-11 19:06:29 +00:00
silk.h Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff 2011-02-22 23:04:49 +00:00
sip_api.h Remove unneeded uses of optional_api providers. 2015-05-02 19:31:12 -05:00
slin.h Fix buffer overflow in slin sample frames generation. 2015-05-31 12:29:21 -05:00
slinfactory.h media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
smdi.h res_smdi: convert to astobj2 2014-07-21 08:41:29 +00:00
smoother.h media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
sorcery.h sorcery: Add support for object staleness 2015-07-04 20:32:09 -05:00
sounds_index.h Index installed sounds and implement ARI sounds queries 2013-06-24 13:49:20 +00:00
speech.h media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
spinlock.h Add "destroy" implementation for spinlock. 2014-04-29 15:10:24 +00:00
srv.h Doxygen - Markup Guidelines 2013-04-22 16:22:00 +00:00
stasis.h Stasis: Fix unsafe use of stasis_unsubscribe in modules. 2015-05-22 22:30:22 -05:00
stasis_app.h ARI: Add the ability to subscribe to all events 2015-09-22 09:59:47 -05:00
stasis_app_device_state.h ARI: Implement device state API 2013-11-23 17:48:28 +00:00
stasis_app_impl.h ARI: Fix a crash caused by hanging during playback to a channel in a bridge 2014-08-22 16:52:51 +00:00
stasis_app_mailbox.h ARI: Add mailboxes resource for controlling and polling external MWI 2014-01-14 23:44:57 +00:00
stasis_app_playback.h uniqueid: channel linkedid, ami, ari object creation with id's 2014-03-07 15:47:55 +00:00
stasis_app_recording.h ari: Add a copy operation for stored recordings 2014-07-18 21:48:46 +00:00
stasis_app_snoop.h uniqueid: channel linkedid, ami, ari object creation with id's 2014-03-07 15:47:55 +00:00
stasis_bridges.h Fix race condition that could result in ARI transfer messages not being sent. 2014-11-14 15:28:42 +00:00
stasis_cache_pattern.h Revert "endpoint/stasis: Eliminate duplicate events on endpoint status change" 2015-05-29 14:52:41 -05:00
stasis_channels.h Add new AMI and ARI events for connected line changes on a channel. 2014-12-08 16:24:36 +00:00
stasis_endpoints.h res_pjsip: Add AMI events for chan_pjsip contact lifecycle changes 2015-05-26 16:47:55 -05:00
stasis_internal.h main/stasis: Allow subscriptions to use a threadpool for message delivery 2014-12-01 17:59:21 +00:00
stasis_message_router.h main/stasis: Allow subscriptions to use a threadpool for message delivery 2014-12-01 17:59:21 +00:00
stasis_system.h Convert CCSS manager events to stasis. 2013-07-19 18:00:35 +00:00
stasis_test.h doxygen: Fix doxygen errors 2015-05-19 21:11:21 -05:00
statsd.h Example of how to use the Stasis message bus 2013-04-26 20:05:15 +00:00
stringfields.h stringfields: Fix bug in ast_string_fields_copy. 2014-11-19 19:32:23 +00:00
strings.h strings.h: Fix issues with escape string functions. 2015-07-16 12:27:01 -05:00
stun.h Re-resolve the STUN address if a STUN poll fails for res_stun_monitor. 2011-12-01 21:19:41 +00:00
syslog.h main/syslog: Allow dynamic logs, such as security events, to log to the syslog 2015-01-12 18:01:46 +00:00
taskprocessor.h chan_pjsip: Fix deadlock when masquerading PJSIP channels. 2014-10-03 17:47:42 +00:00
tcptls.h Add X.509 subject alternative name support to TLS certificate 2015-05-15 00:12:41 +02:00
tdd.h Additional TDD changes (preparing for SIP changes - adding TDD support to SIP) 2007-11-06 19:10:26 +00:00
term.h Revamp of terminal color codes 2013-02-14 18:47:56 +00:00
test.h test.c: Add unit test registration checks for summary and description. 2015-06-24 17:13:31 -05:00
threadpool.h threadpool, res_pjsip: Add serializer group shutdown API calls. 2015-06-25 14:33:44 -05:00
threadstorage.h Fix issue with AST_THREADSTORAGE_RAW when DEBUG_THREADLOCALS is enabled. 2015-04-17 16:30:13 -05:00
time.h Replaces clock_gettime() with ast_tsnow() 2015-08-07 19:35:13 -05:00
timing.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
transcap.h Doxygen updates, formatting. 2007-12-11 22:20:22 +00:00
translate.h Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
udptl.h udptl: Dead code elimination. ast_udptl_bridge was not used. 2013-12-19 17:13:53 +00:00
ulaw.h Doxygen updates, formatting. 2007-12-11 22:20:22 +00:00
unaligned.h Merged revisions 282543 via svnmerge from 2010-08-17 19:34:52 +00:00
uri.h uri: Quiet warning about type qualifiers ignored on function return type 2014-08-21 14:42:12 +00:00
utils.h Fix/Update clang-RAII macro implementation 2015-04-22 06:26:07 -05:00
uuid.h Add uuid wrapper API call ast_uuid_generate_str(). 2013-03-28 23:59:20 +00:00
vector.h ARI: Channels added to Stasis application during WebSocket creation ... 2015-07-31 11:28:10 -05:00
version.h Remove "asterisk/version.h" in favor of "asterisk/ast_version.h". 2012-01-25 21:31:28 +00:00
xml.h Add CLI configuration documentation 2013-02-15 13:38:12 +00:00
xmldoc.h AMI: Allow for command response documentation 2014-07-24 13:00:59 +00:00
xmpp.h ARI: Fix endpoint/channel subscription issues; allow for subscriptions to tech 2014-07-22 16:20:58 +00:00