Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 26, 2024 6:36 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Auto Create Card on Caller ID not Working
PostPosted: Fri Oct 30, 2009 10:16 pm 
Offline

Joined: Thu Nov 30, 2006 2:04 am
Posts: 40
Hi

It appears the auto_create_card function does not work in a2billing 1.4.2. I have tried everything possible and nothing happens except that the call is hung up. I understand that there has been problems with this previously and Class.a2billing.php had been change.

Here is my log files. I cant seem to identify whats wrong. Everything appears correct. Can the moderators or developers confirm that there is a bug?

Code:
    -- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0)
    -- Executing [s@from-trunk:1] Set("SIP/877513044-081e39f0", "__FROM_DID=s") in new stack
    -- Executing [s@from-trunk:2] Gosub("SIP/877513044-081e39f0", "app-blacklist-check|s|1") in new stack
    -- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/877513044-081e39f0", "") in new stack
    -- Executing [s@app-blacklist-check:2] GotoIf("SIP/877513044-081e39f0", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/877513044-081e39f0", "") in new stack
    -- Executing [s@from-trunk:3] ExecIf("SIP/877513044-081e39f0", "0 |Set|CALLERID(name)=0116468777") in new stack
    -- Executing [s@from-trunk:4] Set("SIP/877513044-081e39f0", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-trunk:5] SetCallerPres("SIP/877513044-081e39f0", "allowed_not_screened") in new stack
    -- Executing [s@from-trunk:6] Goto("SIP/877513044-081e39f0", "custom-a2billing|_X.|1") in new stack
    -- Goto (custom-a2billing,_X.,1)
    -- Executing [_X.@custom-a2billing:1] Answer("SIP/877513044-081e39f0", "") in new stack
    -- Executing [_X.@custom-a2billing:2] Wait("SIP/877513044-081e39f0", "1") in new stack
    -- Executing [_X.@custom-a2billing:3] DeadAGI("SIP/877513044-081e39f0", "a2billing.php|1") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
  a2billing.php|1: file:Class.A2Billing.php - line:578 - uniqueid: - A2Billing AGI internal configuration: ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:579 - uniqueid: - Array
  a2billing.php|1: (
  a2billing.php|1:     [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000)
  a2billing.php|1:     [description] => agi-config
  a2billing.php|1:     [asterisk_version] => 1_4
  a2billing.php|1:     [answer_call] => 1
  a2billing.php|1:     [play_audio] => 1
  a2billing.php|1:     [say_goodbye] => 0
  a2billing.php|1:     [play_menulanguage] => 0
  a2billing.php|1:     [force_language] =>
  a2billing.php|1:     [intro_prompt] => Welcome2
  a2billing.php|1:     [min_credit_2call] => 0
  a2billing.php|1:     [min_duration_2bill] => 0
  a2billing.php|1:     [notenoughcredit_cardnumber] => 0
  a2billing.php|1:     [notenoughcredit_assign_newcardnumber_cid] => 0
  a2billing.php|1:     [use_dnid] => 0
  a2billing.php|1:     [no_auth_dnid] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 2400
  a2billing.php|1:             [1] => 2300
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [number_try] => 3
  a2billing.php|1:     [force_callplan_id] =>
  a2billing.php|1:     [say_balance_after_auth] => 0
  a2billing.php|1:     [say_balance_after_call] => 0
  a2billing.php|1:     [say_rateinitial] => 0
  a2billing.php|1:     [say_timetocall] => 0
  a2billing.php|1:     [auto_setcallerid] => 0
  a2billing.php|1:     [force_callerid] =>
  a2billing.php|1:     [cid_sanitize] => No
  a2billing.php|1:     [cid_enable] => 1
  a2billing.php|1:     [cid_askpincode_ifnot_callerid] => 0
  a2billing.php|1:     [failover_lc_prefix] => 0
  a2billing.php|1:     [cid_auto_assign_card_to_cid] => 1
  a2billing.php|1:     [callerid_authentication_over_cardnumber] => 0
  a2billing.php|1:     [sip_iax_friends] => 0
  a2billing.php|1:     [sip_iax_pstn_direct_call_prefix] => 555
  a2billing.php|1:     [sip_iax_pstn_direct_call] => 0
  a2billing.php|1:     [ivr_voucher] => 0
  a2billing.php|1:     [ivr_voucher_prefix] => 8
  a2billing.php|1:     [jump_voucher_if_min_credit] => 0
  a2billing.php|1:     [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
  a2billing.php|1:     [dialcommand_param_sipiax_friend] => |60|HiL(3600000:61000:30000)
  a2billing.php|1:     [switchdialcommand] => 0
  a2billing.php|1:     [failover_recursive_limit] => 2
  a2billing.php|1:     [maxtime_tocall_negatif_free_route] => 5400
  a2billing.php|1:     [send_reminder] => 0
  a2billing.php|1:     [record_call] => 0
  a2billing.php|1:     [monitor_formatfile] => gsm
  a2billing.php|1:     [agi_force_currency] =>
  a2billing.php|1:     [currency_association] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => usd:dollars
  a2billing.php|1:             [1] => mxn:pesos
  a2billing.php|1:             [2] => eur:euros
  a2billing.php|1:             [3] => all:credit
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [local_dialing_addcountryprefix] => 0
  a2billing.php|1:     [max_call_call_2_did] => 3600
  a2billing.php|1:     [file_conf_enter_destination] => TheNumberToCall
  a2billing.php|1:     [conf_order_menulang] => en:fr:es
  a2billing.php|1:     [callback_bill_1stleg_ifcall_notconnected] => 1
  a2billing.php|1:     [international_prefixes] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 011
  a2billing.php|1:             [1] => 00
  a2billing.php|1:             [2] => 09
  a2billing.php|1:             [3] => 1
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [extracharge_did] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 1800
  a2billing.php|1:             [1] => 1900
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [extracharge_fee] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 0
  a2billing.php|1:             [1] => 0
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [extracharge_buyfee] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 0
  a2billing.php|1:             [1] => 0
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [maxtime_tounlimited_calls] => 5400
  a2billing.php|1:     [maxtime_tofree_calls] => 5400
  a2billing.php|1:     [callplan_deck_minute_threshold] =>
  a2billing.php|1:     [disable_announcement_seconds] => 0
  a2billing.php|1:     [verbosity_level] => 4
  a2billing.php|1:     [logging_level] => 3
  a2billing.php|1:     [dial_balance_reservation] => 0.25
  a2billing.php|1:     [callerid_update] => 0
  a2billing.php|1:     [cid_auto_create_card] => 1
  a2billing.php|1:     [cid_auto_create_card_len] => 10
  a2billing.php|1:     [cid_auto_create_card_typepaid] => POSTPAID
  a2billing.php|1:     [cid_auto_create_card_credit] => 10000000
  a2billing.php|1:     [cid_auto_create_card_credit_limit] => 1000000000
  a2billing.php|1:     [cid_auto_create_card_tariffgroup] => 1
  a2billing.php|1:     [logger_enable] => 1
  a2billing.php|1:     [log_file] => /var/log/a2billing/a2billing.log
  a2billing.php|1:     [currency_association_internal] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [usd] => dollars
  a2billing.php|1:             [mxn] => pesos
  a2billing.php|1:             [eur] => euros
  a2billing.php|1:             [all] => credit
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [file_conf_enter_menulang] => prepaid-menulang
  a2billing.php|1:     [ivr_voucher_prefixe] => 8
  a2billing.php|1:     [cheat_on_announcement_time] => 0
  a2billing.php|1: )
  a2billing.php|1:  ::> 4
  a2billing.php|1: file:a2billing.php - line:99 - uniqueid: - IDCONFIG : 1 ::> 3
  a2billing.php|1: file:a2billing.php - line:100 - uniqueid: - MODE : standard ::> 3
  a2billing.php|1: file:a2billing.php - line:117 - uniqueid: - AGI Request:
  a2billing.php|1: Array
  a2billing.php|1: (
  a2billing.php|1:     [agi_request] => a2billing.php
  a2billing.php|1:     [agi_channel] => SIP/877513044-081e39f0
  a2billing.php|1:     [agi_language] => en
  a2billing.php|1:     [agi_type] => SIP
  a2billing.php|1:     [agi_uniqueid] => 1256939566.109
  a2billing.php|1:     [agi_callerid] => 0116468777
  a2billing.php|1:     [agi_calleridname] => 0116468777
  a2billing.php|1:     [agi_callingpres] => 0
  a2billing.php|1:     [agi_callingani2] => 0
  a2billing.php|1:     [agi_callington] => 0
  a2billing.php|1:     [agi_callingtns] => 0
  a2billing.php|1:     [agi_dnid] => unknown
  a2billing.php|1:     [agi_rdnis] => unknown
  a2billing.php|1:     [agi_context] => custom-a2billing
  a2billing.php|1:     [agi_extension] => _X.
  a2billing.php|1:     [agi_priority] => 3
  a2billing.php|1:     [agi_enhanced] => 0.0
  a2billing.php|1:     [agi_accountcode] =>
  a2billing.php|1: )
  a2billing.php|1:  ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:692 - uniqueid:1256939566.109 -  get_agi_request_parameter = 0116468777 ; SIP/877513044-081e39f0 ; 1256939566.109 ;  ; _X. ::> 3
  a2billing.php|1: file:a2billing.php - line:156 - uniqueid:1256939566.109 - [ANSWER CALL] ::> 3
    -- Playing 'Welcome2' (escape_digits=#) (sample_offset 0)
  a2billing.php|1: file:Class.A2Billing.php - line:2307 - uniqueid:1256939566.109 - [CID_ENABLE - CID_CONTROL - CID:0116468777] ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2322 - uniqueid:1256939566.109 -  ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2326 - uniqueid:1256939566.109 - [CID_CONTROL - STOP - NO CALLERID] ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2439 - uniqueid:1256939566.109 -  - Account code -  ::> 4
  a2billing.php|1: file:a2billing.php - line:172 - uniqueid:1256939566.109 - [TRY : callingcard_ivr_authenticate] ::> 4
  a2billing.php|1: file:a2billing.php - line:364 - uniqueid:1256939566.109 - [AUTHENTICATION FAILED (cia_res:-2)] ::> 2
    -- AGI Script a2billing.php completed, returning 0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Voice Broadcast System


All times are UTC


Who is online

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