[Spce-user] rate-o-mat rates calls with 0 cost even though a rate is available
4voice Service
service at 4voice.nl
Tue Nov 21 13:48:30 EST 2017
Hi all,
I have an issue with rate-o-mat rating most calls with 0 cost even tough
a billing fee is available:
situation:
subscriber X has a billing profile assigned
the billing profile contains a record
source: .
destination: ^43.+$
fee: 0.02
When the subscriber calls a record is added to the cdr table.
But after rate-o-matic rates the call it says rating status "rated", but
the cost is still 0
+--------------+-------------------------+----------+----------------------+---------------+--------------------------------+---------------------------+-------------------------------------+
| source_user | destination_user_dialed | duration |
source_customer_cost | rating_status | source_customer_billing_fee_id |
destination_customer_cost | destination_customer_billing_fee_id |
+--------------+-------------------------+----------+----------------------+---------------+--------------------------------+---------------------------+-------------------------------------+
| 4367xxxxxxx | 431xxxxxxxxxxx | 129.825 | 0.000000 |
ok | NULL |
0.000000 | NULL |
+--------------+-------------------------+----------+----------------------+---------------+--------------------------------+---------------------------+-------------------------------------+
1 row in set (0.00 sec)
Note that the billing_fee_ids also remain 0.
I've tried creating and assigning a new billing profile with just 1
catchall record. But after setting the status to 'unrated' it just gets
rated again with 0 cost.
There are no errors in cdr.log and rate-o-mat.log (the latter shows the
cdr has been rated, but no additional errors/info)
How do I troubleshoot/fix?
Regards,
Pieter
More information about the Spce-user
mailing list