diff --git a/main/pbx.c b/main/pbx.c index 82ce13fc3c..36c745e454 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -7165,7 +7165,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;