Hello everyone…
I have the billing set to 1/1 (per second) and the rate for the route is 0.002. It looks like A2Billing is not billing any calls that are under 30 seconds…
Logs from asterisk:
a2billing.php|8: file:Class.RateEngine.php - line:848 - [CC_asterisk_stop QUERY = INSERT INTO cc_call (uniqueid,sessionid,username,nasipaddress,starttime,sessiontime, calledstation, terminatecause, stoptime, calledrate, sessionbill, calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buyrate, buycost, id_card_package_offer) VALUES (‘1194905278.490’, ‘SIP/204.1.197.27-093143b0’, ‘0949199085’, ‘’, CURRENT_TIMESTAMP - INTERVAL 6 SECOND , ‘6’, ‘14167447877’, ‘ANSWER’, now(), ‘0.002’, ‘+0.0002’, ‘’, ‘’, ‘Toronto’, ‘2’, ‘9’, ‘9601’, ‘12’, ‘16477236078’, ‘0’, ‘0’, ‘0’, ‘0’)]
The CDR from a2billing:
2007-11-12 17:08:15 16477236078 14167447877 Toronto 00:06 0949199085 IW002 ANSWER STANDARD 0.000 USD 0.000 USD 100.00% n/a
As you can see… since the call is only 6 seconds… A2Billing is not billing for it however asterisk seems fine… whats the issue here?