Only initialize manager_bridging during startup
[asterisk/asterisk.git] / main / manager.c
index c2f3520..b8e55de 100644 (file)
@@ -7739,10 +7739,9 @@ static int __init_manager(int reload, int by_external_config)
                        ast_log(AST_LOG_ERROR, "Failed to initialize manager MWI handling\n");
                        return -1;
                }
-       }
-
-       if (manager_bridging_init()) {
-               return -1;
+               if (manager_bridging_init()) {
+                       return -1;
+               }
        }
 
        if (!registered) {