From d5f47a87cecc3f8f7e9bb748497121390755df81 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 9 Feb 2012 12:03:11 -0600 Subject: [PATCH] FS-3794 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 683903fc66..ad11706022 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -2503,8 +2503,8 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * if (!strcasecmp(astate, "hangup")) { astate = "terminated"; } - - if (!sofia_test_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY)) { + + if (sofia_test_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY)) { if (!strcasecmp(astate, "ringing") || !strcasecmp(astate, "early")) { astate = "confirmed"; }