[sr-dev] git:master: modules/lcr: major rewrite

Juha Heinanen jh at tutpro.com
Thu Jun 10 12:40:46 CEST 2010


Module: sip-router
Branch: master
Commit: 550db5cb1599619a285144cc14677b89eefcf33b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=550db5cb1599619a285144cc14677b89eefcf33b

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Thu Jun 10 13:05:05 2010 +0300

modules/lcr: major rewrite
- For easier management, information is now kept in three tables:
  lcr_rule, lcr_rule_target, and lcr_gw.
- For simplicity, gateway groups are not anymore supported.
- Added possibility to stop trying to match shorter prefixes, when a
  matching prefix is found.
- Stripping and tagging can be controlled by a flag.
- New database schema and upgrade script will be provided
  later today.

---

 modules/lcr/README            |  596 ++++++++++-------
 modules/lcr/doc/lcr_admin.xml |  423 ++++++++----
 modules/lcr/hash.c            |  168 ++++--
 modules/lcr/hash.h            |   30 +-
 modules/lcr/lcr_mod.c         | 1507 ++++++++++++++++++++++-------------------
 modules/lcr/lcr_mod.h         |   56 +-
 modules/lcr/lcr_rpc.c         |  235 ++++---
 modules/lcr/lcr_rpc.h         |   12 +-
 8 files changed, 1753 insertions(+), 1274 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=550db5cb1599619a285144cc14677b89eefcf33b



More information about the sr-dev mailing list