I've found the error. It's not on your side. We changed contact in local route,
then contact->uri != rec->contact_uri and module didn't use expires from
contact. We will try to avoid contact changing in local route. But I've found
logical problem in code. You divide timer_interval on reg_hsize when
initializing timer, but you don't divide timer_interval when you calculate
expiration time. So, with hash_size=4 (16) and timer_interval=80, timer starts
every 5 seconds, but for expire=120 we will update every 60 seconds. Greater
than timer_interval, the less update time.
Please, look into my patch, fixing this.
https://github.com/OpenSIPS/opensips/pull/234
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/217#issuecomment-43507035
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel