[Spce-user] No charges in calls history

Andrew Pogrebennyk apogrebennyk at sipwise.com
Wed Feb 8 09:26:22 EST 2012


Mario,

On 01/31/2012 05:42 PM, Mario Contreras wrote:
> However, I have a problem configuring billing. If I give to an account
> cash, when this account make a call, this cash decrements, but in cdr
> doesn't appear its charge. If the account has no cash, it doesn't
> happen. Why is this?

Well, this is some legacy stuff - we're trying to export costs which
haven't been covered by the balances, so these can be accounted for
externally. To be exact, if the account carries a cash  balance, the
call cost is subtracted from the balance and the call is reset to 0 (the
call has already been paid for, so the customer isn't  charged anything
for it). While we are thinking how to improve it you may edit
/usr/sbin/rate-o-mat, and comment out
$$r_cost = 0;
in lines 525 and 540. Then do /etc/init.d/ngcp-rate-o-mat restart.

HTH,
Andrew




More information about the Spce-user mailing list