I use asterisk-1.4.11 and asterisk2billing-1.3.0 running on fedora 7.
it is work well.but sometime to find that making some call not be update to billing no cdr. display like this. no run insert cdr and update system.
lost billing display
Code:
-- SIP/sip1-08a56e40 is making progress passing it to SIP/26154-b7900808
-- SIP/sip1-08a56e40 answered SIP/26154-b7900808
== Spawn extension (a2billing, 013554879752, 3) exited non-zero on 'SIP/26154-b7900808'
normal billing displayCode:
-- SIP/sip1-08a5cb20 answered SIP/26154-b7900808
a2billing.php: file:Class.RateEngine.php - line:1086 - -> dialstatus : ANSWER, answered time is 6
a2billing.php:
a2billing.php: file:Class.RateEngine.php - line:1090 - [USEDRATECARD=0]
a2billing.php: file:Class.RateEngine.php - line:777 - ft2c_package_offer : 0 ; ; 0
a2billing.php: 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 ('1190820698.34', 'SIP/26154-b7900808', '26154', '', CURRENT_TIMESTAMP - INTERVAL 6 SECOND , '6', '013554879752', 'ANSWER', now(), '0.08', '+0.08', '', '', '86', '2', '2', '4665', '3', '26154', '0', '0.06', '0.006', '0')]
a2billing.php: file:Class.RateEngine.php - line:851 - [CC_asterisk_stop 1.1: SQL: DONE : result=1]
a2billing.php: file:Class.RateEngine.php - line:869 - [CC_asterisk_stop 1.2: SQL: UPDATE cc_card SET credit= credit-0.08 , redial='013554879752' , lastuse=now(), nbused=nbused+1 WHERE username='26154']
a2billing.php: file:Class.RateEngine.php - line:874 - UPDATE cc_trunk SET secondusedreal = secondusedreal + 6 WHERE id_trunk='3'
a2billing.php: file:Class.RateEngine.php - line:878 - UPDATE cc_tariffplan SET secondusedreal = secondusedreal + 6 WHERE id='2'
a2billing.php: file:a2billing.php - line:309 - [a2billing account stop]
a2billing.php: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='26154']
-- AGI Script a2billing.php completed, returning 0
any one find this too, and how to resolve it?