Module: sip-router Branch: master Commit: 4480f807dcbc75c84784ad8f4ffb3cf5b19912c3 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4480f807...
Author: Marius Zbihlei marius.zbihlei@1and1.ro Committer: Marius Zbihlei marius.zbihlei@1and1.ro Date: Tue Apr 13 11:48:50 2010 +0300
modules/registrar Added default_expires_range parameter, which specifies randomisation of the Expire parameter returned to the UA(in case the UAC doesn't specify an own expiry value) in a certain interval.
This new parameters adds the posibility to randomize the Expiry parameter in a certain interval, (+- default_expires_range%*default_expires). This is helpful to avoid syncronization of re-registration of the UACs after an outage.
Parameter is configurable via ser cfg framework.
Old behaviour (fixed default_registrar value), is enabled by default, by leaving the parameter 0.
---
modules_k/registrar/README | 271 +++++++++++++++------------ modules_k/registrar/config.c | 10 +- modules_k/registrar/config.h | 3 +- modules_k/registrar/doc/registrar_admin.xml | 28 +++ modules_k/registrar/reg_mod.c | 46 +++-- modules_k/registrar/sip_msg.c | 26 ++- 6 files changed, 228 insertions(+), 156 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=4480...