diff options
-rw-r--r-- | pbx/pbx_dundi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index 4e35951f8..020e33050 100644 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -3644,7 +3644,7 @@ static void dundi_precache_full(void) AST_LIST_TRAVERSE(&mappings, cur, list) { ast_log(LOG_NOTICE, "Should precache context '%s'\n", cur->dcontext); - ast_lock_contexts(); + ast_rdlock_contexts(); con = ast_walk_contexts(NULL); while (con) { if (!strcasecmp(cur->lcontext, ast_get_context_name(con))) { |