diff options
Diffstat (limited to 'res/res_stasis_device_state.c')
-rw-r--r-- | res/res_stasis_device_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_stasis_device_state.c b/res/res_stasis_device_state.c index 40219c007..8a1c23049 100644 --- a/res/res_stasis_device_state.c +++ b/res/res_stasis_device_state.c @@ -330,7 +330,7 @@ static int subscribe_device_state(struct stasis_app *app, void *obj) return 0; } - if (!(sub->sub = stasis_subscribe( + if (!(sub->sub = stasis_subscribe_pool( ast_device_state_topic(sub->device_name), device_state_cb, sub))) { ast_log(LOG_ERROR, "Unable to subscribe to device %s\n", |