diff options
author | Matt Jordan <mjordan@digium.com> | 2015-09-03 21:19:21 -0500 |
---|---|---|
committer | Matt Jordan <mjordan@digium.com> | 2015-09-21 08:21:58 -0500 |
commit | 5206aa9d300475e264f929b497115cbe83210633 (patch) | |
tree | 876ca762d3081b65400e786bedf3c1f0386f9907 /CHANGES | |
parent | 5541c6de6e74f1c08e9b3e4467c50bab83c85c88 (diff) |
ARI: Add events for Contact and Peer Status changes
This patch adds support for receiving events regarding Peer status changes
and Contact status changes. This is particularly useful in scenarios where
we are subscribed to all endpoints and channels, where we often want to know
more about the state of channel technology specific items than a single
endpoint's state.
ASTERISK-24870
Change-Id: I6137459cdc25ce27efc134ad58abf065653da4e9
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -189,6 +189,26 @@ Dialplan Functions return the SIP Call-ID associated with the INVITE request that established the PJSIP channel. +ARI +------------------ + * Two new endpoint related events are now available: PeerStatusChange and + ContactStatusChange. In particular, these events are useful when subscribing + to all event sources, as they provide additional endpoint related + information beyond the addition/removal of channels from an endpoint. + + * Added the ability to subscribe to all ARI events in Asterisk, regardless + of whether the application 'controls' the resource. This is useful for + scenarios where an ARI application merely wants to observe the system, + as opposed to control it. There are two ways to accomplish this: + (1) Via the WebSocket connection URI. A new query paramter, 'subscribeAll', + has been added that, when present and True, will subscribe all + specified applications to all ARI event sources in Asterisk. + (2) Via the applications resource. An ARI client can, at any time, subscribe + to all resources in an event source merely by not providing an explicit + resource. For example, subscribing to an event source of 'channels:' + as opposed to 'channels:12345' will subscribe the application to all + channels. + ------------------------------------------------------------------------------ --- Functionality changes from Asterisk 13.4.0 to Asterisk 13.5.0 ------------ ------------------------------------------------------------------------------ |