summaryrefslogtreecommitdiff
path: root/main/devicestate.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/devicestate.c')
-rw-r--r--main/devicestate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/devicestate.c b/main/devicestate.c
index 17178faf2..564aecfc9 100644
--- a/main/devicestate.c
+++ b/main/devicestate.c
@@ -818,7 +818,7 @@ int ast_enable_distributed_devstate(void)
}
devstate_collector.event_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE_CHANGE,
- devstate_change_collector_cb, NULL, AST_EVENT_IE_END);
+ devstate_change_collector_cb, "devicestate_engine_enable_distributed", NULL, AST_EVENT_IE_END);
if (!devstate_collector.event_sub) {
ast_log(LOG_ERROR, "Failed to create subscription for the device state change collector\n");