Module: sip-router
Branch: master
Commit: b6ce51e2ab0179404ba22165ea375e76d56a6f7c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b6ce51e…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Tue Apr 3 13:15:35 2012 +0300
modules_k/domain: added support for domain attributes
- Added new function lookup_domain that in addition to checking if
domain is local, adds attributes of local domain into AVPs.
- Domain attributes are stored in new table domain_attrs.
- Removed support for db only mode and, as consequence, removed db_mode
module variable.
---
lib/srdb1/schema/domain.xml | 11 +-
lib/srdb1/schema/domain_attrs.xml | 79 ++++++
lib/srdb1/schema/kamailio-domain.xml | 1 +
modules_k/domain/README | 185 ++++++++++-----
modules_k/domain/doc/domain.xml | 2 +-
modules_k/domain/doc/domain_admin.xml | 154 +++++++++---
modules_k/domain/domain.c | 431 +++++++++++++++++++++++----------
modules_k/domain/domain.h | 7 +-
modules_k/domain/domain_mod.c | 351 +++++++++++++++------------
modules_k/domain/domain_mod.h | 25 ++-
modules_k/domain/hash.c | 220 +++++++++++++----
modules_k/domain/hash.h | 8 +-
modules_k/domain/mi.c | 40 ++--
13 files changed, 1061 insertions(+), 453 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=b6c…