forked from Mirrors/freeswitch
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
This commit is contained in:
parent
5a97e8c265
commit
b805ac1c20
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user