Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2024 8:29 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Sorry your authentication has failed
PostPosted: Tue Mar 31, 2009 6:18 pm 
Offline

Joined: Mon Apr 09, 2007 7:18 pm
Posts: 43
I want that whenever a user calls up he gets a free card the first time, after that his CID should attach to that card
At this time I get Sorry, your authentication has failed


Attachments:
a2.txt [9.27 KiB]
Downloaded 1204 times


Last edited by vjfromgt on Wed Apr 01, 2009 6:02 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 31, 2009 6:43 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Quote:
; if the CID does not exist, then the caller will be prompt to enter his cardnumber
Have you tried enabling that setting?

Please don't post large files in-line as it makes the thread difficult to read. Instead please attach them a .txt files.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 01, 2009 6:03 pm 
Offline

Joined: Mon Apr 09, 2007 7:18 pm
Posts: 43
Thanks for tip regarding attachment

I have tried YES ,, still get authentication failed


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 01, 2009 6:15 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Hmm... I don't use this functionality myself, but I'm sure it worked when I was testing it.
Do the other threads here relevant to your needs offer any hints? How about your log files?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 01, 2009 6:20 pm 
Offline

Joined: Mon Apr 09, 2007 7:18 pm
Posts: 43
didnt come across any help yet

[Apr 1 14] -- Playing 'prepaid-auth-fail' (escape_digits=#) (sample_offset 0)
[Apr 1 14] a2billing.php|1: file:a2billing.php - line:319 - [AUTHENTICATION FAILED (cia_res:-2)]
[Apr 1 14] -- AGI Script a2billing.php completed, returning 0

Added after 3 minutes:

[Apr 1 14:18:12] a2billing.php|1: [number_try] => 9
[Apr 1 14:18:12] a2billing.php|1: [force_callplan_id] =>
[Apr 1 14:18:12] a2billing.php|1: [say_balance_after_auth] => 1
[Apr 1 14:18:12] a2billing.php|1: [say_balance_after_call] =>
[Apr 1 14:18:12] a2billing.php|1: [say_rateinitial] => 1
[Apr 1 14:18:12] a2billing.php|1: [say_timetocall] => 1
[Apr 1 14:18:12] a2billing.php|1: [auto_setcallerid] => 1
[Apr 1 14:18:12] a2billing.php|1: [force_callerid] =>
[Apr 1 14:18:12] a2billing.php|1: [cid_sanitize] =>
[Apr 1 14:18:12] a2billing.php|1: [cid_enable] => 1
[Apr 1 14:18:12] a2billing.php|1: [cid_askpincode_ifnot_callerid] =>
[Apr 1 14:18:12] a2billing.php|1: [cid_auto_assign_card_to_cid] =>
[Apr 1 14:18:12] a2billing.php|1: [cid_auto_create_card] => 1
[Apr 1 14:18:12] a2billing.php|1: [cid_auto_create_card_len] => 10
[Apr 1 14:18:12] a2billing.php|1: [cid_auto_create_card_typepaid] => PREPAY
[Apr 1 14:18:12] a2billing.php|1: [cid_auto_create_card_credit] => 500
[Apr 1 14:18:12] a2billing.php|1: [cid_auto_create_card_credit_limit] => 0.01
[Apr 1 14:18:12] a2billing.php|1: [cid_auto_create_card_tariffgroup] => 1
[Apr 1 14:18:12] a2billing.php|1: [callerid_authentication_over_cardnumber] =>
[Apr 1 14:18:12] a2billing.php|1: [sip_iax_friends] =>
[Apr 1 14:18:12] a2billing.php|1: [sip_iax_pstn_direct_call_prefix] => 555
[Apr 1 14:18:12] a2billing.php|1: [sip_iax_pstn_direct_call] =>
[Apr 1 14:18:12] a2billing.php|1: [ivr_voucher] =>
[Apr 1 14:18:12] a2billing.php|1: [ivr_voucher_prefix] => 8
[Apr 1 14:18:12] a2billing.php|1: [jump_voucher_if_min_credit] =>
[Apr 1 14:18:12] a2billing.php|1: [extracharge_did] => Array


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 01, 2009 6:51 pm 
Offline

Joined: Sat Jul 07, 2007 10:00 pm
Posts: 57
Check the value cid_auto_assign_card_to_cid , if this is set to yes and cid_enable also yes, this gave me lot of authentication fails . Just a tip, this might not be relevant to your query .


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 01, 2009 7:28 pm 
Offline

Joined: Mon Apr 09, 2007 7:18 pm
Posts: 43
done, problem still exist

Added after 34 minutes:

found bug
when deleting a card the cid does not get deleted

you must empty cc_callerid manually


Top
 Profile  
 
 Post subject: Re: Sorry your authentication has failed
PostPosted: Sun Jan 19, 2020 7:40 pm 
Offline

Joined: Mon Apr 09, 2007 7:18 pm
Posts: 43
For some strange reason I cant start a new topic

I have a new issue

User 1 calls a DID ,, get ,, your balance is x dollar
USER 2 calls the SAME DID , gets


<--- Reliably Transmitting (NAT) to 64.136.173.31:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 64.136.173.31:5060;branch=z9hG4bK1sansay872981889rdb26686;received=64.136.173.31;rport=5060
From: <sip:[email protected]>;tag=sansay872981889rdb26686
To: <sip:[email protected]>;tag=as1bb03b83
Call-ID: [email protected]
CSeq: 1 INVITE
Server: Asterisk PBX 1.8.30.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="6d869450"
Content-Length: 0


Top
 Profile  
 
 Post subject: Re: Sorry your authentication has failed
PostPosted: Tue Sep 15, 2020 9:40 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
Site is bugged


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


All times are UTC


Who is online

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