Hi all,
I am seeking help in this forum to resolve PIN AUTHENTICATION FAILED problem I have. Someone else installed a2billing and this was left unused until a week ago. Unfortunately, they guy that set it up is no more available. I have generated some PINS without any problems, but when I try to use the PINs for prepaid users, after inputing the PIN, I get authentication failed message.
Have attached the debug file, kindly help.
Sorry, I cant really attach the file, dont know why its failing. See below.
[agi_callerid] => 035214942
[agi_calleridname] => Adedeji Adebayo
[agi_callingpres] => 0
[agi_callingani2] => 0
[agi_callington] => 0
[agi_callingtns] => 0
[agi_dnid] => 022019111
[agi_rdnis] => unknown
[agi_context] => a2billing
[agi_extension] => 022019111
[agi_priority] => 3
[agi_enhanced] => 0.0
[agi_accountcode] =>
)
]
[07/03/2013 17:09:12]:[file:a2billing.php - line:126 - uniqueid:]:[CallerID:]:[CN:]:[[INFO : A2Billing - Version 1.8.1 (Corylus)]]
[07/03/2013 17:09:12]:[file:Class.A2Billing.php - line:715 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[ get_agi_request_parameter = 035214942 ; SIP/NetIT-b77044d8 ; 1362672550.338 ; ; 022019111]
[07/03/2013 17:09:12]:[file:Class.Table.php - line:182 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[Running time=0.0031590461730957 - QUERY=
SELECT id, currency, name, value FROM cc_currencies ORDER BY id
]
[07/03/2013 17:09:12]:[file:a2billing.php - line:162 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[[ANSWER CALL]]
[07/03/2013 17:09:12]:[file:Class.A2Billing.php - line:2370 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[[CID_ENABLE - CID_CONTROL - CID:035214942]]
[07/03/2013 17:09:12]:[file:Class.Table.php - line:182 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[Running time=0.00057291984558105 - QUERY=
SELECT cc_callerid.cid, cc_callerid.id_cc_card, cc_callerid.activated, cc_card.credit, cc_card.tariff, cc_card.activated, cc_card.inuse, cc_card.simultaccess, cc_card.typepaid, cc_card.creditlimit, cc_card.language, cc_card.username, removeinterprefix, cc_card.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, cc_card.status, cc_card.voicemail_permitted, cc_card.voicemail_activated, cc_card.restriction, cc_country.countryprefix FROM cc_callerid LEFT JOIN cc_card ON cc_callerid.id_cc_card=cc_card.id LEFT JOIN cc_tariffgroup ON cc_card.tariff=cc_tariffgroup.id LEFT JOIN cc_country ON cc_card.country=cc_country.countrycode WHERE cc_callerid.cid='035214942'
]
[07/03/2013 17:09:12]:[file:Class.A2Billing.php - line:2385 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[]
[07/03/2013 17:09:12]:[file:Class.A2Billing.php - line:2389 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[[CID_CONTROL - NO CALLERID]]
[07/03/2013 17:09:12]:[file:Class.A2Billing.php - line:2454 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[[CID_CONTROL - NO CALLERID - ASK PIN CODE]]
[07/03/2013 17:09:12]:[file:Class.A2Billing.php - line:2593 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[ - Account code ::> ]
[07/03/2013 17:09:12]:[file:Class.A2Billing.php - line:2775 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[Requesting DTMF, CARDNUMBER_LENGTH_MAX 20]
[07/03/2013 17:09:27]:[file:Class.A2Billing.php - line:2777 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:]:[RES DTMF : 92428926]
[07/03/2013 17:09:27]:[file:Class.A2Billing.php - line:2781 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:92428926]:[CARDNUMBER ::> 92428926]
[07/03/2013 17:09:27]:[file:Class.Table.php - line:182 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:92428926]:[Running time=0.00058817863464355 - QUERY=
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, cc_card.id_campaign, cc_card.id, useralias, status, voicemail_permitted, voicemail_activated, cc_card.restriction, cc_country.countryprefix FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id LEFT JOIN cc_country ON cc_card.country=cc_country.countrycode WHERE username='92428926'
]
[07/03/2013 17:09:27]:[file:Class.A2Billing.php - line:2806 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:92428926]:[]
[07/03/2013 17:09:27]:[file:Class.A2Billing.php - line:2810 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:92428926]:[PREPAID-AUTH-FAIL]
[07/03/2013 17:09:29]:[file:Class.A2Billing.php - line:2767 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:92428926]:[Streamfile : PREPAID-AUTH-FAIL]
[07/03/2013 17:09:29]:[file:Class.A2Billing.php - line:2775 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:92428926]:[Requesting DTMF, CARDNUMBER_LENGTH_MAX 20]
[07/03/2013 17:09:33]:[file:Class.A2Billing.php - line:2777 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:92428926]:[RES DTMF : -1]
[07/03/2013 17:09:33]:[file:Class.A2Billing.php - line:2781 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[CARDNUMBER ::> -1]
[07/03/2013 17:09:33]:[file:Class.A2Billing.php - line:2791 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[PREPAID-INVALID-DIGITS]
[07/03/2013 17:09:33]:[file:Class.A2Billing.php - line:2767 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[Streamfile : PREPAID-INVALID-DIGITS]
[07/03/2013 17:09:33]:[file:Class.A2Billing.php - line:2775 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[Requesting DTMF, CARDNUMBER_LENGTH_MAX 20]
[07/03/2013 17:09:33]:[file:Class.A2Billing.php - line:2777 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[RES DTMF : -1]
[07/03/2013 17:09:33]:[file:Class.A2Billing.php - line:2781 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[CARDNUMBER ::> -1]
[07/03/2013 17:09:33]:[file:Class.A2Billing.php - line:2791 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[PREPAID-INVALID-DIGITS]
[07/03/2013 17:09:33]:[file:a2billing.php - line:178 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[[TRY : callingcard_ivr_authenticate]]
[07/03/2013 17:09:33]:[file:a2billing.php - line:617 - uniqueid:1362672550.338]:[CallerID:035214942]:[CN:-1]:[[AUTHENTICATION FAILED (cia_res:-1)]]
[07/03/2013 17:09:33]:[CallerID:035214942]:[CN:-1]:[[exit]]
A2Billing 1.8.1 (Corylus), A2Billing is software licensed under the AGPL 3.
Copyright (C) 2004-2010 - Star2billing S.L.
http://www.star2billing.com/