Hello,
I´m a newbie in a2billing and I use a system that redirect calls made in the asterisk server (with a2billing) to diferent lines using a media gateway.
When I tried to make a call I got a message from the telephonist(from the phone line) that the number was incomplete.
I looked the gateway log searching for something and I found out that the number dialed out was like that:
Line 2: busy, PSTN Outgoing (dialed#): 92954307|60|HRgrL(5400000:61000:&0000)
and it should be just 92954307!!!
The asterisk log looked normal, but I will put it here to help:
[May 26 17:21:54] ERROR[4654]: pbx.c:2381 ast_func_write: Function LANGUAGE not registered
a2billing.php: file:Class.A2Billing.php - line:594 - [SET LANGUAGE() en]
a2billing.php: file:Class.A2Billing.php - line:1640 - SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id WHERE username='2902993456'
a2billing.php: file:Class.A2Billing.php - line:649 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='2902993456']
a2billing.php: file:Class.A2Billing.php - line:1399 - [AUTO SetCallerID]
a2billing.php: file:Class.A2Billing.php - line:1405 - [REQUESTED SetCallerID : 065126148332730]
a2billing.php: file:Class.A2Billing.php - line:1416 - [EXEC SetCallerID : 065126148332730]
a2billing.php: file:a2billing.php - line:170 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php: file:a2billing.php - line:171 - [CREDIT : 1000.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php: file:Class.A2Billing.php - line:671 - 1 && && 8&& 0
a2billing.php: file:Class.A2Billing.php - line:696 - DESTINATION ::> 92954307
a2billing.php: file:Class.A2Billing.php - line:698 - RULES APPLY ON DESTINATION ::> 92954307
a2billing.php: file:Class.A2Billing.php - line:736 - OK - RESFINDRATE::> 1
a2billing.php: file:Class.A2Billing.php - line:758 - RES_ALL_CALCULTIMEOUT ::> 1
a2billing.php: file:Class.A2Billing.php - line:775 - TIMEOUT::> 5400 : minutes=90 - seconds=0
a2billing.php: file:Class.RateEngine.php - line:1026 - app_callingcard: Dialing 'SIP/102/92954307|60|HRgrL(5400000:61000:30000)' with timeout of '5400'.
a2billing.php: I>
a2billing.php: file:Class.RateEngine.php - line:1051 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
-- AGI Script Executing Application: (Dial) Options: (SIP/102/92954307|60|HRgrL(5400000:61000:30000))
== Using SIP RTP CoS mark 5
-- Called 102/92954307|60|HRgrL(5400000:61000:30000)
-- SIP/102-0827dd48 is ringing
What may I do?
|