From: Anthony Minessale Date: Thu, 23 Feb 2012 00:39:16 +0000 (-0600) Subject: FS-3794 zig zag mismatch X-Git-Tag: v1.2-rc1~19^2^2~68^2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbba4a2eab0847f8be23ec0822cc744945d07bf2;p=thirdparty%2Ffreeswitch.git FS-3794 zig zag mismatch --- 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");