]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3794
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 9 Feb 2012 18:03:11 +0000 (12:03 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 9 Feb 2012 18:03:11 +0000 (12:03 -0600)
src/mod/endpoints/mod_sofia/sofia_presence.c

index 683903fc66a98111df07624696ffd6d00c9b3c17..ad11706022a087f7f6e90bcaefa7f37c6b63bd81 100644 (file)
@@ -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";
                                }