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

Andreas Granig agranig at sipwise.com
Wed Jul 3 06:58:19 EDT 2013


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