a2billing

Home » Asterisk Users » a2billing
Asterisk Users 2 Comments

Not sure if a2billing can be shared here, but ill give a shot

If the credit < min_credit the IVR play: sorry you have 0 credit and hangup,
I want it to FW me to the IVR to add voucher, please let me know: here is
log:

[18/10/2010 07:01:12]:[file:a2billing.php –
line:75]:[CallerID:]:[CN:]:[IDCONFIG : 1]
[18/10/2010 07:01:12]:[file:a2billing.php – line:76]:[CallerID:]:[CN:]:[MODE
: standard]
[18/10/2010 07:01:12]:[file:Class.A2Billing.php –
line:601]:[CallerID:10001]:[CN:]:[ get_agi_request_parameter = 10001 ;
SIP/10001-0005d08b ; 1287374472.907170 ; 9971524976 ; 00]
[18/10/2010 07:01:12]:[file:a2billing.php –
line:138]:[CallerID:10001]:[CN:]:[[ANSWER CALL]]
[18/10/2010 07:01:12]:[file:Class.A2Billing.php –
line:1653]:[CallerID:10001]:[CN:]:[ – Account code – 9971524976]
[18/10/2010 07:01:12]:[file:Class.A2Billing.php –
line:1668]:[CallerID:10001]:[CN:9971524976]:[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=’9971524976′]
[18/10/2010 07:01:12]:[file:Class.A2Billing.php –
line:1742]:[CallerID:10001]:[CN:9971524976]:[[SET LANGUAGE() en]]
[18/10/2010 07:01:12]:[file:Class.A2Billing.php –
line:1745]:[CallerID:10001]:[CN:9971524976]:[[credit=0.00000 :: tariff=1 ::
active=t :: isused=0 :: simultaccess=1 :: typepaid=0 :: creditlimit=5 ::
language=en]]
[18/10/2010 07:01:12]:[file:Class.A2Billing.php –
line:1777]:[CallerID:10001]:[CN:9971524976]:[[ERROR CHECK CARD :
prepaid-zero-balance (cardnumber:9971524976)]]
[18/10/2010 07:01:14]:[file:a2billing.php –
line:155]:[CallerID:10001]:[CN:9971524976]:[[TRY :
callingcard_ivr_authenticate]]
[18/10/2010 07:01:14]:[file:a2billing.php –
line:316]:[CallerID:10001]:[CN:9971524976]:[[AUTHENTICATION FAILED
(cia_res:-2)]]
[18/10/2010 07:01:14]:[CallerID:10001]:[CN:9971524976]:[[exit]]

2 thoughts on - a2billing

  • Gorguez Ka писал 22.06.2012 15:31:

    installed a2billing, I did all the config, at least I guess ..
    still can not integrate sip accounts that I had created (with sip.conf)
    in a2billing to apply their billing ..
    make the junction between asterisk and a2billing??
    the file

    _____________________________________________________________________

  • I confess that I had already generated sip accounts but I just delete them.
    it remains in the dialplan a2billing and RateCard I created ..
    Please can you tell me how to complete the setup?

    2012/6/22 Mikhail Lischuk