Refactor CEL channel events on top of Stasis-Core
[asterisk/asterisk.git] / main / asterisk.c
index 5782169..397b286 100644 (file)
@@ -4323,11 +4323,6 @@ int main(int argc, char *argv[])
                exit(1);
        }
 
-       if (ast_cel_engine_init()) {
-               printf("%s", term_quit());
-               exit(1);
-       }
-
        if (ast_device_state_engine_init()) {
                printf("%s", term_quit());
                exit(1);
@@ -4371,6 +4366,11 @@ int main(int argc, char *argv[])
                exit(1);
        }
 
+       if (ast_cel_engine_init()) {
+               printf("%s", term_quit());
+               exit(1);
+       }
+
        if (ast_local_init()) {
                printf("%s", term_quit());
                exit(1);