Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Oct 21, 2017 7:42 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: billing unanswered calls
PostPosted: Thu Mar 08, 2012 3:22 pm 
Offline

Joined: Fri Dec 03, 2010 5:18 pm
Posts: 35
My a2b is charging for unanswered calls. Seems its charging the reserve balance. When I set the reserve balance to 0 it will not bill the customer for answered calls.

Any suggestions?

answer_call yes
play_audio

See logs below for unanswered call:

== Using SIP RTP CoS mark 5
-- Executing [[email protected]:1] GotoIf("SIP/STARDG2-0000034a", "1?localsub1:roamer1") in new stack
-- Goto (spicemobile,15616743838,2)
-- Executing [[email protected]:2] AGI("SIP/STARDG2-0000034a", "a2billing.php,5") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php,5: file:Class.A2Billing.php - line:604 - uniqueid: - A2Billing AGI internal configuration:
a2billing.php,5: file:Class.A2Billing.php - line:605 - uniqueid: - Array
a2billing.php,5: (
a2billing.php,5: [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000)
a2billing.php,5: [description] => Spice Mobile
a2billing.php,5: [asterisk_version] => 1_8
a2billing.php,5: [answer_call] => 1
a2billing.php,5: [play_audio] => 0
a2billing.php,5: [say_goodbye] => 0
a2billing.php,5: [play_menulanguage] => 0
a2billing.php,5: [force_language] =>
a2billing.php,5: [intro_prompt] =>
a2billing.php,5: [min_credit_2call] => 0.10
a2billing.php,5: [min_duration_2bill] => 0
a2billing.php,5: [notenoughcredit_cardnumber] => 0
a2billing.php,5: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php,5: [use_dnid] => 1
a2billing.php,5: [no_auth_dnid] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 2400
a2billing.php,5: [1] => 2300
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [number_try] => 1
a2billing.php,5: [force_callplan_id] =>
a2billing.php,5: [say_balance_after_auth] => 0
a2billing.php,5: [say_balance_after_call] => 0
a2billing.php,5: [say_rateinitial] => 0
a2billing.php,5: [say_timetocall] => 0
a2billing.php,5: [auto_setcallerid] => 1
a2billing.php,5: [force_callerid] =>
a2billing.php,5: [cid_sanitize] => 0
a2billing.php,5: [cid_enable] => 1
a2billing.php,5: [cid_askpincode_ifnot_callerid] => 1
a2billing.php,5: [failover_lc_prefix] => 0
a2billing.php,5: [cid_auto_assign_card_to_cid] => 1
a2billing.php,5: [callerid_authentication_over_cardnumber] => 0
a2billing.php,5: [sip_iax_friends] => 0
a2billing.php,5: [sip_iax_pstn_direct_call_prefix] => 555
a2billing.php,5: [sip_iax_pstn_direct_call] => 0
a2billing.php,5: [ivr_voucher] => 0
a2billing.php,5: [ivr_voucher_prefix] => 8
a2billing.php,5: [jump_voucher_if_min_credit] => 1
a2billing.php,5: [dialcommand_param] => |60|L(%timeout%:61000:30000)
a2billing.php,5: [dialcommand_param_sipiax_friend] => |60|HiL(3600000:61000:30000)
a2billing.php,5: [switchdialcommand] => 1
a2billing.php,5: [failover_recursive_limit] => 2
a2billing.php,5: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php,5: [send_reminder] => 1
a2billing.php,5: [record_call] => 0
a2billing.php,5: [monitor_formatfile] => gsm
a2billing.php,5: [agi_force_currency] =>
a2billing.php,5: [currency_association] => Array
a2billing.php,5: (
a2billing.php,5: [0] => usd:dollars
a2billing.php,5: [1] => xcd:dollars
a2billing.php,5: [2] => mxn:pesos
a2billing.php,5: [3] => eur:euros
a2billing.php,5: [4] => all:credit
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [local_dialing_addcountryprefix] => 0
a2billing.php,5: [max_call_call_2_did] => 3600
a2billing.php,5: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php,5: [conf_order_menulang] => en:fr:es
a2billing.php,5: [callback_bill_1stleg_ifcall_notconnected] => 1
a2billing.php,5: [international_prefixes] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 011
a2billing.php,5: [1] => 00
a2billing.php,5: [2] => 09
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [extracharge_did] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 1800
a2billing.php,5: [1] => 1900
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [extracharge_fee] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 0
a2billing.php,5: [1] => 0
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [extracharge_buyfee] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 0
a2billing.php,5: [1] => 0
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [maxtime_tounlimited_calls] => 3600
a2billing.php,5: [maxtime_tofree_calls] => 5400
a2billing.php,5: [callplan_deck_minute_threshold] =>
a2billing.php,5: [disable_announcement_seconds] => 0
a2billing.php,5: [verbosity_level] => 4
a2billing.php,5: [logging_level] => 0
a2billing.php,5: [dial_balance_reservation] => 0.20
a2billing.php,5: [callerid_update] => 0
a2billing.php,5: [cid_auto_create_card] => 0
a2billing.php,5: [cid_auto_create_card_len] => 9
a2billing.php,5: [cid_auto_create_card_typepaid] => PREPAID
a2billing.php,5: [cid_auto_create_card_credit] => 0
a2billing.php,5: [cid_auto_create_card_credit_limit] => 0
a2billing.php,5: [cid_auto_create_card_tariffgroup] => 1
a2billing.php,5: [busy_timeout] => 1
a2billing.php,5: [callback_reduce_balance] => 1
a2billing.php,5: [ivr_enable_locking_option] => 0
a2billing.php,5: [ivr_enable_account_information] => 0
a2billing.php,5: [ivr_enable_ivr_speeddial] => 0
a2billing.php,5: [play_rate_cents_if_lower_one] => 0
a2billing.php,5: [callback_beep_to_enter_destination] => 0
a2billing.php,5: [logger_enable] => 1
a2billing.php,5: [log_file] => /var/log/a2billing/a2billing.log
a2billing.php,5: [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000)
a2billing.php,5: [currency_association_internal] => Array
a2billing.php,5: (
a2billing.php,5: [usd] => dollars
a2billing.php,5: [xcd] => dollars
a2billing.php,5: [mxn] => pesos
a2billing.php,5: [eur] => euros
a2billing.php,5: [all] => credit
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [file_conf_enter_menulang] => prepaid-menulang
a2billing.php,5: [ivr_voucher_prefixe] => 8
a2billing.php,5: [cheat_on_announcement_time] => 0
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: file:a2billing.php - line:106 - uniqueid: - IDCONFIG : 5
a2billing.php,5: file:a2billing.php - line:107 - uniqueid: - MODE : standard
a2billing.php,5: file:a2billing.php - line:124 - uniqueid: - AGI Request:
a2billing.php,5: Array
a2billing.php,5: (
a2billing.php,5: [agi_request] => a2billing.php
a2billing.php,5: [agi_channel] => SIP/STARDG2-0000034a
a2billing.php,5: [agi_language] => en
a2billing.php,5: [agi_type] => SIP
a2billing.php,5: [agi_uniqueid] => 1331219264.842
a2billing.php,5: [agi_version] => 1.8.7.1
a2billing.php,5: [agi_callerid] => 14735201119
a2billing.php,5: [agi_calleridname] => 14735201119
a2billing.php,5: [agi_callingpres] => 0
a2billing.php,5: [agi_callingani2] => 0
a2billing.php,5: [agi_callington] => 0
a2billing.php,5: [agi_callingtns] => 0
a2billing.php,5: [agi_dnid] => 15616743838
a2billing.php,5: [agi_rdnis] => unknown
a2billing.php,5: [agi_context] => spicemobile
a2billing.php,5: [agi_extension] => 15616743838
a2billing.php,5: [agi_priority] => 2
a2billing.php,5: [agi_enhanced] => 0.0
a2billing.php,5: [agi_accountcode] =>
a2billing.php,5: [agi_threadid] => 1093974336
a2billing.php,5: [agi_arg_1] => 5
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: file:a2billing.php - line:126 - uniqueid: - [INFO : A2Billing - Version 1.9.4 (Cuprum)]
a2billing.php,5: file:Class.A2Billing.php - line:718 - uniqueid:1331219264.842 - get_agi_request_parameter = 14735201119 ; SIP/STARDG2-0000034a ; 1331219264.842 ; ; 15616743838
a2billing.php,5: file:a2billing.php - line:162 - uniqueid:1331219264.842 - [ANSWER CALL]
a2billing.php,5: file:Class.A2Billing.php - line:2496 - uniqueid:1331219264.842 - [CID_ENABLE - CID_CONTROL - CID:14735201119]
a2billing.php,5: file:Class.A2Billing.php - line:2511 - uniqueid:1331219264.842 - Array
a2billing.php,5: (
a2billing.php,5: [0] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 14735201119
a2billing.php,5: [cid] => 14735201119
a2billing.php,5: [1] => 48721
a2billing.php,5: [id_cc_card] => 48721
a2billing.php,5: [2] => t
a2billing.php,5: [activated] => t
a2billing.php,5: [3] => 0.59505
a2billing.php,5: [credit] => 0.59505
a2billing.php,5: [4] => 9
a2billing.php,5: [tariff] => 9
a2billing.php,5: [5] => t
a2billing.php,5: [6] => 178
a2billing.php,5: [inuse] => 178
a2billing.php,5: [7] => 1
a2billing.php,5: [simultaccess] => 1
a2billing.php,5: [8] => 0
a2billing.php,5: [typepaid] => 0
a2billing.php,5: [9] =>
a2billing.php,5: [creditlimit] =>
a2billing.php,5: [10] => en
a2billing.php,5: [language] => en
a2billing.php,5: [11] => 872175959
a2billing.php,5: [username] => 872175959
a2billing.php,5: [12] => 1
a2billing.php,5: [removeinterprefix] => 1
a2billing.php,5: [13] => 15616743838
a2billing.php,5: [redial] => 15616743838
a2billing.php,5: [14] => 0
a2billing.php,5: [enableexpire] => 0
a2billing.php,5: [15] => 1607283872
a2billing.php,5: [UNIX_TIMESTAMP(expirationdate)] => 1607283872
a2billing.php,5: [16] => 0
a2billing.php,5: [expiredays] => 0
a2billing.php,5: [17] => 1
a2billing.php,5: [nbused] => 1
a2billing.php,5: [18] => 1329914792
a2billing.php,5: [UNIX_TIMESTAMP(firstusedate)] => 1329914792
a2billing.php,5: [19] => 1291666331
a2billing.php,5: [UNIX_TIMESTAMP(cc_card.creationdate)] => 1291666331
a2billing.php,5: [20] => XCD
a2billing.php,5: [currency] => XCD
a2billing.php,5: [21] => Travis
a2billing.php,5: [lastname] => Travis
a2billing.php,5: [22] => Travis
a2billing.php,5: [firstname] => Travis
a2billing.php,5: [23] =>
a2billing.php,5: [email] =>
a2billing.php,5: [24] => 1428769022
a2billing.php,5: [uipass] => 1428769022
a2billing.php,5: [25] => -1
a2billing.php,5: [id_campaign] => -1
a2billing.php,5: [26] => 48721
a2billing.php,5: [id] => 48721
a2billing.php,5: [27] => 741249530711624
a2billing.php,5: [useralias] => 741249530711624
a2billing.php,5: [28] => 1
a2billing.php,5: [status] => 1
a2billing.php,5: [29] => 0
a2billing.php,5: [voicemail_permitted] => 0
a2billing.php,5: [30] => 0
a2billing.php,5: [voicemail_activated] => 0
a2billing.php,5: [31] => 0
a2billing.php,5: [restriction] => 0
a2billing.php,5: [32] => 1473
a2billing.php,5: [countryprefix] => 1473
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: file:Class.A2Billing.php - line:2629 - uniqueid:1331219264.842 - [SET CHANNEL(language) en]
a2billing.php,5: file:Class.A2Billing.php - line:2721 - uniqueid:1331219264.842 - - Account code ::> 872175959
a2billing.php,5: file:Class.A2Billing.php - line:750 - uniqueid:1331219264.842 - [CARD STATUS UPDATE]
a2billing.php,5: file:Class.A2Billing.php - line:759 - uniqueid:1331219264.842 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse+1, credit=credit-0.20 WHERE username='872175959']
a2billing.php,5: file:a2billing.php - line:178 - uniqueid:1331219264.842 - [TRY : callingcard_ivr_authenticate]
a2billing.php,5: file:Class.A2Billing.php - line:2392 - uniqueid:1331219264.842 - [AUTO SetCallerID]
a2billing.php,5: file:Class.A2Billing.php - line:2398 - uniqueid:1331219264.842 - [REQUESTED SetCallerID : 14735201119]
a2billing.php,5: file:Class.A2Billing.php - line:2410 - uniqueid:1331219264.842 - [EXEC SetCallerID : 14735201119]
a2billing.php,5: file:a2billing.php - line:193 - uniqueid:1331219264.842 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php,5: [CREDIT : 0.59505][CREDIT MIN_CREDIT_2CALL : 0.10]
a2billing.php,5: file:a2billing.php - line:396 - uniqueid:1331219264.842 - TARIFF ID -> 9
a2billing.php,5: file:Class.A2Billing.php - line:808 - uniqueid:1331219264.842 - use_dnid:1 && (!in_array:) && len_dnid:(11 || len_exten:11 ) && (try_num:0)
a2billing.php,5: file:Class.A2Billing.php - line:817 - uniqueid:1331219264.842 - [USE_DNID DESTINATION ::> 15616743838]
a2billing.php,5: file:Class.A2Billing.php - line:881 - uniqueid:1331219264.842 - [CALL 2 DID]
a2billing.php,5: file:Class.A2Billing.php - line:890 - uniqueid:1331219264.842 - SELECT cc_did.id, iduser FROM cc_did, cc_card WHERE cc_card.status=1 and cc_card.id=iduser and cc_did.activated=1 and did='15616743838' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = '0000-00-00 00:00:00')
a2billing.php,5: file:Class.A2Billing.php - line:896 - uniqueid:1331219264.842 - DESTINATION ::> 15616743838
a2billing.php,5: file:Class.A2Billing.php - line:903 - uniqueid:1331219264.842 - RULES APPLY ON DESTINATION ::> 15616743838
a2billing.php,5: file:Class.A2Billing.php - line:3551 - uniqueid:1331219264.842 - [SAVING DESTINATION FOR REDIAL: SQL: UPDATE cc_card SET redial = '15616743838' WHERE username='872175959']:[result: 1]
a2billing.php,5: file:Class.RateEngine.php - line:98 - uniqueid:1331219264.842 - [CC_asterisk_rate-engine: (9, 15616743838)]
a2billing.php,5: file:Class.RateEngine.php - line:120 - uniqueid:1331219264.842 - [CC_asterisk_rate-engine - CALLERID : 14735201119]
a2billing.php,5: file:Class.RateEngine.php - line:182 - uniqueid:1331219264.842 - [rate-engine: Count Total result 1]
a2billing.php,5: file:Class.RateEngine.php - line:270 - uniqueid:1331219264.842 - [CC_asterisk_rate-engine: Count Total result 1]
a2billing.php,5: file:Class.RateEngine.php - line:271 - uniqueid:1331219264.842 - [CC_asterisk_rate-engine: number_trunk 1]
a2billing.php,5: file:Class.A2Billing.php - line:1019 - uniqueid:1331219264.842 - OK - RESFINDRATE::> 1
a2billing.php,5: file:Class.RateEngine.php - line:285 - uniqueid:1331219264.842 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT (0.59505)]
a2billing.php,5: file:Class.RateEngine.php - line:291 - uniqueid:1331219264.842 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT: k=0 - res_calcultimeout:191]
a2billing.php,5: file:Class.A2Billing.php - line:1031 - uniqueid:1331219264.842 - RES_ALL_CALCULTIMEOUT ::> 1
a2billing.php,5: file:Class.A2Billing.php - line:1854 - uniqueid:1331219264.842 - TIMEOUT::> 191 : minutes=3 - seconds=11
a2billing.php,5: file:a2billing.php - line:573 - uniqueid:1331219264.842 - ANSWER fct callingcard_ivr authorize:> 1
a2billing.php,5: file:Class.RateEngine.php - line:1246 - uniqueid:1331219264.842 - app_callingcard: Dialing 'SIP/[email protected],60,L(191000:61000:30000)' with timeout of '191'.
a2billing.php,5:
a2billing.php,5: file:Class.RateEngine.php - line:1266 - uniqueid:1331219264.842 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
a2billing.php,5: file:Class.RateEngine.php - line:1157 - uniqueid:1331219264.842 - [TRUNK STATUS UPDATE : UPDATE cc_trunk SET inuse=inuse+1 WHERE id_trunk='35']
-- AGI Script Executing Application: (DIAL) Options: (SIP/[email protected],60,L(191000:61000:30000))
== Using SIP RTP CoS mark 5
-- Called SIP/[email protected]
-- SIP/DECO21461-0000034b is making progress passing it to SIP/STARDG2-0000034a
-- SIP/DECO21461-0000034b is making progress passing it to SIP/STARDG2-0000034a
-- <SIP/STARDG2-0000034a>AGI Script a2billing.php completed, returning 4
== Spawn extension (spicemobile, 15616743838, 2) exited non-zero on 'SIP/STARDG2-0000034a'


log for answered call:
== Using SIP RTP CoS mark 5
-- Executing [[email protected]:1] GotoIf("SIP/STARDG2-00000363", "1?localsub1:roamer1") in new stack
-- Goto (spicemobile,15616743838,2)
-- Executing [[email protected]:2] AGI("SIP/STARDG2-00000363", "a2billing.php,5") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php,5: file:Class.A2Billing.php - line:604 - uniqueid: - A2Billing AGI internal configuration:
a2billing.php,5: file:Class.A2Billing.php - line:605 - uniqueid: - Array
a2billing.php,5: (
a2billing.php,5: [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000)
a2billing.php,5: [description] => Spice Mobile
a2billing.php,5: [asterisk_version] => 1_8
a2billing.php,5: [answer_call] => 1
a2billing.php,5: [play_audio] => 0
a2billing.php,5: [say_goodbye] => 0
a2billing.php,5: [play_menulanguage] => 0
a2billing.php,5: [force_language] =>
a2billing.php,5: [intro_prompt] =>
a2billing.php,5: [min_credit_2call] => 0.10
a2billing.php,5: [min_duration_2bill] => 0
a2billing.php,5: [notenoughcredit_cardnumber] => 0
a2billing.php,5: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php,5: [use_dnid] => 1
a2billing.php,5: [no_auth_dnid] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 2400
a2billing.php,5: [1] => 2300
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [number_try] => 1
a2billing.php,5: [force_callplan_id] =>
a2billing.php,5: [say_balance_after_auth] => 0
a2billing.php,5: [say_balance_after_call] => 0
a2billing.php,5: [say_rateinitial] => 0
a2billing.php,5: [say_timetocall] => 0
a2billing.php,5: [auto_setcallerid] => 1
a2billing.php,5: [force_callerid] =>
a2billing.php,5: [cid_sanitize] => 0
a2billing.php,5: [cid_enable] => 1
a2billing.php,5: [cid_askpincode_ifnot_callerid] => 1
a2billing.php,5: [failover_lc_prefix] => 0
a2billing.php,5: [cid_auto_assign_card_to_cid] => 1
a2billing.php,5: [callerid_authentication_over_cardnumber] => 0
a2billing.php,5: [sip_iax_friends] => 0
a2billing.php,5: [sip_iax_pstn_direct_call_prefix] => 555
a2billing.php,5: [sip_iax_pstn_direct_call] => 0
a2billing.php,5: [ivr_voucher] => 0
a2billing.php,5: [ivr_voucher_prefix] => 8
a2billing.php,5: [jump_voucher_if_min_credit] => 1
a2billing.php,5: [dialcommand_param] => |60|L(%timeout%:61000:30000)
a2billing.php,5: [dialcommand_param_sipiax_friend] => |60|HiL(3600000:61000:30000)
a2billing.php,5: [switchdialcommand] => 1
a2billing.php,5: [failover_recursive_limit] => 2
a2billing.php,5: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php,5: [send_reminder] => 1
a2billing.php,5: [record_call] => 0
a2billing.php,5: [monitor_formatfile] => gsm
a2billing.php,5: [agi_force_currency] =>
a2billing.php,5: [currency_association] => Array
a2billing.php,5: (
a2billing.php,5: [0] => usd:dollars
a2billing.php,5: [1] => xcd:dollars
a2billing.php,5: [2] => mxn:pesos
a2billing.php,5: [3] => eur:euros
a2billing.php,5: [4] => all:credit
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [local_dialing_addcountryprefix] => 0
a2billing.php,5: [max_call_call_2_did] => 3600
a2billing.php,5: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php,5: [conf_order_menulang] => en:fr:es
a2billing.php,5: [callback_bill_1stleg_ifcall_notconnected] => 1
a2billing.php,5: [international_prefixes] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 011
a2billing.php,5: [1] => 00
a2billing.php,5: [2] => 09
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [extracharge_did] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 1800
a2billing.php,5: [1] => 1900
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [extracharge_fee] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 0
a2billing.php,5: [1] => 0
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [extracharge_buyfee] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 0
a2billing.php,5: [1] => 0
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [maxtime_tounlimited_calls] => 3600
a2billing.php,5: [maxtime_tofree_calls] => 5400
a2billing.php,5: [callplan_deck_minute_threshold] =>
a2billing.php,5: [disable_announcement_seconds] => 0
a2billing.php,5: [verbosity_level] => 4
a2billing.php,5: [logging_level] => 0
a2billing.php,5: [dial_balance_reservation] => 0.0
a2billing.php,5: [callerid_update] => 0
a2billing.php,5: [cid_auto_create_card] => 0
a2billing.php,5: [cid_auto_create_card_len] => 9
a2billing.php,5: [cid_auto_create_card_typepaid] => PREPAID
a2billing.php,5: [cid_auto_create_card_credit] => 0
a2billing.php,5: [cid_auto_create_card_credit_limit] => 0
a2billing.php,5: [cid_auto_create_card_tariffgroup] => 1
a2billing.php,5: [busy_timeout] => 1
a2billing.php,5: [callback_reduce_balance] => 1
a2billing.php,5: [ivr_enable_locking_option] => 0
a2billing.php,5: [ivr_enable_account_information] => 0
a2billing.php,5: [ivr_enable_ivr_speeddial] => 0
a2billing.php,5: [play_rate_cents_if_lower_one] => 0
a2billing.php,5: [callback_beep_to_enter_destination] => 0
a2billing.php,5: [logger_enable] => 1
a2billing.php,5: [log_file] => /var/log/a2billing/a2billing.log
a2billing.php,5: [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000)
a2billing.php,5: [currency_association_internal] => Array
a2billing.php,5: (
a2billing.php,5: [usd] => dollars
a2billing.php,5: [xcd] => dollars
a2billing.php,5: [mxn] => pesos
a2billing.php,5: [eur] => euros
a2billing.php,5: [all] => credit
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: [file_conf_enter_menulang] => prepaid-menulang
a2billing.php,5: [ivr_voucher_prefixe] => 8
a2billing.php,5: [cheat_on_announcement_time] => 0
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: file:a2billing.php - line:106 - uniqueid: - IDCONFIG : 5
a2billing.php,5: file:a2billing.php - line:107 - uniqueid: - MODE : standard
a2billing.php,5: file:a2billing.php - line:124 - uniqueid: - AGI Request:
a2billing.php,5: Array
a2billing.php,5: (
a2billing.php,5: [agi_request] => a2billing.php
a2billing.php,5: [agi_channel] => SIP/STARDG2-00000363
a2billing.php,5: [agi_language] => en
a2billing.php,5: [agi_type] => SIP
a2billing.php,5: [agi_uniqueid] => 1331219938.867
a2billing.php,5: [agi_version] => 1.8.7.1
a2billing.php,5: [agi_callerid] => 14735201119
a2billing.php,5: [agi_calleridname] => 14735201119
a2billing.php,5: [agi_callingpres] => 0
a2billing.php,5: [agi_callingani2] => 0
a2billing.php,5: [agi_callington] => 0
a2billing.php,5: [agi_callingtns] => 0
a2billing.php,5: [agi_dnid] => 15616743838
a2billing.php,5: [agi_rdnis] => unknown
a2billing.php,5: [agi_context] => spicemobile
a2billing.php,5: [agi_extension] => 15616743838
a2billing.php,5: [agi_priority] => 2
a2billing.php,5: [agi_enhanced] => 0.0
a2billing.php,5: [agi_accountcode] =>
a2billing.php,5: [agi_threadid] => 1093974336
a2billing.php,5: [agi_arg_1] => 5
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: file:a2billing.php - line:126 - uniqueid: - [INFO : A2Billing - Version 1.9.4 (Cuprum)]
a2billing.php,5: file:Class.A2Billing.php - line:718 - uniqueid:1331219938.867 - get_agi_request_parameter = 14735201119 ; SIP/STARDG2-00000363 ; 1331219938.867 ; ; 15616743838
a2billing.php,5: file:a2billing.php - line:162 - uniqueid:1331219938.867 - [ANSWER CALL]
a2billing.php,5: file:Class.A2Billing.php - line:2496 - uniqueid:1331219938.867 - [CID_ENABLE - CID_CONTROL - CID:14735201119]
a2billing.php,5: file:Class.A2Billing.php - line:2511 - uniqueid:1331219938.867 - Array
a2billing.php,5: (
a2billing.php,5: [0] => Array
a2billing.php,5: (
a2billing.php,5: [0] => 14735201119
a2billing.php,5: [cid] => 14735201119
a2billing.php,5: [1] => 48721
a2billing.php,5: [id_cc_card] => 48721
a2billing.php,5: [2] => t
a2billing.php,5: [activated] => t
a2billing.php,5: [3] => 0.39505
a2billing.php,5: [credit] => 0.39505
a2billing.php,5: [4] => 9
a2billing.php,5: [tariff] => 9
a2billing.php,5: [5] => t
a2billing.php,5: [6] => 192
a2billing.php,5: [inuse] => 192
a2billing.php,5: [7] => 1
a2billing.php,5: [simultaccess] => 1
a2billing.php,5: [8] => 0
a2billing.php,5: [typepaid] => 0
a2billing.php,5: [9] =>
a2billing.php,5: [creditlimit] =>
a2billing.php,5: [10] => en
a2billing.php,5: [language] => en
a2billing.php,5: [11] => 872175959
a2billing.php,5: [username] => 872175959
a2billing.php,5: [12] => 1
a2billing.php,5: [removeinterprefix] => 1
a2billing.php,5: [13] => 14734149770
a2billing.php,5: [redial] => 14734149770
a2billing.php,5: [14] => 0
a2billing.php,5: [enableexpire] => 0
a2billing.php,5: [15] => 1607283872
a2billing.php,5: [UNIX_TIMESTAMP(expirationdate)] => 1607283872
a2billing.php,5: [16] => 0
a2billing.php,5: [expiredays] => 0
a2billing.php,5: [17] => 1
a2billing.php,5: [nbused] => 1
a2billing.php,5: [18] => 1329914792
a2billing.php,5: [UNIX_TIMESTAMP(firstusedate)] => 1329914792
a2billing.php,5: [19] => 1291666331
a2billing.php,5: [UNIX_TIMESTAMP(cc_card.creationdate)] => 1291666331
a2billing.php,5: [20] => XCD
a2billing.php,5: [currency] => XCD
a2billing.php,5: [21] => Travis
a2billing.php,5: [lastname] => Travis
a2billing.php,5: [22] => Travis
a2billing.php,5: [firstname] => Travis
a2billing.php,5: [23] =>
a2billing.php,5: [email] =>
a2billing.php,5: [24] => 1428769022
a2billing.php,5: [uipass] => 1428769022
a2billing.php,5: [25] => -1
a2billing.php,5: [id_campaign] => -1
a2billing.php,5: [26] => 48721
a2billing.php,5: [id] => 48721
a2billing.php,5: [27] => 741249530711624
a2billing.php,5: [useralias] => 741249530711624
a2billing.php,5: [28] => 1
a2billing.php,5: [status] => 1
a2billing.php,5: [29] => 0
a2billing.php,5: [voicemail_permitted] => 0
a2billing.php,5: [30] => 0
a2billing.php,5: [voicemail_activated] => 0
a2billing.php,5: [31] => 0
a2billing.php,5: [restriction] => 0
a2billing.php,5: [32] => 1473
a2billing.php,5: [countryprefix] => 1473
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: )
a2billing.php,5:
a2billing.php,5: file:Class.A2Billing.php - line:2629 - uniqueid:1331219938.867 - [SET CHANNEL(language) en]
a2billing.php,5: file:Class.A2Billing.php - line:2721 - uniqueid:1331219938.867 - - Account code ::> 872175959
a2billing.php,5: file:Class.A2Billing.php - line:750 - uniqueid:1331219938.867 - [CARD STATUS UPDATE]
a2billing.php,5: file:Class.A2Billing.php - line:759 - uniqueid:1331219938.867 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse+1, credit=credit-0.0 WHERE username='872175959']
a2billing.php,5: file:a2billing.php - line:178 - uniqueid:1331219938.867 - [TRY : callingcard_ivr_authenticate]
a2billing.php,5: file:Class.A2Billing.php - line:2392 - uniqueid:1331219938.867 - [AUTO SetCallerID]
a2billing.php,5: file:Class.A2Billing.php - line:2398 - uniqueid:1331219938.867 - [REQUESTED SetCallerID : 14735201119]
a2billing.php,5: file:Class.A2Billing.php - line:2410 - uniqueid:1331219938.867 - [EXEC SetCallerID : 14735201119]
a2billing.php,5: file:a2billing.php - line:193 - uniqueid:1331219938.867 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php,5: [CREDIT : 0.39505][CREDIT MIN_CREDIT_2CALL : 0.10]
a2billing.php,5: file:a2billing.php - line:396 - uniqueid:1331219938.867 - TARIFF ID -> 9
a2billing.php,5: file:Class.A2Billing.php - line:808 - uniqueid:1331219938.867 - use_dnid:1 && (!in_array:) && len_dnid:(11 || len_exten:11 ) && (try_num:0)
a2billing.php,5: file:Class.A2Billing.php - line:817 - uniqueid:1331219938.867 - [USE_DNID DESTINATION ::> 15616743838]
a2billing.php,5: file:Class.A2Billing.php - line:881 - uniqueid:1331219938.867 - [CALL 2 DID]
a2billing.php,5: file:Class.A2Billing.php - line:890 - uniqueid:1331219938.867 - SELECT cc_did.id, iduser FROM cc_did, cc_card WHERE cc_card.status=1 and cc_card.id=iduser and cc_did.activated=1 and did='15616743838' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = '0000-00-00 00:00:00')
a2billing.php,5: file:Class.A2Billing.php - line:896 - uniqueid:1331219938.867 - DESTINATION ::> 15616743838
a2billing.php,5: file:Class.A2Billing.php - line:903 - uniqueid:1331219938.867 - RULES APPLY ON DESTINATION ::> 15616743838
a2billing.php,5: file:Class.A2Billing.php - line:3551 - uniqueid:1331219938.867 - [SAVING DESTINATION FOR REDIAL: SQL: UPDATE cc_card SET redial = '15616743838' WHERE username='872175959']:[result: 1]
a2billing.php,5: file:Class.RateEngine.php - line:98 - uniqueid:1331219938.867 - [CC_asterisk_rate-engine: (9, 15616743838)]
a2billing.php,5: file:Class.RateEngine.php - line:120 - uniqueid:1331219938.867 - [CC_asterisk_rate-engine - CALLERID : 14735201119]
a2billing.php,5: file:Class.RateEngine.php - line:182 - uniqueid:1331219938.867 - [rate-engine: Count Total result 1]
a2billing.php,5: file:Class.RateEngine.php - line:270 - uniqueid:1331219938.867 - [CC_asterisk_rate-engine: Count Total result 1]
a2billing.php,5: file:Class.RateEngine.php - line:271 - uniqueid:1331219938.867 - [CC_asterisk_rate-engine: number_trunk 1]
a2billing.php,5: file:Class.A2Billing.php - line:1019 - uniqueid:1331219938.867 - OK - RESFINDRATE::> 1
a2billing.php,5: file:Class.RateEngine.php - line:285 - uniqueid:1331219938.867 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT (0.39505)]
a2billing.php,5: file:Class.RateEngine.php - line:291 - uniqueid:1331219938.867 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT: k=0 - res_calcultimeout:127]
a2billing.php,5: file:Class.A2Billing.php - line:1031 - uniqueid:1331219938.867 - RES_ALL_CALCULTIMEOUT ::> 1
a2billing.php,5: file:Class.A2Billing.php - line:1854 - uniqueid:1331219938.867 - TIMEOUT::> 127 : minutes=2 - seconds=7
a2billing.php,5: file:a2billing.php - line:573 - uniqueid:1331219938.867 - ANSWER fct callingcard_ivr authorize:> 1
a2billing.php,5: file:Class.RateEngine.php - line:1246 - uniqueid:1331219938.867 - app_callingcard: Dialing 'SIP/[email protected],60,L(127000:61000:30000)' with timeout of '127'.
a2billing.php,5:
a2billing.php,5: file:Class.RateEngine.php - line:1266 - uniqueid:1331219938.867 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
a2billing.php,5: file:Class.RateEngine.php - line:1157 - uniqueid:1331219938.867 - [TRUNK STATUS UPDATE : UPDATE cc_trunk SET inuse=inuse+1 WHERE id_trunk='35']
-- AGI Script Executing Application: (DIAL) Options: (SIP/[email protected],60,L(127000:61000:30000))
== Using SIP RTP CoS mark 5
-- Called SIP/[email protected]
-- SIP/DECO21461-00000364 is making progress passing it to SIP/STARDG2-00000363
-- SIP/DECO21461-00000364 is making progress passing it to SIP/STARDG2-00000363
-- SIP/DECO21461-00000364 answered SIP/STARDG2-00000363
-- <SIP/STARDG2-00000363>AGI Script a2billing.php completed, returning 4
== Spawn extension (spicemobile, 15616743838, 2) exited non-zero on 'SIP/STARDG2-00000363'


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group