Hi,
thank you for the tip, sorry to say it didn't seem to do the trick. my callerid_authentication_over_cardnumber is set to "NO", single agi-conf1 file.
Following are server logs from two scenarios, when caller CallerID presented on A2b account and call is sucessfull; the 2nd call, where the CallerID is absent, we expect the call to receive a request for a PIN number, actually the call is being dropped.
** Sucessfull call, CLID is recognized, call is made ** -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php a2billing.php|1: file:a2billing.php - line:102 - uniqueid: - IDCONFIG : 1 a2billing.php|1: file:a2billing.php - line:103 - uniqueid: - MODE : standard a2billing.php|1: file:Class.A2Billing.php - line:713 - uniqueid:1304115582.18 - get_agi_request_parameter = 100282 ; SIP/173.203.11.111-01152f00 ; 1304115582.18 ; ; 806055 a2billing.php|1: file:a2billing.php - line:162 - uniqueid:1304115582.18 - [NO ANSWER CALL] a2billing.php|1: file:a2billing.php - line:189 - uniqueid:1304115582.18 - [CHANNEL STATUS : 6 = Line is up] a2billing.php|1: [CREDIT : 17.48550][CREDIT MIN_CREDIT_2CALL : 0] a2billing.php|1: file:a2billing.php - line:392 - uniqueid:1304115582.18 - TARIFF ID -> 1 .... -- AGI Script Executing Application: (DIAL) Options: (SIP/208.85.111.11/806055|60|HRriL(5400000:100000:60000))
** Un sucessfull call, CLID is not recorgnized, no reqeust for PIN, call is dropped ** -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php a2billing.php|1: file:a2billing.php - line:102 - uniqueid: - IDCONFIG : 1 a2billing.php|1: file:a2billing.php - line:103 - uniqueid: - MODE : standard a2billing.php|1: file:Class.A2Billing.php - line:713 - uniqueid:1304115358.16 - get_agi_request_parameter = 035100282 ; SIP/173.203.86.119-0109b740 ; 1304115358.16 ; ; 806055 a2billing.php|1: file:a2billing.php - line:162 - uniqueid:1304115358.16 - [NO ANSWER CALL] a2billing.php|1: file:a2billing.php - line:613 - uniqueid:1304115358.16 - [AUTHENTICATION FAILED (cia_res:-1)] -- AGI Script a2billing.php completed, returning 0
** After increasing the debug level, here is the code between line 162 and line 613 of the un-successful call:** a2billing.php|1: file:a2billing.php - line:162 - uniqueid:1304117481.21 - [NO ANSWER CALL] a2billing.php|1: file:Class.A2Billing.php - line:2359 - uniqueid:1304117481.21 - [CID_ENABLE - CID_CONTROL - CID:035100282] a2billing.php|1: file:Class.A2Billing.php - line:2374 - uniqueid:1304117481.21 - a2billing.php|1: file:Class.A2Billing.php - line:2378 - uniqueid:1304117481.21 - [CID_CONTROL - NO CALLERID] a2billing.php|1: file:Class.A2Billing.php - line:2441 - uniqueid:1304117481.21 - [CID_CONTROL - NO CALLERID - ASK PIN CODE] a2billing.php|1: file:Class.A2Billing.php - line:2581 - uniqueid:1304117481.21 - - Account code ::> a2billing.php|1: file:Class.A2Billing.php - line:2764 - uniqueid:1304117481.21 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15 a2billing.php|1: file:Class.A2Billing.php - line:2766 - uniqueid:1304117481.21 - RES DTMF : -1 a2billing.php|1: file:Class.A2Billing.php - line:2770 - uniqueid:1304117481.21 - CARDNUMBER ::> -1 a2billing.php|1: file:Class.A2Billing.php - line:2780 - uniqueid:1304117481.21 - PREPAID-INVALID-DIGITS a2billing.php|1: file:Class.A2Billing.php - line:2756 - uniqueid:1304117481.21 - PREPAID-INVALID-DIGITS a2billing.php|1: file:Class.A2Billing.php - line:2764 - uniqueid:1304117481.21 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15 a2billing.php|1: file:Class.A2Billing.php - line:2766 - uniqueid:1304117481.21 - RES DTMF : -1 a2billing.php|1: file:Class.A2Billing.php - line:2770 - uniqueid:1304117481.21 - CARDNUMBER ::> -1 a2billing.php|1: file:Class.A2Billing.php - line:2780 - uniqueid:1304117481.21 - PREPAID-INVALID-DIGITS a2billing.php|1: file:Class.A2Billing.php - line:2756 - uniqueid:1304117481.21 - PREPAID-INVALID-DIGITS a2billing.php|1: file:Class.A2Billing.php - line:2764 - uniqueid:1304117481.21 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15 a2billing.php|1: file:Class.A2Billing.php - line:2766 - uniqueid:1304117481.21 - RES DTMF : -1 a2billing.php|1: file:Class.A2Billing.php - line:2770 - uniqueid:1304117481.21 - CARDNUMBER ::> -1 a2billing.php|1: file:Class.A2Billing.php - line:2780 - uniqueid:1304117481.21 - PREPAID-INVALID-DIGITS a2billing.php|1: file:a2billing.php - line:174 - uniqueid:1304117481.21 - [TRY: callingcard_ivr_authenticate] a2billing.php|1: file:a2billing.php - line:613 - uniqueid:1304117481.21 - [AUTHENTICATION FAILED (cia_res:-1)] -- AGI Script a2billing.php completed, returning 0
It is easy to see where the code takes a turn, the call is being terminated since NO CALLERID is found. how do I proceed from here to understand why it doesn't request a PIN number?
As I wrote earlier, this is a A2Billing 1.7.1 (Larch) version. I have made some testing on a A2Billing 1.8.1 (Corylus) system we have, the request of PIN exist there if no CLID is found. I compared all the General Settings values, all seems to be the same. Might it be an issue of versions? reported/known bug?
|