asterisk2billing.org
http://forum.asterisk2billing.org/

Sorry your authentication has failed
http://forum.asterisk2billing.org/viewtopic.php?f=14&t=5072
Page 1 of 1

Author:  vjfromgt [ Tue Mar 31, 2009 6:18 pm ]
Post subject:  Sorry your authentication has failed

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 1211 times

Author:  stavros [ Tue Mar 31, 2009 6:43 pm ]
Post subject: 

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.

Author:  vjfromgt [ Wed Apr 01, 2009 6:03 pm ]
Post subject: 

Thanks for tip regarding attachment

I have tried YES ,, still get authentication failed

Author:  stavros [ Wed Apr 01, 2009 6:15 pm ]
Post subject: 

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?

Author:  vjfromgt [ Wed Apr 01, 2009 6:20 pm ]
Post subject: 

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

Author:  asterindia [ Wed Apr 01, 2009 6:51 pm ]
Post subject: 

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 .

Author:  vjfromgt [ Wed Apr 01, 2009 7:28 pm ]
Post subject: 

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

Author:  vjfromgt [ Sun Jan 19, 2020 7:40 pm ]
Post subject:  Re: Sorry your authentication has failed

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

Author:  GeekBoy [ Tue Sep 15, 2020 9:40 pm ]
Post subject:  Re: Sorry your authentication has failed

Site is bugged

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/