[Spce-user] Order that costs are applied to CDR

Bob Fryer bob at netintegrity.com.au
Wed Jul 3 03:25:43 EDT 2013


First of all, my apologies to Jon, et all....it has been a long while
since I have used lists. I was concentrating on making sure that it was
a plain text post (as I realised my last post wasn't), that I forgot
about the reply issue. Point noted.

 

On that matter, I have made this post hopefully create its own thread,
so this does not hijack that thread entirely...

 

Thank you Andreas, that answers it perfectly. We are in the process of
understanding the product concepts, and if we come across a solution, we
are only too happy provide some input.

 

Thanks and sorry again.

 

Regards

Bob

 

-----Original Message-----
From: spce-user-bounces at lists.sipwise.com
[mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Andreas Granig
Sent: Wednesday, 3 July 2013 5:09 PM
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Order that costs are applied to CDR

 

Hi,

 

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.

 

Andreas

 

_______________________________________________

Spce-user mailing list

Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com> 

http://lists.sipwise.com/listinfo/spce-user
<http://lists.sipwise.com/listinfo/spce-user> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130703/77bd1691/attachment-0001.html>


More information about the Spce-user mailing list