diff -Naur asterisk.orig/apps/app_directory.c asterisk/apps/app_directory.c --- asterisk.orig/apps/app_directory.c 2005-04-21 08:02:43.000000000 +0200 +++ asterisk/apps/app_directory.c 2005-05-06 12:33:18.534736000 +0200 @@ -329,7 +329,7 @@ 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, ",");