diff --git a/etc/opensips.cfg b/etc/opensips.cfg index 3a782e4bfba..1f44c41b536 100644 --- a/etc/opensips.cfg +++ b/etc/opensips.cfg @@ -193,9 +193,9 @@ route{ } if (is_method("REGISTER")) { - + # store the registration and generate a SIP reply if (!save("location")) - sl_reply_error(); + xlog("failed to register AoR $tu\n"); exit; } diff --git a/menuconfig/configs/opensips_residential.m4 b/menuconfig/configs/opensips_residential.m4 index ea96ffa808f..fc24c8681aa 100644 --- a/menuconfig/configs/opensips_residential.m4 +++ b/menuconfig/configs/opensips_residential.m4 @@ -389,8 +389,9 @@ ifelse(ENABLE_TCP, `yes', ifelse(ENABLE_TLS, `yes', ` setbflag("SIP_PING_FLAG"); }',`')dnl + # store the registration and generate a SIP reply if (!save("location")) - sl_reply_error(); + xlog("failed to register AoR $tu\n"); exit; }