Javier Gallart writes:
-mt_match() will match the longest prefix in the tree, in your case -00358
in that case, it might make sense to implement a version of mt_match() that loads ALL matching tree branch values to an avp. in case of 00 and 00358 prefixes in the three, string 0035892345670 would result into an avp that holds values associated with both 00 and 00358.
-- juha