These are the last lines of what I get from the asterisk console, using 'set verbose 15'
Code:
a2billing.php|1: file:Class.RateEngine.php - line:960 - app_callingcard: Diali ng 'SIP/voipdiscountout/00491788369524|60|HL(5400000:61000:30000)' with timeout of '5400'.
a2billing.php|1:
a2billing.php|1: file:Class.RateEngine.php - line:985 - app_callingcard: CIDGR OUPID='-1' OUTBOUND CID SELECTED IS '0'.
-- AGI Script Executing Application: (Dial) Options: (SIP/voipdiscountout/00 491788369524|60|HL(5400000:61000:30000))
-- Limit Data for this call:
-- - timelimit = 5400000
-- - play_warning = 61000
-- - play_to_caller= yes
-- - play_to_callee= no
-- - warning_freq = 30000
-- - start_sound = UNDEF
-- - warning_sound = timeleft
-- - end_sound = UNDEF
-- Called voipdiscountout/00491788369524
-- SIP/voipdiscountout-08198d00 is making progress passing it to SIP/89.149. 229.253-081644b0
-- Got SIP response 480 "Temporarily not available" back from 194.221.62.198
-- SIP/voipdiscountout-08198d00 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
a2billing.php|1: file:Class.RateEngine.php - line:1095 - [USEDRATECARD - FAIL =0]
a2billing.php|1: file:Class.RateEngine.php - line:848 - [CC_asterisk_stop QUE RY = INSERT INTO cc_call (uniqueid,sessionid,username,nasipaddress,starttime,ses siontime, calledstation, terminatecause, stoptime, calledrate, sessionbill, cal ledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buyrate, buycost, id_card_package_offer) VALUES ('1204323 019.329', 'SIP/89.149.229.253-081644b0', '0170313952', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '00491788369524', 'CONGESTION', now(), '0', '-0', '', '', 'germany mobile', '1', '5', '20172', '2', '2001', '0', '0', '0', '0')]
a2billing.php|1: file:Class.RateEngine.php - line:851 - [CC_asterisk_stop 1.1: SQL: DONE : result=1]
a2billing.php|1: file:a2billing.php - line:309 - [a2billing account stop]
a2billing.php|1: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : U PDATE cc_card SET inuse=inuse-1 WHERE username='0170313952']
-- AGI Script a2billing.php completed, returning 0
Can you do something with this?