FS-3807 --resolve

Remove Reregister optimization for user who doesn't allow multiple registration in sip
This commit is contained in:
Marc Olivier Chouinard 2012-01-17 16:12:56 -05:00
parent 5a360fe92f
commit 7d4c61a318
1 changed files with 1 additions and 1 deletions

View File

@ -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");
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_contact) {
sql =