[sr-dev] multiple values in mtree modes

Juha Heinanen jh at tutpro.com
Thu Aug 25 20:55:31 CEST 2011


daniel,

if i have understood correctly, current mtree implementation does not
allow more than one value per node (prefix) in the three.  it some cases
it might make sense to have more that one value.

for example, if an mtree is used to map telephone numbers to values, one
could have:

prefix  value

0046    sweden
0046    nordic country
0046	eu member
0046    european country
00375   belarus
00375   european country

and when a telephone number, such as 004692345678 or 0037592345678 is
matched, all values that the prefix has, would be assigned to an avp.

is is ok for you as author of mtree module, if i try to extend it so
that a prefix could be associated with more than one value?

-- juha



More information about the sr-dev mailing list