]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_stasis_device_state: Allow for subscribing to 'all' device state 94/1194/4
authorMatt Jordan <mjordan@digium.com>
Fri, 4 Sep 2015 17:24:57 +0000 (12:24 -0500)
committerMatt Jordan <mjordan@digium.com>
Tue, 22 Sep 2015 18:54:51 +0000 (13:54 -0500)
commit3502c0431db52d00eb16dc1cc2462be7a509ba5e
tree4bf375e0748c6b3cd2fc66385f54b32832aa1cc8
parent4c9f613309d66ae6a8e5454cd53276459bcd2674
res/res_stasis_device_state: Allow for subscribing to 'all' device state

This patch adds support for subscribing to all device state changes. This is
done either by subscribing to an empty device, e.g., 'eventSource=deviceState:',
or by the WebSocket connection specifying that it wants all state in the
system.

ASTERISK-24870

Change-Id: I9cfeca1c9e2231bd7ea73e45919111d44d2eda32
res/res_stasis_device_state.c