2011/6/6 Henning Westerholt <henning.westerholt(a)1und1.de>de>:
if you just want to have the longest match on a prefix
tree, this is what
carrierroute was build for.
In case $rU = "999999" I need to get
"null", in case $rU =
"1000022323" I need to get "1".
Its works a bit differently, but this is similar to the logic that we use.
You've a bunch of specific prefixes with special routing, normal country
prefixes that you want to route differently and then a default routing for the
rest
Thanks Henning. I do know that CR and LCR operate with longest prefix
matching, but I don't want this feature now for routing purposes, but
for blacklist purposes. So using dialplan module with higher
priorities in longer prefixes would be valid in my case.
Thanks a lot.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>