diff --git a/main/pbx.c b/main/pbx.c index c6e4c1bcea..9b349da15c 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -8025,7 +8025,7 @@ static int ast_add_extension2_lockopt(struct ast_context *con, else if (e->matchcid && !tmp->matchcid) res = -1; else - res = strcasecmp(e->cidmatch, tmp->cidmatch); + res = ext_cmp(e->cidmatch, tmp->cidmatch); } if (res >= 0) break;