Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue May 21, 2024 8:45 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: ANI Authentication Problem
PostPosted: Tue Nov 09, 2010 6:26 am 
Offline

Joined: Sat Oct 30, 2010 3:34 pm
Posts: 2
In a2billing.conf, I have enabled caller id as follows.

[agi-conf1]
cid_enable = YES

I then created and ANI account via the admin panel GUI.
When I dial the inbound DID from the ANI, it does NOT authenticate the ANI and asks for the PIN number. When I enter the PIN # which is associated with the ANI, it plays the card balance. So the PIN authentication is working fine. Why is the ANI authentication not working ?
Thanks


Top
 Profile  
 
 Post subject: Re: ANI Authentication Problem
PostPosted: Tue Nov 09, 2010 8:18 am 
Offline

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

Check the caller ID actually being delivered matches what you have in the admin panel.

Joe


Top
 Profile  
 
 Post subject: Re: ANI Authentication Problem
PostPosted: Tue Nov 09, 2010 6:04 pm 
Offline

Joined: Sat Oct 30, 2010 3:34 pm
Posts: 2
Hello Joe:
Per your comment above, have confirmed that the ANI/callerid that is being delivered to the script matches what I have put via the Admin GUI.
Given below is the following information:
- Output from Asterisk Console
- Information from a2billing log file
- Relevant config info from extensions.conf
- Relevant config info from a2billing.conf
Am also attaching the screen shots of the Admin GUI showing the ANI that I added. When I make the call, the ANi is not recognized, the IVR prompts for the PIN#. If I enter the Account # associated with the ANI, it plays the correct balance. For our needs, we need to do ANI authentication. Thanks

From Asterisk Console
================
<--- SIP read from 64.154.41.100:5060 --->
ACK sip:[email protected] SIP/2.0
Max-Forwards: 68
To: <sip:[email protected]:5060>;tag=as6740b532
From: <sip:[email protected]>;tag=3498312065-11854
Call-ID: [email protected]
CSeq: 1 ACK
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRI BE, PRACK, UPDATE
Via: SIP/2.0/UDP 64.154.41.100:5060;branch=z9hG4bKb32df7b7cc22a43a9e1a6dced5aeb9 c2
Contact: <sip:[email protected]:5060>
Content-Length: 0


From a2billing log file
===============
[09/11/2010 12:17:59]:[file:a2billing.php - line:106 - uniqueid:]:[CallerID:]:[CN:]:[IDCONFIG : 1]
[09/11/2010 12:17:59]:[file:a2billing.php - line:107 - uniqueid:]:[CallerID:]:[CN:]:[MODE : standard]
[09/11/2010 12:17:59]:[file:Class.A2Billing.php - line:715 - uniqueid:1289323077.0]:[CallerID:9142827675]:[CN:]:[ get_agi_request_parameter = 9142827675 ; SIP/ipcomms-00000000 ; 1289323077.0 ; ; 6468625127]
[09/11/2010 12:17:59]:[file:a2billing.php - line:162 - uniqueid:1289323077.0]:[CallerID:9142827675]:[CN:]:[[ANSWER CALL]]
[09/11/2010 12:18:07]:[file:a2billing.php - line:617 - uniqueid:1289323077.0]:[CallerID:9142827675]:[CN:-1]:[[AUTHENTICATION FAILED (cia_res:-1)]]
[09/11/2010 12:18:07]:[CallerID:9142827675]:[CN:-1]:[[exit]]

In extensions.conf
==============
[a2billing]
; CallingCard application
exten => _X.,1,Answer
exten => _X.,2,Wait,2
;exten => _X.,3,AGI(a2billing.php|1|did)
exten => _X.,3,DeadAGI,a2billing.php
exten => _X.,4,Playback(demo-thanks)
exten => _X.,5,Wait,2
exten => _X.,6,Hangup

[did]
; CallingCard application
;exten => _X.,1,AGI(a2billing.php|1|did)
exten => _X.,1,DeadAGI(a2billing.php|1|did)

In a2billing.conf
============
[agi-conf1]
debug=3
cid_enable = YES


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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