[SR-Users] Using =~ to get the group identifier with longest match

Henning Westerholt henning.westerholt at 1und1.de
Mon Jun 6 13:28:17 CEST 2011


On Monday 06 June 2011, Iñaki Baz Castillo wrote:
> > 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.

Hi Iñaki,

ah, for blacklisting purposes, i see. Then dialplan should be indeed a good 
choice then. We use the userblacklist module for this, it works with the same 
longest prefix match logic as cr.

Best regards,

Henning



More information about the sr-users mailing list