From 569dd9c5407c004d1d174f78818251eb6dfa674b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 24 Jul 2013 11:23:38 -0500 Subject: [PATCH] FS-5634 --resolve this patch should fix it but comment it out instead in the old version to get the same effect --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 35c325fefa..83e4ae5444 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -4272,7 +4272,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); }