From 81f9303d427c6bc021cc947785e4740180d3bb37 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 19 Feb 2014 08:42:19 -0600 Subject: [PATCH] FS-6219 --resolve --- src/mod/applications/mod_cidlookup/mod_cidlookup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_cidlookup/mod_cidlookup.c b/src/mod/applications/mod_cidlookup/mod_cidlookup.c index 60a7b35293..34d2104d5f 100755 --- a/src/mod/applications/mod_cidlookup/mod_cidlookup.c +++ b/src/mod/applications/mod_cidlookup/mod_cidlookup.c @@ -409,8 +409,8 @@ static long do_lookup_url(switch_memory_pool_t *pool, switch_event_t *event, cha if (http_data.stream.data && !zstr((char *) http_data.stream.data) && strcmp(" ", http_data.stream.data)) { - /* don't return UNKNOWN */ - if (strcmp("UNKNOWN", http_data.stream.data) || strcmp("UNAVAILABLE", http_data.stream.data)) { + /* don't return UNKNOWN or UNAVAILABLE */ + if (strcasecmp("UNKNOWN", http_data.stream.data) && strcasecmp("UNAVAILABLE", http_data.stream.data)) { *response = switch_core_strdup(pool, http_data.stream.data); } }