From dbba4a2eab0847f8be23ec0822cc744945d07bf2 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 22 Feb 2012 18:39:16 -0600 Subject: [PATCH] FS-3794 zig zag mismatch --- 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 e469eaca22..aad3caad5f 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -2633,7 +2633,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * if (in) { open = "open"; - if (!strcasecmp(astate, "terminated") && switch_false(resub)) { + if (switch_false(resub)) { int term; const char *direction = switch_event_get_header(helper->event, "Caller-Direction");