Module: sip-router
Branch: master
Commit: 71348e9c9714066f47b01a6f5061a9651e8c051c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=71348e9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Mar 20 21:25:21 2012 +0100
registrar(k): new parameter xavp_cfg
- defines the name of an XAVP container to hold per-REGISTER parameters
- for now, max_contacts can be set for each registration, overwriting
the module parameter value. For example:
modparam("registrar", "xavp_cfg", "reg")
...
request_route {
...
if(is_method("REGISTER"))
$xavp(reg=>max_contacts) = 2;
...
}
---
modules_k/registrar/README | 51 +++++++++++++++++-------
modules_k/registrar/doc/registrar_admin.xml | 35 ++++++++++++++++
modules_k/registrar/reg_mod.c | 6 +++
modules_k/registrar/reg_mod.h | 2 +
modules_k/registrar/save.c | 57 +++++++++++++++++++++++----
5 files changed, 129 insertions(+), 22 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=713…