Juha Heinanen writes:
> OK, I got it. Now priorities choose from equally long prefixes instead
> of all matching prefixes. I'll take a look at the code to check if the
> latter could be easily added as an option.
looks like the change would be very easy. only comp_matched function
would need t
Henry Fernandes writes:
> But we didn¹t want to add hundreds of thousands or millions of extra rules
> just to deal with this problem. We didn¹t consider that a good
> workaround.
OK, I got it. Now priorities choose from equally long prefixes instead
of all matching prefixes. I'll take a look
You¹re right. The problem will be solved if you add that rule.
But we didn¹t want to add hundreds of thousands or millions of extra rules
just to deal with this problem. We didn¹t consider that a good workaround.
In the end, we used sqlops to do our own LCR matching/routing.
-H
On 2015-06-15,
Henry Fernandes writes:
> Let’s say you have the following info in your LCR.
>
> Prefix, Carrier/Route, Rate
> 1306, A, 1.5
> 1306343, A, 1.7
> 1306, B, 1.4
>
> If you have phone number 1306343, the LCR module matches it to the
> longest prefix (1306343) and routes the call to Carrier A. Ho
The problem is that the LCR module matches to the longest prefix rather
than longest prefix per route/carrier. Take a look at the example below.
Let’s say you have the following info in your LCR.
Prefix, Carrier/Route, Rate
1306, A, 1.5
1306343, A, 1.7
1306, B, 1.4
If you have phone number 1306
Henry Fernandes writes:
> We eventually decided to stop using the LCR module because it doesn¹t
> implement LCR in the way that most people think of LCR. It doesn¹t obtain
> the most specific prefix match for a called number.
Could you give more details, since longest prefix match is the most
im
In the past, we used the LCR module with hundreds of thousands (perhaps
millions) of entries in the LCR tables. The only drawback was that it
took a long time to start up Kamailio (maybe 30 seconds), however it was
fast once it was running.
We eventually decided to stop using the LCR module becau