From c46bc9d565f92fe199cf10fd31a48ee74b9c8ee7 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 13 Feb 2014 22:11:34 +0500 Subject: [PATCH] FS-6223 --resolve --- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 30e114c6c2..f88a6f0a99 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -3968,7 +3968,7 @@ void sofia_presence_handle_sip_i_subscribe(int status, switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Sending NOTIFY with Expires [0] and State [%s]\n", sstr); } - if (zstr(full_agent) || !switch_stristr("zoiper", full_agent)) { + if (zstr(full_agent) || (*full_agent != 'z' && *full_agent != 'Z')) { /* supress endless loop bug with zoiper */ nua_notify(nh, SIPTAG_EXPIRES_STR("0"),