mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
FS-3807 --resolve
Remove Reregister optimization for user who doesn't allow multiple registration in sip
This commit is contained in:
parent
5a360fe92f
commit
7d4c61a318
@ -1478,7 +1478,7 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand
|
|||||||
username = switch_event_get_header(auth_params, "sip_auth_username");
|
username = switch_event_get_header(auth_params, "sip_auth_username");
|
||||||
realm = switch_event_get_header(auth_params, "sip_auth_realm");
|
realm = switch_event_get_header(auth_params, "sip_auth_realm");
|
||||||
}
|
}
|
||||||
if (auth_res != AUTH_RENEWED) {
|
if (auth_res != AUTH_RENEWED || !multi_reg) {
|
||||||
if (multi_reg) {
|
if (multi_reg) {
|
||||||
if (multi_reg_contact) {
|
if (multi_reg_contact) {
|
||||||
sql =
|
sql =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user