Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (15856 => 15857)
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-12-09 14:54:10 UTC (rev 15856)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-12-09 15:52:35 UTC (rev 15857)
@@ -1921,6 +1921,7 @@
sofia_set_pflag(profile, PFLAG_MESSAGE_QUERY_ON_FIRST_REGISTER);
} else {
sofia_clear_pflag(profile, PFLAG_MESSAGE_QUERY_ON_REGISTER);
+ sofia_clear_pflag(profile, PFLAG_MESSAGE_QUERY_ON_FIRST_REGISTER);
}
} else if (!strcasecmp(var, "auto-rtp-bugs")) {
parse_rtp_bugs(profile, val);
@@ -2566,6 +2567,7 @@
sofia_set_pflag(profile, PFLAG_MESSAGE_QUERY_ON_FIRST_REGISTER);
} else {
sofia_clear_pflag(profile, PFLAG_MESSAGE_QUERY_ON_REGISTER);
+ sofia_clear_pflag(profile, PFLAG_MESSAGE_QUERY_ON_FIRST_REGISTER);
}
} else if (!strcasecmp(var, "inbound-use-callid-as-uuid")) {
if (switch_true(val)) {