Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Sep 17, 2019 5:05 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: PIN request when no CID
PostPosted: Mon Apr 25, 2011 11:21 pm 
Offline

Joined: Sat Jun 30, 2007 8:29 pm
Posts: 32
Hi,

We are using A2Billing 1.7.1 (Larch).

We have a situation for outing calls, if the CLID is presented, the call will get through. If the call CLID is not contained in one of the account, A2b disconnect the call. We are trying to make A2b to request a PIN number instead of disconnecting, if the call's CLID is not shown in any of its account.

System settings >> Global list has the following entries:
- Auto Set CLID auto_setcallerid Yes
- Force CLID force_callerid CallerID
- CLID Sanitize cid_sanitize BOTH
- CLID Enable cid_enable Yes
- Ask PIN cid_askpincode_ifnot_callerid Yes

This is definitely a CLID issue, if we add the CLID in one of the a2b account, all works fine.
We have compared values to other A2b implementations, where this is functioning ok, all looks the same (ver 1.6 on other servers).

Any ideas, suggestions?

nir


Top
 Profile  
 
 Post subject: Re: PIN request when no CID
PostPosted: Fri Apr 29, 2011 9:55 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Check the log files as you run the call for clues.

also check Auto CLID Security callerid_authentication_over_cardnumber No to check callerID over the cardnumber authentication (to guard against spoofing). is set to no

Joe


Top
 Profile  
 
 Post subject: Re: PIN request when no CID
PostPosted: Fri Apr 29, 2011 10:40 pm 
Offline

Joined: Sat Jun 30, 2007 8:29 pm
Posts: 32
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?


Top
 Profile  
 
 Post subject: Re: PIN request when no CID
PostPosted: Sat Apr 30, 2011 4:51 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Well it is always a good idea to keep up with the latest version of A2Billing, we are currently on 1.9.3


Top
 Profile  
 
 Post subject: Re: PIN request when no CID
PostPosted: Sat Apr 30, 2011 10:57 am 
Offline

Joined: Sat Jun 30, 2007 8:29 pm
Posts: 32
do you believe it will solve our issue?
Is this a known issue with this version?

Can you confirm the updated version ask for PIN number, if no CLID recognized?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group