FS-3807 --resolve

Remove Reregister optimization for user who doesn't allow multiple registration in sip
上级 5a360fe9
...@@ -1478,7 +1478,7 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand ...@@ -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 =
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论