forked from Mirrors/freeswitch
FS-6219 --resolve
This commit is contained in:
parent
cf1329df63
commit
81f9303d42
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user