[Spce-user] Order that costs are applied to CDR
Bob Fryer
bob at netintegrity.com.au
Wed Jul 3 07:09:33 EDT 2013
Andreas,
Thank you for this, I remember reading it on the lists, but had
completely forgotten it.
I appreciate you taking the time to steer me in the right direction.
Regards
Bob
-----Original Message-----
From: Andreas Granig [mailto:agranig at sipwise.com]
Sent: Wednesday, 3 July 2013 8:58 PM
To: Bob Fryer
Cc: spce-user at lists.sipwise.com; jbonilla at sipwise.com
Subject: Re: [Spce-user] Order that costs are applied to CDR
Hi,
On 07/03/2013 09:25 AM, Bob Fryer wrote:
> On 07/03/2013 07:00 AM, Bob Fryer wrote:
>
> > Argentina 001154. $0.55
>
> > Argentina Mobile 0011541151. $1.00
As a side note and to get the expected results, you have to enter the
patterns in E164 format and as regular expression in your fee view, so
the correct destination patterns in your case would be:
^1154
and
^11541151
which means it will match everything starting with 1154 or 11541151,
respectively. If you leave out the "^", then it will match any number
which contains 1154 and 11541151.
At least, that's the new behavior in 2.8, where we removed any implicit
prefix matching for clarity reasons, as it confused people.
Andreas
More information about the Spce-user
mailing list