[OpenSIPS-Devel] [opensips] uac_registrant and external "expires" parameter (in 200OK) (#217)

Nick Altmann notifications at github.com
Mon May 19 15:57:05 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140519/ca2f76e5/attachment-0001.htm>


More information about the Devel mailing list