FS-6219 --resolve

This commit is contained in:
Brian West 2014-02-19 08:42:19 -06:00
parent cf1329df63
commit 81f9303d42

View File

@ -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);
}
}