daniel,
after playing with mtree module, it worked for me when i used mtrees
table instead of mtree table. in schema dir, there is schema only for
mtree table. clearly schema for mtrees table should be added, but what
to do with existing mtree table schema? is it ok to remove it?
-- juha
Module: sip-router
Branch: master
Commit: bd8b01b9e236f9b3dbf20a4c3a153057dc8daa52
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bd8b01b…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Thu Aug 18 20:04:32 2011 +0300
modules/mtree: added new mode to mt_match()
- Added mode=2 to mt_match() call that instead of setting value of
longest matching prefix to a pv, sets values of all matching prefixes to
an avp so that value of longest matching prefix is in avp index 0.
---
modules/mtree/README | 67 ++++++++++++++++++++++++++++---------
modules/mtree/doc/mtree.xml | 14 ++++++++
modules/mtree/doc/mtree_admin.xml | 25 ++++++++++++--
modules/mtree/mtree.c | 53 ++++++++++++++++++++++++++++-
modules/mtree/mtree_mod.c | 17 +++++++++-
5 files changed, 154 insertions(+), 22 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=bd8…