From: Anthony Minessale Date: Thu, 9 Feb 2012 18:03:11 +0000 (-0600) Subject: FS-3794 X-Git-Tag: v1.2-rc1~19^2^2~68^2~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5f47a87cecc3f8f7e9bb748497121390755df81;p=thirdparty%2Ffreeswitch.git FS-3794 --- 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"; }