Thanks for you prompt response david55
Some logs on our cli
== Using SIP RTP CoS mark 5
== Using UDPTL CoS mark 5
– Called trade/0000018888777165
– SIP/trade-00000491 is making progress passing it to SIP/5672481992-00000490
– SIP/trade-00000491 answered SIP/5672481992-00000490
a2billing.php: file:Class.RateEngine.php - line:1265 - uniqueid:1384281088.1168 - DIAL SIP/trade/0000018888777165,60,HRrL(5400000:61000:30000)
a2billing.php: file:Class.RateEngine.php - line:1151 - uniqueid:1384281088.1168 - [TRUNK STATUS UPDATE : UPDATE cc_trunk SET inuse=inuse-1 WHERE id_trunk=‘2’]
a2billing.php: file:Class.RateEngine.php - line:1413 - uniqueid:1384281088.1168 - -> dialstatus : ANSWER, answered time is 12
a2billing.php:
a2billing.php: file:Class.RateEngine.php - line:1417 - uniqueid:1384281088.1168 - [USEDRATECARD=0]
a2billing.php: file:Class.RateEngine.php - line:953 - uniqueid:1384281088.1168 - :[sessiontime:12 - id_cc_package_offer:-1 - package2apply:]
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php: file:Class.RateEngine.php - line:730 - uniqueid:1384281088.1168 - [CC_RATE_ENGINE_CALCULCOST: K=0 - CALLDURATION:12 - freetimetocall_used=0]
a2billing.php: file:Class.RateEngine.php - line:808 - uniqueid:1384281088.1168 - [TEMP - CC_RATE_ENGINE_CALCULCOST: 1. COST: 0]:[ (60/60) * 0 ]
a2billing.php: file:Class.RateEngine.php - line:893 - uniqueid:1384281088.1168 - [CC_RATE_ENGINE_CALCULCOST: K=0 - BUYCOST:0 - SELLING COST:0]
a2billing.php: file:Class.RateEngine.php - line:1036 - uniqueid:1384281088.1168 - [CC_RATE_ENGINE_UPDATESYSTEM: usedratecard K=0 - (sessiontime=12 :: dialstatus=ANSWER :: buycost=0 :: cost=0 : signe_cc_call=-: signe=+)]
a2billing.php: file:Class.RateEngine.php - line:1101 - uniqueid:1384281088.1168 - [CC_asterisk_stop : SQL: DONE : result=1]
a2billing.php: file:Class.RateEngine.php - line:1102 - uniqueid:1384281088.1168 - [CC_asterisk_stop : SQL: INSERT INTO cc_call (uniqueid, sessionid, card_id, nasipaddress, starttime, sessiontime, real_sessiontime, calledstation, terminatecauseid, stoptime, sessionbill, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buycost, id_card_package_offer, dnid, destination) VALUES (‘1384281088.1168’, ‘SIP/5672481992-00000490’, ‘72’, ‘’, SUBDATE(CURRENT_TIMESTAMP, INTERVAL 12 SECOND) , ‘12’, ‘12’, ‘18888777165’, 1, now() , ‘-0’, ‘1’, ‘1’, ‘5273’, ‘2’, ‘15672481992’, ‘0’, ‘0’, NULL, ‘18888777165’, ‘1888’)]
a2billing.php: file:Class.RateEngine.php - line:1126 - uniqueid:1384281088.1168 - [CC_asterisk_stop 1.2: SQL: UPDATE cc_card SET credit= credit+0 , lastuse=now(), nbused=nbused+1 WHERE username=‘18522’]
a2billing.php: file:Class.RateEngine.php - line:1131 - uniqueid:1384281088.1168 - UPDATE cc_trunk SET secondusedreal = secondusedreal + 12 WHERE id_trunk=‘2’
a2billing.php: file:Class.RateEngine.php - line:1135 - uniqueid:1384281088.1168 - UPDATE cc_tariffplan SET secondusedreal = secondusedreal + 12 WHERE id=‘1’
a2billing.php: file:a2billing.php - line:588 - uniqueid:1384281088.1168 - [a2billing account stop]
a2billing.php: file:a2billing.php - line:193 - uniqueid:1384281088.1168 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php: [CREDIT : 5.38718][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php: file:a2billing.php - line:396 - uniqueid:2384281088.1168 - TARIFF ID -> 1
a2billing.php: file:Class.A2Billing.php - line:805 - uniqueid:2384281088.1168 - use_dnid:0 && (!in_array:) && len_dnid:(11 || len_exten:11 ) && (try_num:1)
– <SIP/5672481992-00000490> Playing ‘prepaid-enter-dest.gsm’ (language ‘en’)
a2billing.php: file:Class.A2Billing.php - line:822 - uniqueid:2384281088.1168 - RES DTMF :
a2billing.php: file:Class.A2Billing.php - line:878 - uniqueid:2384281088.1168 - [CALL 2 DID]
a2billing.php: file:Class.A2Billing.php - line:887 - uniqueid:2384281088.1168 - SELECT cc_did.id, iduser FROM cc_did, cc_card WHERE cc_card.status=1 and cc_card.id=iduser and cc_did.activated=1 and did=’’ AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = ‘0000-00-00 00:00:00’)
a2billing.php: file:Class.A2Billing.php - line:893 - uniqueid:2384281088.1168 - DESTINATION ::>
a2billing.php: file:Class.A2Billing.php - line:900 - uniqueid:2384281088.1168 - RULES APPLY ON DESTINATION ::>
a2billing.php: file:a2billing.php - line:572 - uniqueid:2384281088.1168 - ANSWER fct callingcard_ivr authorize:> -1
a2billing.php: file:a2billing.php - line:193 - uniqueid:2384281088.1168 - [CHANNEL STATUS : 6 = Line is up]
What kind of logs you need maybe i can provide you