Hi,
I am able to make outgoing calls using a2billing but the problem is sessiontime is always zero. As a result call duration is showing zero and balance is not deducting. Below is the sample verbose of a2billing. I am unable to track the bug.
The exact call duration is 128 seconds but this output showing sessiontime =0.
a2billing.php: 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) VALUES ('1164030376.13', 'Zap/1-1', '0376336370', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '9325320885', 'Invalid or unknown command', date_format(now(),'%Y%m%d%H%i%s'), '3.7', '-0', '', '', 'india', '1', '1', '127', '1', 'unknown', '0')
|