summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/cel.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/cel.c b/main/cel.c
index b71afde22..209d1451a 100644
--- a/main/cel.c
+++ b/main/cel.c
@@ -1145,9 +1145,14 @@ static void cel_channel_app_change(
}
}
+/* \brief Handlers for channel snapshot changes.
+ * \note Order of the handlers matters. Application changes must come before state
+ * changes to ensure that hangup notifications occur after application changes.
+ * Linkedid checking should always come last.
+ */
cel_channel_snapshot_monitor cel_channel_monitors[] = {
- cel_channel_state_change,
cel_channel_app_change,
+ cel_channel_state_change,
cel_channel_linkedid_change,
};