aboutsummaryrefslogtreecommitdiffstats
path: root/main/pbx.c
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-08 23:07:09 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-08 23:07:09 +0000
commit7efd4c17d88bbe695b4ad9f3429390a38426d3ad (patch)
tree9b5ed36a3abc128e0a431516b0d24e6ffad4390a /main/pbx.c
parent8d6e8908f40f4d8b6a3e07a8071aa9235bfb8a7f (diff)
Fix a CEL related regression with hints updating by subscribing to AST_DEVICE_STATE instead of AST_DEVICE_STATE_CHANGED.
(closes issue #15440) Reported by: lmsteffan git-svn-id: http://svn.digium.com/svn/asterisk/trunk@205469 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index f733423fa..2a4ea234d 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -9596,7 +9596,7 @@ int load_pbx(void)
/* Register manager application */
ast_manager_register_xml("ShowDialPlan", EVENT_FLAG_CONFIG | EVENT_FLAG_REPORTING, manager_show_dialplan);
- if (!(device_state_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE_CHANGE, device_state_cb, "pbx Device State Change", NULL,
+ if (!(device_state_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE, device_state_cb, "pbx Device State Change", NULL,
AST_EVENT_IE_END))) {
return -1;
}