Module: sip-router Branch: master Commit: b6ce51e2ab0179404ba22165ea375e76d56a6f7c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b6ce51e2...
Author: Juha Heinanen jh@tutpro.com Committer: Juha Heinanen jh@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=b6ce...
3 apr 2012 kl. 12:33 skrev admin@sip-router.org:
- 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.
+2!
Cool. Thank you, Juha!
/O