asterisk2billing.org http://forum.asterisk2billing.org/ |
|
Auth Fail on Valid card http://forum.asterisk2billing.org/viewtopic.php?f=34&t=8716 |
Page 1 of 1 |
Author: | aislecom [ Mon Mar 28, 2011 2:22 pm ] |
Post subject: | Auth Fail on Valid card |
I am getting auth fail after entering a valid card. In the login I see that the card has $10. a2billing.php|4: [callback_reduce_balance] => 1 a2billing.php|4: [cid_auto_create_card_credit_limit] => 0 a2billing.php|4: [cid_auto_create_card_credit] => 0 a2billing.php|4: [cid_auto_create_card_len] => 9 a2billing.php|4: [cid_auto_create_card_typepaid] => PREPAID a2billing.php|4: [cid_auto_create_card] => 0 a2billing.php|4: [callerid_update] => 0 a2billing.php|4: [dial_balance_reservation] => 0 a2billing.php|4: [logging_level] => 0 a2billing.php|4: [verbosity_level] => 4 a2billing.php|4: [disable_announcement_seconds] => 1 a2billing.php|4: [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000) a2billing.php|4: [description] => Spice Card Calling card service a2billing.php|4: [asterisk_version] => 1_4 a2billing.php|4: [answer_call] => 1 a2billing.php|4: [play_audio] => 1 a2billing.php|4: [say_goodbye] => 0 a2billing.php|4: [play_menulanguage] => 0 a2billing.php|4: [force_language] => a2billing.php|4: [intro_prompt] => a2billing.php|4: [min_credit_2call] => 0.10 a2billing.php|4: [min_duration_2bill] => 0 a2billing.php|4: [notenoughcredit_cardnumber] => 1 a2billing.php|4: [notenoughcredit_assign_newcardnumber_cid] => 0 a2billing.php|4: [use_dnid] => 0 a2billing.php|4: [no_auth_dnid] => Array a2billing.php|4: ( a2billing.php|4: [0] => a2billing.php|4: ) a2billing.php|4: a2billing.php|4: [number_try] => 3 a2billing.php|4: [force_callplan_id] => a2billing.php|4: [say_balance_after_auth] => 1 a2billing.php|4: [say_balance_after_call] => 0 a2billing.php|4: [say_rateinitial] => 0 a2billing.php|4: [say_timetocall] => 1 a2billing.php|4: [auto_setcallerid] => 1 a2billing.php|4: [force_callerid] => a2billing.php|4: [cid_sanitize] => 0 a2billing.php|4: [cid_enable] => 1 a2billing.php|4: [cid_askpincode_ifnot_callerid] => 1 a2billing.php|4: [failover_lc_prefix] => 0 a2billing.php|4: [cid_auto_assign_card_to_cid] => 0 a2billing.php|4: [callerid_authentication_over_cardnumber] => 1 a2billing.php|4: [sip_iax_friends] => 0 a2billing.php|4: [sip_iax_pstn_direct_call_prefix] => 555 a2billing.php|4: [sip_iax_pstn_direct_call] => 0 a2billing.php|4: [ivr_voucher] => 0 a2billing.php|4: [ivr_voucher_prefix] => 8 a2billing.php|4: [jump_voucher_if_min_credit] => 0 a2billing.php|4: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000) a2billing.php|4: [dialcommand_param_sipiax_friend] => |60|HiL(3600000:61000:30000) a2billing.php|4: [switchdialcommand] => 0 a2billing.php|4: [failover_recursive_limit] => 2 a2billing.php|4: [maxtime_tocall_negatif_free_route] => 5400 a2billing.php|4: [send_reminder] => 0 a2billing.php|4: [record_call] => 0 a2billing.php|4: [monitor_formatfile] => gsm a2billing.php|4: [agi_force_currency] => a2billing.php|4: [currency_association] => Array a2billing.php|4: ( a2billing.php|4: [0] => usd:dollars a2billing.php|4: [1] => xcd:dollars a2billing.php|4: [2] => mxn:pesos a2billing.php|4: [3] => eur:euros a2billing.php|4: [4] => all:credit a2billing.php|4: ) a2billing.php|4: a2billing.php|4: [local_dialing_addcountryprefix] => 0 a2billing.php|4: [max_call_call_2_did] => 3600 a2billing.php|4: [file_conf_enter_destination] => prepaid-enter-dest a2billing.php|4: [conf_order_menulang] => en:fr:es a2billing.php|4: [callback_bill_1stleg_ifcall_notconnected] => 1 a2billing.php|4: [international_prefixes] => Array a2billing.php|4: ( a2billing.php|4: [0] => 011 a2billing.php|4: [1] => 00 a2billing.php|4: [2] => 09 a2billing.php|4: ) a2billing.php|4: a2billing.php|4: [extracharge_did] => Array a2billing.php|4: ( a2billing.php|4: [0] => 1800 a2billing.php|4: [1] => 1900 a2billing.php|4: ) a2billing.php|4: a2billing.php|4: [extracharge_fee] => Array a2billing.php|4: ( a2billing.php|4: [0] => 0 a2billing.php|4: [1] => 0 a2billing.php|4: ) a2billing.php|4: a2billing.php|4: [extracharge_buyfee] => Array a2billing.php|4: ( a2billing.php|4: [0] => 0 a2billing.php|4: [1] => 0 a2billing.php|4: ) a2billing.php|4: a2billing.php|4: [maxtime_tounlimited_calls] => 5400 a2billing.php|4: [maxtime_tofree_calls] => 5400 a2billing.php|4: [callplan_deck_minute_threshold] => a2billing.php|4: [logger_enable] => 1 a2billing.php|4: [log_file] => /var/log/a2billing/a2billing.log a2billing.php|4: [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000) a2billing.php|4: [currency_association_internal] => Array a2billing.php|4: ( a2billing.php|4: [usd] => dollars a2billing.php|4: [xcd] => dollars a2billing.php|4: [mxn] => pesos a2billing.php|4: [eur] => euros a2billing.php|4: [all] => credit a2billing.php|4: ) a2billing.php|4: a2billing.php|4: [file_conf_enter_menulang] => prepaid-menulang a2billing.php|4: [ivr_voucher_prefixe] => 8 a2billing.php|4: [cheat_on_announcement_time] => 0 a2billing.php|4: ) a2billing.php|4: a2billing.php|4: file:a2billing.php - line:106 - uniqueid: - IDCONFIG : 4 a2billing.php|4: file:a2billing.php - line:107 - uniqueid: - MODE : standard a2billing.php|4: file:a2billing.php - line:124 - uniqueid: - AGI Request: a2billing.php|4: Array a2billing.php|4: ( a2billing.php|4: [agi_request] => a2billing.php a2billing.php|4: [agi_channel] => SIP/209.216.2.203-0960d9e0 a2billing.php|4: [agi_language] => en a2billing.php|4: [agi_type] => SIP a2billing.php|4: [agi_uniqueid] => 1301321494.8273 a2billing.php|4: [agi_callerid] => 0000123456 a2billing.php|4: [agi_calleridname] => 0000123456 a2billing.php|4: [agi_callingpres] => 0 a2billing.php|4: [agi_callingani2] => 0 a2billing.php|4: [agi_callington] => 0 a2billing.php|4: [agi_callingtns] => 0 a2billing.php|4: [agi_dnid] => 15156736218 a2billing.php|4: [agi_rdnis] => unknown a2billing.php|4: [agi_context] => a2billing a2billing.php|4: [agi_extension] => 15156736218 a2billing.php|4: [agi_priority] => 3 a2billing.php|4: [agi_enhanced] => 0.0 a2billing.php|4: [agi_accountcode] => a2billing.php|4: ) a2billing.php|4: a2billing.php|4: file:a2billing.php - line:126 - uniqueid: - [INFO : A2Billing - Version 1.8.1 (Corylus)] a2billing.php|4: file:Class.A2Billing.php - line:715 - uniqueid:1301321494.8273 - get_agi_request_parameter = 0000123456 ; SIP/209.216.2.203-0960d9e0 ; 1301321494.8273 ; ; 15156736218 a2billing.php|4: file:a2billing.php - line:162 - uniqueid:1301321494.8273 - [ANSWER CALL] a2billing.php|4: file:Class.A2Billing.php - line:2368 - uniqueid:1301321494.8273 - [CID_ENABLE - CID_CONTROL - CID:0000123456] a2billing.php|4: file:Class.A2Billing.php - line:2383 - uniqueid:1301321494.8273 - a2billing.php|4: file:Class.A2Billing.php - line:2387 - uniqueid:1301321494.8273 - [CID_CONTROL - NO CALLERID] a2billing.php|4: file:Class.A2Billing.php - line:2452 - uniqueid:1301321494.8273 - [CID_CONTROL - NO CALLERID - ASK PIN CODE] a2billing.php|4: file:Class.A2Billing.php - line:2591 - uniqueid:1301321494.8273 - - Account code ::> a2billing.php|4: file:Class.A2Billing.php - line:2773 - uniqueid:1301321494.8273 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 12 -- <SIP/209.216.2.203-0960d9e0> Playing 'prepaid-enter-pin-number' (language 'en') a2billing.php|4: file:Class.A2Billing.php - line:2775 - uniqueid:1301321494.8273 - RES DTMF : 899550920 a2billing.php|4: file:Class.A2Billing.php - line:2779 - uniqueid:1301321494.8273 - CARDNUMBER ::> 899550920 a2billing.php|4: file:Class.A2Billing.php - line:2804 - uniqueid:1301321494.8273 - Array a2billing.php|4: ( a2billing.php|4: [0] => Array a2billing.php|4: ( a2billing.php|4: [0] => 10.00000 a2billing.php|4: [credit] => 10.00000 a2billing.php|4: [1] => 8 a2billing.php|4: [tariff] => 8 a2billing.php|4: [2] => t a2billing.php|4: [activated] => t a2billing.php|4: [3] => 0 a2billing.php|4: [inuse] => 0 a2billing.php|4: [4] => 0 a2billing.php|4: [simultaccess] => 0 a2billing.php|4: [5] => 0 a2billing.php|4: [typepaid] => 0 a2billing.php|4: [6] => 0 a2billing.php|4: [creditlimit] => 0 a2billing.php|4: [7] => en a2billing.php|4: [language] => en a2billing.php|4: [8] => 1 a2billing.php|4: [removeinterprefix] => 1 a2billing.php|4: [9] => a2billing.php|4: [redial] => a2billing.php|4: [10] => 0 a2billing.php|4: [enableexpire] => 0 a2billing.php|4: [11] => 1607285947 a2billing.php|4: [UNIX_TIMESTAMP(expirationdate)] => 1607285947 a2billing.php|4: [12] => 0 a2billing.php|4: [expiredays] => 0 a2billing.php|4: [13] => 0 a2billing.php|4: [nbused] => 0 a2billing.php|4: [14] => 0 a2billing.php|4: [UNIX_TIMESTAMP(firstusedate)] => 0 a2billing.php|4: [15] => 1291667160 a2billing.php|4: [UNIX_TIMESTAMP(cc_card.creationdate)] => 1291667160 a2billing.php|4: [16] => USD a2billing.php|4: [currency] => USD a2billing.php|4: [17] => 1291667127 a2billing.php|4: [lastname] => 1291667127 a2billing.php|4: [18] => a2billing.php|4: [firstname] => a2billing.php|4: [19] => a2billing.php|4: [email] => a2billing.php|4: [20] => 1815679337 a2billing.php|4: [uipass] => 1815679337 a2billing.php|4: [21] => 59557 a2billing.php|4: [id] => 59557 a2billing.php|4: [22] => 0 a2billing.php|4: [id_campaign] => 0 a2billing.php|4: [23] => 59557 a2billing.php|4: [24] => 765753646893222 a2billing.php|4: [useralias] => 765753646893222 a2billing.php|4: [25] => 1 a2billing.php|4: [status] => 1 a2billing.php|4: [26] => 0 a2billing.php|4: [voicemail_permitted] => 0 a2billing.php|4: [27] => 0 a2billing.php|4: [voicemail_activated] => 0 a2billing.php|4: [28] => 0 a2billing.php|4: [restriction] => 0 a2billing.php|4: [29] => a2billing.php|4: [countryprefix] => a2billing.php|4: ) a2billing.php|4: a2billing.php|4: ) a2billing.php|4: a2billing.php|4: file:Class.A2Billing.php - line:2824 - uniqueid:1301321494.8273 - a2billing.php|4: file:Class.A2Billing.php - line:2828 - uniqueid:1301321494.8273 - PREPAID-AUTH-FAIL -- Playing 'prepaid-auth-fail' (escape_digits=#) (sample_offset 0) a2billing.php|4: file:Class.A2Billing.php - line:2765 - uniqueid:1301321494.8273 - Streamfile : PREPAID-AUTH-FAIL a2billing.php|4: file:Class.A2Billing.php - line:2773 - uniqueid:1301321494.8273 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 12 -- <SIP/209.216.2.203-0960d9e0> Playing 'prepaid-enter-pin-number' (language 'en') a2billing.php|4: file:Class.A2Billing.php - line:2775 - uniqueid:1301321494.8273 - RES DTMF : -1 a2billing.php|4: file:Class.A2Billing.php - line:2779 - uniqueid:1301321494.8273 - CARDNUMBER ::> -1 a2billing.php|4: file:Class.A2Billing.php - line:2789 - uniqueid:1301321494.8273 - PREPAID-INVALID-DIGITS -- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0) |
Author: | aislecom [ Mon Mar 28, 2011 2:46 pm ] |
Post subject: | Re: Auth Fail on Valid card |
I fix the problem by setting the following to no: callerid_authentication_over_cardnumber No I would like to keep it at Yes. Can any one pointout why when it set to Yes it does not accept my card. Dave |
Author: | jroper [ Tue Mar 29, 2011 9:53 am ] |
Post subject: | Re: Auth Fail on Valid card |
Both caller ID and PIN have to match the customer with this setting, so check the callerID I would point out that if you had not answered your own question, i would not have bothered replying to your first post, because I've not got the time or inclination to scroll through logs, and more often than not ignore posts that include pasted log. Attach logs, don't paste them. Joe |
Author: | Nogie [ Fri Oct 03, 2014 3:50 pm ] |
Post subject: | Re: Auth Fail on Valid card |
Hello, I am having the same problem.... my callerid_authentication_over_cardnumber is set to NO. I did however, populate the cc_voucher using mysql directly. I did not use the generate module in a2billing. All vouchers generated using a2billing generate voucher module works fine Is there something else generated when using a2billing to generate the vouchers that I need to manually put in mysql? Please assist. Thanks |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |