Module: sip-router Branch: master Commit: c47d39153c52316d02edebc13669d5f55f5a418e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c47d3915...
Author: Richard Fuchs rfuchs@sipwise.com Committer: Andreas Granig agranig@sipwise.com Date: Mon Apr 23 18:08:39 2012 +0200
modules/lcr: Add support for R-URI matching.
- An additional request_uri column has been introduced. If other than NULL, it also needs to match beside prefix and from_uri in order for the rule to be selected.
---
lib/srdb1/schema/lcr_rule.xml | 9 + lib/srdb2/schema/lcr.xml | 7 + modules/lcr/README | 309 +++++++++++++++------------- modules/lcr/doc/lcr_admin.xml | 36 +++- modules/lcr/hash.c | 17 ++- modules/lcr/hash.h | 4 +- modules/lcr/lcr_mod.c | 138 +++++++++---- modules/lcr/lcr_mod.h | 3 + modules/lcr/lcr_rpc.c | 7 +- utils/kamctl/db_berkeley/kamailio/lcr_rule | 4 +- utils/kamctl/db_berkeley/kamailio/version | 2 +- utils/kamctl/db_sqlite/lcr-create.sql | 5 +- utils/kamctl/dbtext/kamailio/lcr_rule | 2 +- utils/kamctl/dbtext/kamailio/version | 2 +- utils/kamctl/mysql/lcr-create.sql | 5 +- utils/kamctl/oracle/lcr-create.sql | 5 +- utils/kamctl/postgres/lcr-create.sql | 5 +- 17 files changed, 345 insertions(+), 215 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=c47d...