@vingarzan commented on this pull request.


>               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 or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3989#pullrequestreview-2342853685
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3989/review/2342853...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to