diff --git a/apps/app_directory.c b/apps/app_directory.c index 5a143c8830..b73e539797 100755 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -329,7 +329,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *cfg, char * while(v) { /* Find a candidate extension */ start = strdup(v->value); - if (start && !strcasestr(start, "hidefromdir=yes")) { + if (start && !ast_strcasestr(start, "hidefromdir=yes")) { stringp=start; strsep(&stringp, ","); pos = strsep(&stringp, ",");