@vingarzan commented on this pull request.


In src/modules/ims_registrar_scscf/save.c:

>  		r = default_registrar_cfg.max_expires;
 		goto end;
 	}
-	if(sos_reg && r > default_registrar_cfg.em_max_expires) {
-		r = default_registrar_cfg.em_min_expires;
+	if(sos_reg && r > default_registrar_cfg.em_max_expires
+			&& default_registrar_cfg.em_max_expires != 0) {
+		r = default_registrar_cfg.em_max_expires;

This was the main issue - typo em_min_expires instead of em_max_expires


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3989/review/2342853685@github.com>