From b805ac1c208ad50f485953c08d6f5befd6285d15 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 9 Dec 2009 15:52:35 +0000 Subject: [PATCH] mod_sofia: fix send-message-query-on-register set to 'false' (MODSOFIA-42) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15857 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 7f9a275848..4763875d30 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1921,6 +1921,7 @@ switch_status_t reconfig_sofia(sofia_profile_t *profile) 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 @@ switch_status_t config_sofia(int reload, char *profile_name) 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)) {