[Spce-user] Order that costs are applied to CDR
agranig at sipwise.com
Wed Jul 3 03:09:16 EDT 2013
On 07/03/2013 07:00 AM, Bob Fryer wrote:
> Argentina 001154. $0.55
> Argentina Mobile 0011541151. $1.00
It tries to find the longest match in terms of length of the pattern.
This should work perfectly fine with simple cases like the one above, it
can only lead to surprises for more complex patterns, like "^001154" vs
"^00[1-9][1-9]", where the first one is matching on a longer string, but
the second would be used because the pattern itself is longer. We don't
have a solution for that one yet, any input is highly appreciated.
More information about the Spce-user