]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5634 --resolve this patch should fix it but comment it out instead in the old...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 24 Jul 2013 16:23:38 +0000 (11:23 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 24 Jul 2013 16:23:38 +0000 (11:23 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 4c8d29917d2ba65342a596d4bab3b69266f36997..06f340c159117b7d48acc5b720cb7d45d67be38d 100644 (file)
@@ -4221,7 +4221,7 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
                                                } else if (!strcasecmp(val, "contact") || switch_true(val)) {
                                                        sofia_set_pflag(profile, PFLAG_MULTIREG);
                                                        sofia_set_pflag(profile, PFLAG_MULTIREG_CONTACT);
-                                               } else if (switch_true(val)) {
+                                               } else if (!switch_true(val)) {
                                                        sofia_clear_pflag(profile, PFLAG_MULTIREG);
                                                        //sofia_clear_pflag(profile, PFLAG_MULTIREG_CONTACT);
                                                }