aboutsummaryrefslogtreecommitdiffstats
path: root/utils/conf2ael.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/conf2ael.c')
-rw-r--r--utils/conf2ael.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/conf2ael.c b/utils/conf2ael.c
index 312ed700f..02e78297e 100644
--- a/utils/conf2ael.c
+++ b/utils/conf2ael.c
@@ -630,6 +630,13 @@ struct ast_context *ast_context_create(struct ast_context **extcontexts, const c
return localized_context_create(extcontexts, name, registrar);
}
+struct ast_context *ast_context_find_or_create(struct ast_context **extcontexts, const char *name, const char *registrar)
+{
+ printf("find/Creating context %s, registrar=%s\n", name, registrar);
+
+ return localized_context_create(extcontexts, name, registrar);
+}
+
void ast_cli_register_multiple(void);
void ast_cli_register_multiple(void)