Add the possibility to delete all the contexts registered by a certain registrar...
[asterisk/asterisk.git] / pbx / pbx_config.c
index 0b15e56..8443863 100755 (executable)
@@ -1641,7 +1641,7 @@ static int pbx_load_module(void)
                }
                ast_destroy(cfg);
        }
-       ast_merge_contexts_and_delete(&local_contexts);
+       ast_merge_contexts_and_delete(&local_contexts,registrar);
        return 0;
 }