[sr-dev] git:master: modules_k/ratelimit Using ser' s cfg framework for modifying module parameters at runtime( reply_code and reply_reason).
Marius Zbihlei
marius.zbihlei at 1and1.ro
Fri Jan 22 11:29:20 CET 2010
Module: sip-router
Branch: master
Commit: 81ee9cdfdd2d276f9b90490deb799b74ffff2038
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=81ee9cdfdd2d276f9b90490deb799b74ffff2038
Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date: Fri Jan 22 12:23:33 2010 +0200
modules_k/ratelimit Using ser's cfg framework for modifying module parameters at runtime(reply_code and reply_reason).
The patch allow reply_code and reply_reason to be modified using sercmd (modules/ctl/ctl.so and
modules/cfg_rpc/cfg_rpc.so must be loaded).Check module documentation for example.
Also it is interesting if we can modify at runtime other parameters of the module, like queue and pipe
---
modules_k/ratelimit/README | 52 ++++++++++++++++----------
modules_k/ratelimit/config.c | 52 +++++++++++++++++++++++++++
modules_k/ratelimit/config.h | 41 +++++++++++++++++++++
modules_k/ratelimit/doc/ratelimit_admin.xml | 24 ++++++++++++-
modules_k/ratelimit/ratelimit.c | 35 +++++++++++++-----
5 files changed, 173 insertions(+), 31 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=81ee9cdfdd2d276f9b90490deb799b74ffff2038
More information about the sr-dev
mailing list