Hello!
I have same result, below is the debug:
== Using SIP RTP CoS mark 5 -- Executing [8521878200@a2billing-callback:1] AGI("SIP/101-00000025", "a2billing.php,1,callback") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php a2billing.php,1,callback: file:Class.A2Billing.php - line:604 - uniqueid: - A2Billing AGI internal configuration: a2billing.php,1,callback: file:Class.A2Billing.php - line:605 - uniqueid: - Array a2billing.php,1,callback: ( a2billing.php,1,callback: [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000) a2billing.php,1,callback: [description] => agi-config a2billing.php,1,callback: [asterisk_version] => 1_6 a2billing.php,1,callback: [answer_call] => 1 a2billing.php,1,callback: [play_audio] => 1 a2billing.php,1,callback: [say_goodbye] => 0 a2billing.php,1,callback: [play_menulanguage] => 0 a2billing.php,1,callback: [force_language] => a2billing.php,1,callback: [intro_prompt] => a2billing.php,1,callback: [min_credit_2call] => 0 a2billing.php,1,callback: [min_duration_2bill] => 0 a2billing.php,1,callback: [notenoughcredit_cardnumber] => 0 a2billing.php,1,callback: [notenoughcredit_assign_newcardnumber_cid] => 0 a2billing.php,1,callback: [use_dnid] => 1 a2billing.php,1,callback: [no_auth_dnid] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 2400 a2billing.php,1,callback: [1] => 2300 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [number_try] => 1 a2billing.php,1,callback: [force_callplan_id] => a2billing.php,1,callback: [say_balance_after_auth] => 0 a2billing.php,1,callback: [say_balance_after_call] => 0 a2billing.php,1,callback: [say_rateinitial] => 1 a2billing.php,1,callback: [say_timetocall] => 1 a2billing.php,1,callback: [auto_setcallerid] => 1 a2billing.php,1,callback: [force_callerid] => a2billing.php,1,callback: [cid_sanitize] => 0 a2billing.php,1,callback: [cid_enable] => 0 a2billing.php,1,callback: [cid_askpincode_ifnot_callerid] => 1 a2billing.php,1,callback: [failover_lc_prefix] => 0 a2billing.php,1,callback: [cid_auto_assign_card_to_cid] => 1 a2billing.php,1,callback: [callerid_authentication_over_cardnumber] => 0 a2billing.php,1,callback: [sip_iax_friends] => 0 a2billing.php,1,callback: [sip_iax_pstn_direct_call_prefix] => 00 a2billing.php,1,callback: [sip_iax_pstn_direct_call] => 1 a2billing.php,1,callback: [ivr_voucher] => 0 a2billing.php,1,callback: [ivr_voucher_prefix] => 8 a2billing.php,1,callback: [jump_voucher_if_min_credit] => 0 a2billing.php,1,callback: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000) a2billing.php,1,callback: [dialcommand_param_sipiax_friend] => |60|HiL(3600000:61000:30000) a2billing.php,1,callback: [switchdialcommand] => 0 a2billing.php,1,callback: [failover_recursive_limit] => 2 a2billing.php,1,callback: [maxtime_tocall_negatif_free_route] => 5400 a2billing.php,1,callback: [send_reminder] => 0 a2billing.php,1,callback: [record_call] => 0 a2billing.php,1,callback: [monitor_formatfile] => gsm a2billing.php,1,callback: [agi_force_currency] => a2billing.php,1,callback: [currency_association] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => usd:dollars a2billing.php,1,callback: [1] => mxn:pesos a2billing.php,1,callback: [2] => eur:euros a2billing.php,1,callback: [3] => all:credit a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [local_dialing_addcountryprefix] => 0 a2billing.php,1,callback: [max_call_call_2_did] => 3600 a2billing.php,1,callback: [file_conf_enter_destination] => prepaid-enter-dest a2billing.php,1,callback: [conf_order_menulang] => en:fr:es a2billing.php,1,callback: [callback_bill_1stleg_ifcall_notconnected] => 1 a2billing.php,1,callback: [international_prefixes] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 011 a2billing.php,1,callback: [1] => 00 a2billing.php,1,callback: [2] => 09 a2billing.php,1,callback: [3] => 1 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [extracharge_did] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 1800 a2billing.php,1,callback: [1] => 1900 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [extracharge_fee] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 0 a2billing.php,1,callback: [1] => 0 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [extracharge_buyfee] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 0 a2billing.php,1,callback: [1] => 0 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [maxtime_tounlimited_calls] => 5400 a2billing.php,1,callback: [maxtime_tofree_calls] => 2 a2billing.php,1,callback: [callplan_deck_minute_threshold] => a2billing.php,1,callback: [disable_announcement_seconds] => 0 a2billing.php,1,callback: [verbosity_level] => 4 a2billing.php,1,callback: [logging_level] => 3 a2billing.php,1,callback: [dial_balance_reservation] => 0.25 a2billing.php,1,callback: [callerid_update] => 0 a2billing.php,1,callback: [cid_auto_create_card] => 0 a2billing.php,1,callback: [cid_auto_create_card_len] => 10 a2billing.php,1,callback: [cid_auto_create_card_typepaid] => PREPAID a2billing.php,1,callback: [cid_auto_create_card_credit] => 0 a2billing.php,1,callback: [cid_auto_create_card_credit_limit] => 0 a2billing.php,1,callback: [cid_auto_create_card_tariffgroup] => 1 a2billing.php,1,callback: [busy_timeout] => 1 a2billing.php,1,callback: [callback_reduce_balance] => 1 a2billing.php,1,callback: [ivr_enable_locking_option] => 0 a2billing.php,1,callback: [ivr_enable_account_information] => 0 a2billing.php,1,callback: [ivr_enable_ivr_speeddial] => 0 a2billing.php,1,callback: [play_rate_cents_if_lower_one] => 0 a2billing.php,1,callback: [callback_beep_to_enter_destination] => 0 a2billing.php,1,callback: [cid_prompt_callback_confirm_phonenumber] => 0 a2billing.php,1,callback: [logger_enable] => 1 a2billing.php,1,callback: [log_file] => /var/log/a2billing/a2billing.log a2billing.php,1,callback: [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000) a2billing.php,1,callback: [currency_association_internal] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [usd] => dollars a2billing.php,1,callback: [mxn] => pesos a2billing.php,1,callback: [eur] => euros a2billing.php,1,callback: [all] => credit a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [file_conf_enter_menulang] => prepaid-menulang a2billing.php,1,callback: [ivr_voucher_prefixe] => 8 a2billing.php,1,callback: [cheat_on_announcement_time] => 0 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: file:a2billing.php - line:106 - uniqueid: - IDCONFIG : 1 a2billing.php,1,callback: file:a2billing.php - line:107 - uniqueid: - MODE : callback a2billing.php,1,callback: file:a2billing.php - line:124 - uniqueid: - AGI Request: a2billing.php,1,callback: Array a2billing.php,1,callback: ( a2billing.php,1,callback: [agi_request] => a2billing.php a2billing.php,1,callback: [agi_channel] => SIP/101-00000025 a2billing.php,1,callback: [agi_language] => en a2billing.php,1,callback: [agi_type] => SIP a2billing.php,1,callback: [agi_uniqueid] => 1308224350.37 a2billing.php,1,callback: [agi_version] => 1.6.2.9 a2billing.php,1,callback: [agi_callerid] => 78888888 a2billing.php,1,callback: [agi_calleridname] => unknown a2billing.php,1,callback: [agi_callingpres] => 0 a2billing.php,1,callback: [agi_callingani2] => 0 a2billing.php,1,callback: [agi_callington] => 0 a2billing.php,1,callback: [agi_callingtns] => 0 a2billing.php,1,callback: [agi_dnid] => unknown a2billing.php,1,callback: [agi_rdnis] => unknown a2billing.php,1,callback: [agi_context] => a2billing-callback a2billing.php,1,callback: [agi_extension] => 8521878200 a2billing.php,1,callback: [agi_priority] => 1 a2billing.php,1,callback: [agi_enhanced] => 0.0 a2billing.php,1,callback: [agi_accountcode] => 78239600 a2billing.php,1,callback: [agi_threadid] => -1222583408 a2billing.php,1,callback: [agi_arg_1] => 1 a2billing.php,1,callback: [agi_arg_2] => callback a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: file:a2billing.php - line:126 - uniqueid: - [INFO : A2Billing - Version 1.9.4 (Cuprum)] a2billing.php,1,callback: file:Class.A2Billing.php - line:718 - uniqueid:1308224350.37 - get_agi_request_parameter = 78888888 ; SIP/101-00000025 ; 1308224350.37 ; 78239600 ; 8521878200 a2billing.php,1,callback: file:a2billing.php - line:1081 - uniqueid:1308224350.37 - [CALLBACK]:[MODE : CALLBACK] a2billing.php,1,callback: file:a2billing.php - line:1084 - uniqueid:1308224350.37 - [CALLBACK]:[ANSWER CALL] -- Playing 'prepaid-callback_intro' (escape_digits=#) (sample_offset 0) a2billing.php,1,callback: file:a2billing.php - line:1136 - uniqueid:1308224350.37 - [CALLBACK]:[GET VARIABLE : CALLED=16042776785 | CALLING=8521878200 | MODE= | TARIFF= | CBID=65439-uihhvy5 | LEG=78239600] a2billing.php,1,callback: file:a2billing.php - line:1140 - uniqueid:1308224350.37 - [CALLBACK : UPDATE CALLBACK AGI_RESULT : QUERY=UPDATE cc_callback_spool SET agi_result='AGI PROCESSING' WHERE uniqueid='65439-uihhvy5'] a2billing.php,1,callback: file:a2billing.php - line:1144 - uniqueid:1308224350.37 - [CALLBACK]:[TRY : callingcard_ivr_authenticate] a2billing.php,1,callback: file:Class.A2Billing.php - line:2721 - uniqueid:1308224350.37 - - Account code ::> 78239600 a2billing.php,1,callback: file:Class.A2Billing.php - line:2738 - uniqueid:1308224350.37 - - Retrieve account info SQL ::> SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias, status, voicemail_permitted, voicemail_activated, cc_card.restriction, cc_country.countryprefix FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id LEFT JOIN cc_country ON cc_card.country=cc_country.countrycode WHERE username='78239600' a2billing.php,1,callback: file:Class.A2Billing.php - line:2807 - uniqueid:1308224350.37 - [SET CHANNEL(language) en] a2billing.php,1,callback: file:Class.A2Billing.php - line:2811 - uniqueid:1308224350.37 - [credit=53.57873 :: tariff=2 :: status=1 :: isused=0 :: simultaccess=1 :: typepaid=0 :: creditlimit= :: language=en] a2billing.php,1,callback: file:Class.A2Billing.php - line:750 - uniqueid:1308224350.37 - [CARD STATUS UPDATE] a2billing.php,1,callback: file:Class.A2Billing.php - line:759 - uniqueid:1308224350.37 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse+1, credit=credit-0.25 WHERE username='78239600'] a2billing.php,1,callback: file:a2billing.php - line:1151 - uniqueid:1308224350.37 - [CALLBACK]:[Start] a2billing.php,1,callback: file:Class.A2Billing.php - line:2392 - uniqueid:1308224350.37 - [AUTO SetCallerID] a2billing.php,1,callback: file:Class.A2Billing.php - line:2398 - uniqueid:1308224350.37 - [REQUESTED SetCallerID : 78888888] a2billing.php,1,callback: file:Class.A2Billing.php - line:2410 - uniqueid:1308224350.37 - [EXEC SetCallerID : 78888888] a2billing.php,1,callback: file:a2billing.php - line:1169 - uniqueid:1308224350.37 - [CALLBACK]:[CHANNEL STATUS : 6 = Line is up][status_channel=6]:[ORIG_CREDIT : 53.57873 - CUR_CREDIT - : 52.57873 - CREDIT MIN_CREDIT_2CALL : 0] a2billing.php,1,callback: file:Class.A2Billing.php - line:808 - uniqueid:1308224350.37 - use_dnid:1 && (!in_array:) && len_dnid:(10 || len_exten:10 ) && (try_num:0) a2billing.php,1,callback: file:Class.A2Billing.php - line:817 - uniqueid:1308224350.37 - [USE_DNID DESTINATION ::> 8521878200] a2billing.php,1,callback: file:Class.A2Billing.php - line:896 - uniqueid:1308224350.37 - DESTINATION ::> 8521878200 a2billing.php,1,callback: file:Class.A2Billing.php - line:903 - uniqueid:1308224350.37 - RULES APPLY ON DESTINATION ::> 8521878200 a2billing.php,1,callback: file:Class.RateEngine.php - line:98 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: (2, 8521878200)] a2billing.php,1,callback: file:Class.RateEngine.php - line:120 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine - CALLERID : 78888888] a2billing.php,1,callback: file:Class.RateEngine.php - line:182 - uniqueid:1308224350.37 - [rate-engine: Count Total result 1] a2billing.php,1,callback: file:Class.RateEngine.php - line:270 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: Count Total result 1] a2billing.php,1,callback: file:Class.RateEngine.php - line:271 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: number_trunk 1] a2billing.php,1,callback: file:Class.A2Billing.php - line:1019 - uniqueid:1308224350.37 - OK - RESFINDRATE::> 1 a2billing.php,1,callback: file:Class.RateEngine.php - line:285 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT (52.57873)] a2billing.php,1,callback: file:Class.RateEngine.php - line:291 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT: k=0 - res_calcultimeout:1500] a2billing.php,1,callback: file:Class.A2Billing.php - line:1031 - uniqueid:1308224350.37 - RES_ALL_CALCULTIMEOUT ::> 1 a2billing.php,1,callback: file:Class.A2Billing.php - line:1854 - uniqueid:1308224350.37 - TIMEOUT::> 1500 : minutes=25 - seconds=0 a2billing.php,1,callback: file:Class.A2Billing.php - line:2032 - uniqueid:1308224350.37 - [CURRENCY : USD] -- Playing 'prepaid-cost-call' (escape_digits=#) (sample_offset 0) -- <SIP/101-00000025> Playing 'digits/2.gsm' (language 'en') -- Playing 'dollars' (escape_digits=#) (sample_offset 0) -- Playing 'prepaid-per-minutes' (escape_digits=#) (sample_offset 0) a2billing.php,1,callback: file:Class.RateEngine.php - line:1245 - uniqueid:1308224350.37 - app_callingcard: Dialing 'SIP/101/1331878200|60|HRrL(1500000:61000:30000)' with timeout of '1500'. a2billing.php,1,callback: a2billing.php,1,callback: file:Class.RateEngine.php - line:1265 - uniqueid:1308224350.37 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'. a2billing.php,1,callback: file:Class.RateEngine.php - line:1157 - uniqueid:1308224350.37 - [TRUNK STATUS UPDATE : UPDATE cc_trunk SET inuse=inuse+1 WHERE id_trunk='3'] -- AGI Script Executing Application: (DIAL) Options: (SIP/101/1331878200,60,HRrL(1500000:61000:30000)) -- Limit Data for this call: == Using SIP RTP CoS mark 5 -- Called 101/1331878200 -- SIP/101-00000026 answered SIP/101-00000025 -- Executing [h@a2billing-callback:1] AGI("SIP/101-00000025", "a2billing.php,1,callback") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php a2billing.php,1,callback: file:Class.A2Billing.php - line:604 - uniqueid: - A2Billing AGI internal configuration: a2billing.php,1,callback: file:Class.A2Billing.php - line:605 - uniqueid: - Array a2billing.php,1,callback: ( a2billing.php,1,callback: [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000) a2billing.php,1,callback: [description] => agi-config a2billing.php,1,callback: [asterisk_version] => 1_6 a2billing.php,1,callback: [answer_call] => 1 a2billing.php,1,callback: [play_audio] => 1 a2billing.php,1,callback: [say_goodbye] => 0 a2billing.php,1,callback: [play_menulanguage] => 0 a2billing.php,1,callback: [force_language] => a2billing.php,1,callback: [intro_prompt] => a2billing.php,1,callback: [min_credit_2call] => 0 a2billing.php,1,callback: [min_duration_2bill] => 0 a2billing.php,1,callback: [notenoughcredit_cardnumber] => 0 a2billing.php,1,callback: [notenoughcredit_assign_newcardnumber_cid] => 0 a2billing.php,1,callback: [use_dnid] => 1 a2billing.php,1,callback: [no_auth_dnid] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 2400 a2billing.php,1,callback: [1] => 2300 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [number_try] => 1 a2billing.php,1,callback: [force_callplan_id] => a2billing.php,1,callback: [say_balance_after_auth] => 0 a2billing.php,1,callback: [say_balance_after_call] => 0 a2billing.php,1,callback: [say_rateinitial] => 1 a2billing.php,1,callback: [say_timetocall] => 1 a2billing.php,1,callback: [auto_setcallerid] => 1 a2billing.php,1,callback: [force_callerid] => a2billing.php,1,callback: [cid_sanitize] => 0 a2billing.php,1,callback: [cid_enable] => 0 a2billing.php,1,callback: [cid_askpincode_ifnot_callerid] => 1 a2billing.php,1,callback: [failover_lc_prefix] => 0 a2billing.php,1,callback: [cid_auto_assign_card_to_cid] => 1 a2billing.php,1,callback: [callerid_authentication_over_cardnumber] => 0 a2billing.php,1,callback: [sip_iax_friends] => 0 a2billing.php,1,callback: [sip_iax_pstn_direct_call_prefix] => 00 a2billing.php,1,callback: [sip_iax_pstn_direct_call] => 1 a2billing.php,1,callback: [ivr_voucher] => 0 a2billing.php,1,callback: [ivr_voucher_prefix] => 8 a2billing.php,1,callback: [jump_voucher_if_min_credit] => 0 a2billing.php,1,callback: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000) a2billing.php,1,callback: [dialcommand_param_sipiax_friend] => |60|HiL(3600000:61000:30000) a2billing.php,1,callback: [switchdialcommand] => 0 a2billing.php,1,callback: [failover_recursive_limit] => 2 a2billing.php,1,callback: [maxtime_tocall_negatif_free_route] => 5400 a2billing.php,1,callback: [send_reminder] => 0 a2billing.php,1,callback: [record_call] => 0 a2billing.php,1,callback: [monitor_formatfile] => gsm a2billing.php,1,callback: [agi_force_currency] => a2billing.php,1,callback: [currency_association] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => usd:dollars a2billing.php,1,callback: [1] => mxn:pesos a2billing.php,1,callback: [2] => eur:euros a2billing.php,1,callback: [3] => all:credit a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [local_dialing_addcountryprefix] => 0 ibx*CLI> a2billing.php,1,callback: [max_call_call_2_did] => 3600 a2billing.php,1,callback: [file_conf_enter_destination] => prepaid-enter-dest a2billing.php,1,callback: [conf_order_menulang] => en:fr:es a2billing.php,1,callback: [callback_bill_1stleg_ifcall_notconnected] => 1 a2billing.php,1,callback: [international_prefixes] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 011 a2billing.php,1,callback: [1] => 00 a2billing.php,1,callback: [2] => 09 a2billing.php,1,callback: [3] => 1 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [extracharge_did] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 1800 a2billing.php,1,callback: [1] => 1900 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [extracharge_fee] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 0 a2billing.php,1,callback: [1] => 0 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [extracharge_buyfee] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [0] => 0 a2billing.php,1,callback: [1] => 0 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [maxtime_tounlimited_calls] => 5400 a2billing.php,1,callback: [maxtime_tofree_calls] => 2 a2billing.php,1,callback: [callplan_deck_minute_threshold] => a2billing.php,1,callback: [disable_announcement_seconds] => 0 a2billing.php,1,callback: [verbosity_level] => 4 a2billing.php,1,callback: [logging_level] => 3 a2billing.php,1,callback: [dial_balance_reservation] => 0.25 a2billing.php,1,callback: [callerid_update] => 0 a2billing.php,1,callback: [cid_auto_create_card] => 0 a2billing.php,1,callback: [cid_auto_create_card_len] => 10 a2billing.php,1,callback: [cid_auto_create_card_typepaid] => PREPAID a2billing.php,1,callback: [cid_auto_create_card_credit] => 0 a2billing.php,1,callback: [cid_auto_create_card_credit_limit] => 0 a2billing.php,1,callback: [cid_auto_create_card_tariffgroup] => 1 a2billing.php,1,callback: [busy_timeout] => 1 a2billing.php,1,callback: [callback_reduce_balance] => 1 a2billing.php,1,callback: [ivr_enable_locking_option] => 0 a2billing.php,1,callback: [ivr_enable_account_information] => 0 a2billing.php,1,callback: [ivr_enable_ivr_speeddial] => 0 a2billing.php,1,callback: [play_rate_cents_if_lower_one] => 0 a2billing.php,1,callback: [callback_beep_to_enter_destination] => 0 a2billing.php,1,callback: [cid_prompt_callback_confirm_phonenumber] => 0 a2billing.php,1,callback: [logger_enable] => 1 a2billing.php,1,callback: [log_file] => /var/log/a2billing/a2billing.log a2billing.php,1,callback: [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000) a2billing.php,1,callback: [currency_association_internal] => Array a2billing.php,1,callback: ( a2billing.php,1,callback: [usd] => dollars a2billing.php,1,callback: [mxn] => pesos a2billing.php,1,callback: [eur] => euros a2billing.php,1,callback: [all] => credit a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: [file_conf_enter_menulang] => prepaid-menulang a2billing.php,1,callback: [ivr_voucher_prefixe] => 8 a2billing.php,1,callback: [cheat_on_announcement_time] => 0 a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: file:a2billing.php - line:106 - uniqueid: - IDCONFIG : 1 a2billing.php,1,callback: file:a2billing.php - line:107 - uniqueid: - MODE : callback a2billing.php,1,callback: file:a2billing.php - line:124 - uniqueid: - AGI Request: a2billing.php,1,callback: Array a2billing.php,1,callback: ( a2billing.php,1,callback: [agi_request] => a2billing.php a2billing.php,1,callback: [agi_channel] => SIP/101-00000025 a2billing.php,1,callback: [agi_language] => en a2billing.php,1,callback: [agi_type] => SIP a2billing.php,1,callback: [agi_uniqueid] => 1308224350.37 a2billing.php,1,callback: [agi_version] => 1.6.2.9 a2billing.php,1,callback: [agi_callerid] => 78888888 a2billing.php,1,callback: [agi_calleridname] => unknown a2billing.php,1,callback: [agi_callingpres] => 0 a2billing.php,1,callback: [agi_callingani2] => 0 a2billing.php,1,callback: [agi_callington] => 0 a2billing.php,1,callback: [agi_callingtns] => 0 a2billing.php,1,callback: [agi_dnid] => unknown a2billing.php,1,callback: [agi_rdnis] => unknown a2billing.php,1,callback: [agi_context] => a2billing-callback a2billing.php,1,callback: [agi_extension] => h a2billing.php,1,callback: [agi_priority] => 1 a2billing.php,1,callback: [agi_enhanced] => 0.0 a2billing.php,1,callback: [agi_accountcode] => 78239600 a2billing.php,1,callback: [agi_threadid] => -1222583408 a2billing.php,1,callback: [agi_arg_1] => 1 a2billing.php,1,callback: [agi_arg_2] => callback a2billing.php,1,callback: ) a2billing.php,1,callback: a2billing.php,1,callback: file:a2billing.php - line:126 - uniqueid: - [INFO : A2Billing - Version 1.9.4 (Cuprum)] a2billing.php,1,callback: file:Class.A2Billing.php - line:718 - uniqueid:1308224350.37 - get_agi_request_parameter = 78888888 ; SIP/101-00000025 ; 1308224350.37 ; 78239600 ; h a2billing.php,1,callback: file:a2billing.php - line:1081 - uniqueid:1308224350.37 - [CALLBACK]:[MODE : CALLBACK] a2billing.php,1,callback: file:a2billing.php - line:1084 - uniqueid:1308224350.37 - [CALLBACK]:[ANSWER CALL] a2billing.php,1,callback: file:a2billing.php - line:1136 - uniqueid:1308224350.37 - [CALLBACK]:[GET VARIABLE : CALLED=16042776785 | CALLING=8521878200 | MODE= | TARIFF= | CBID=65439-uihhvy5 | LEG=78239600] a2billing.php,1,callback: file:a2billing.php - line:1140 - uniqueid:1308224350.37 - [CALLBACK : UPDATE CALLBACK AGI_RESULT : QUERY=UPDATE cc_callback_spool SET agi_result='AGI PROCESSING' WHERE uniqueid='65439-uihhvy5'] a2billing.php,1,callback: file:a2billing.php - line:1144 - uniqueid:1308224350.37 - [CALLBACK]:[TRY : callingcard_ivr_authenticate] a2billing.php,1,callback: file:Class.A2Billing.php - line:2721 - uniqueid:1308224350.37 - - Account code ::> 78239600 a2billing.php,1,callback: file:Class.A2Billing.php - line:2738 - uniqueid:1308224350.37 - - Retrieve account info SQL ::> SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias, status, voicemail_permitted, voicemail_activated, cc_card.restriction, cc_country.countryprefix FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id LEFT JOIN cc_country ON cc_card.country=cc_country.countrycode WHERE username='78239600' a2billing.php,1,callback: file:Class.A2Billing.php - line:2807 - uniqueid:1308224350.37 - [SET CHANNEL(language) en] a2billing.php,1,callback: file:Class.A2Billing.php - line:2811 - uniqueid:1308224350.37 - [credit=53.32873 :: tariff=2 :: status=1 :: isused=1 :: simultaccess=1 :: typepaid=0 :: creditlimit= :: language=en] a2billing.php,1,callback: file:Class.A2Billing.php - line:750 - uniqueid:1308224350.37 - [CARD STATUS UPDATE] a2billing.php,1,callback: file:Class.A2Billing.php - line:759 - uniqueid:1308224350.37 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse+1, credit=credit-0.25 WHERE username='78239600'] a2billing.php,1,callback: file:a2billing.php - line:1151 - uniqueid:1308224350.37 - [CALLBACK]:[Start] a2billing.php,1,callback: file:Class.A2Billing.php - line:2392 - uniqueid:1308224350.37 - [AUTO SetCallerID] a2billing.php,1,callback: file:Class.A2Billing.php - line:2398 - uniqueid:1308224350.37 - [REQUESTED SetCallerID : 78888888] a2billing.php,1,callback: file:Class.A2Billing.php - line:2410 - uniqueid:1308224350.37 - [EXEC SetCallerID : 78888888] a2billing.php,1,callback: file:a2billing.php - line:1169 - uniqueid:1308224350.37 - [CALLBACK]:[CHANNEL STATUS : = Channel is down and available][status_channel=6]:[ORIG_CREDIT : 53.32873 - CUR_CREDIT - : 52.32873 - CREDIT MIN_CREDIT_2CALL : 0] a2billing.php,1,callback: file:Class.A2Billing.php - line:808 - uniqueid:1308224350.37 - use_dnid:1 && (!in_array:) && len_dnid:(10 || len_exten:10 ) && (try_num:0) a2billing.php,1,callback: file:Class.A2Billing.php - line:817 - uniqueid:1308224350.37 - [USE_DNID DESTINATION ::> 8521878200] a2billing.php,1,callback: file:Class.A2Billing.php - line:896 - uniqueid:1308224350.37 - DESTINATION ::> 8521878200 a2billing.php,1,callback: file:Class.A2Billing.php - line:903 - uniqueid:1308224350.37 - RULES APPLY ON DESTINATION ::> 8521878200 a2billing.php,1,callback: file:Class.RateEngine.php - line:98 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: (2, 8521878200)] a2billing.php,1,callback: file:Class.RateEngine.php - line:120 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine - CALLERID : 78888888] a2billing.php,1,callback: file:Class.RateEngine.php - line:182 - uniqueid:1308224350.37 - [rate-engine: Count Total result 1] a2billing.php,1,callback: file:Class.RateEngine.php - line:270 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: Count Total result 1] a2billing.php,1,callback: file:Class.RateEngine.php - line:271 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: number_trunk 1] a2billing.php,1,callback: file:Class.A2Billing.php - line:1019 - uniqueid:1308224350.37 - OK - RESFINDRATE::> 1 a2billing.php,1,callback: file:Class.RateEngine.php - line:285 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT (52.32873)] a2billing.php,1,callback: file:Class.RateEngine.php - line:291 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT: k=0 - res_calcultimeout:1440] a2billing.php,1,callback: file:Class.A2Billing.php - line:1031 - uniqueid:1308224350.37 - RES_ALL_CALCULTIMEOUT ::> 1 a2billing.php,1,callback: file:Class.A2Billing.php - line:1854 - uniqueid:1308224350.37 - TIMEOUT::> 1440 : minutes=24 - seconds=0 a2billing.php,1,callback: file:Class.A2Billing.php - line:2032 - uniqueid:1308224350.37 - [CURRENCY : USD] a2billing.php,1,callback: file:Class.RateEngine.php - line:1245 - uniqueid:1308224350.37 - app_callingcard: Dialing 'SIP/101/1331878200|60|HRrL(1440000:61000:30000)' with timeout of '1440'. a2billing.php,1,callback: a2billing.php,1,callback: file:Class.RateEngine.php - line:1265 - uniqueid:1308224350.37 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'. a2billing.php,1,callback: file:Class.RateEngine.php - line:1157 - uniqueid:1308224350.37 - [TRUNK STATUS UPDATE : UPDATE cc_trunk SET inuse=inuse+1 WHERE id_trunk='3'] -- AGI Script Executing Application: (DIAL) Options: (SIP/101/1331878200,60,HRrL(1440000:61000:30000)) -- Limit Data for this call: == Using SIP RTP CoS mark 5 -- Called 101/1331878200 a2billing.php,1,callback: file:Class.RateEngine.php - line:1274 - uniqueid:1308224350.37 - DIAL SIP/101/1331878200|60|HRrL(1440000:61000:30000) a2billing.php,1,callback: file:Class.RateEngine.php - line:1157 - uniqueid:1308224350.37 - [TRUNK STATUS UPDATE : UPDATE cc_trunk SET inuse=inuse-1 WHERE id_trunk='3'] a2billing.php,1,callback: file:Class.RateEngine.php - line:1426 - uniqueid:1308224350.37 - [USEDRATECARD=0] a2billing.php,1,callback: file:Class.RateEngine.php - line:959 - uniqueid:1308224350.37 - :[sessiontime:0 - id_cc_package_offer:-1 - package2apply:] a2billing.php,1,callback: a2billing.php,1,callback: a2billing.php,1,callback: file:Class.RateEngine.php - line:1042 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_UPDATESYSTEM: usedratecard K=0 - (sessiontime=0 :: dialstatus=CANCEL :: buycost=0 :: cost= : signe_cc_call=-: signe=+)] a2billing.php,1,callback: file:Class.RateEngine.php - line:1107 - uniqueid:1308224350.37 - [CC_asterisk_stop : SQL: DONE : result=1] a2billing.php,1,callback: file:Class.RateEngine.php - line:1108 - uniqueid:1308224350.37 - [CC_asterisk_stop : SQL: INSERT INTO cc_call (uniqueid, sessionid, card_id, nasipaddress, starttime, sessiontime, real_sessiontime, calledstation, terminatecauseid, stoptime, sessionbill, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buycost, id_card_package_offer, dnid, destination) VALUES ('1308224350.37', 'SIP/101-00000025', '1', '', SUBDATE(CURRENT_TIMESTAMP, INTERVAL 0 SECOND) , '0', '0', '8521878200', 4, now() , '-0', '2', '4', '54779', '3', '78888888', '0', '0', NULL, '8521878200', '852')] a2billing.php,1,callback: file:a2billing.php - line:1200 - uniqueid:1308224350.37 - [CALLBACK]:[a2billing end loop num_try] RateEngine->usedratecard=0 a2billing.php,1,callback: file:Class.A2Billing.php - line:750 - uniqueid:1308224350.37 - [CARD STATUS UPDATE] a2billing.php,1,callback: file:Class.A2Billing.php - line:759 - uniqueid:1308224350.37 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse-1, credit=credit+0.25 WHERE username='78239600'] a2billing.php,1,callback: file:a2billing.php - line:1551 - uniqueid:1308224350.37 - [CALLBACK 1ST LEG]:[INFO FOR THE 1ST LEG - callback_username=78239600 a2billing.php,1,callback: file:a2billing.php - line:1552 - uniqueid:1308224350.37 - [CALLBACK 1ST LEG]:[TRY : callingcard_ivr_authenticate] a2billing.php,1,callback: file:Class.A2Billing.php - line:2721 - uniqueid:1308224350.37 - - Account code ::> 78239600 a2billing.php,1,callback: file:Class.A2Billing.php - line:2738 - uniqueid:1308224350.37 - - Retrieve account info SQL ::> SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias, status, voicemail_permitted, voicemail_activated, cc_card.restriction, cc_country.countryprefix FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id LEFT JOIN cc_country ON cc_card.country=cc_country.countrycode WHERE username='78239600' a2billing.php,1,callback: file:Class.A2Billing.php - line:2807 - uniqueid:1308224350.37 - [SET CHANNEL(language) en] a2billing.php,1,callback: file:Class.A2Billing.php - line:2811 - uniqueid:1308224350.37 - [credit=53.32873 :: tariff=2 :: status=1 :: isused=1 :: simultaccess=1 :: typepaid=0 :: creditlimit= :: language=en] a2billing.php,1,callback: file:Class.A2Billing.php - line:750 - uniqueid:1308224350.37 - [CARD STATUS UPDATE] a2billing.php,1,callback: file:Class.A2Billing.php - line:759 - uniqueid:1308224350.37 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse+1, credit=credit-0.25 WHERE username='78239600'] a2billing.php,1,callback: file:a2billing.php - line:1564 - uniqueid:1308224350.37 - [CALLBACK 1ST LEG]:[MAKE BILLING FOR THE 1ST LEG - TARIFF:2;CALLED=16042776785] a2billing.php,1,callback: file:Class.RateEngine.php - line:98 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: (2, 16042776785)] a2billing.php,1,callback: file:Class.RateEngine.php - line:120 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine - CALLERID : 78888888] a2billing.php,1,callback: file:Class.RateEngine.php - line:182 - uniqueid:1308224350.37 - [rate-engine: Count Total result 2] a2billing.php,1,callback: file:Class.RateEngine.php - line:270 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: Count Total result 1] a2billing.php,1,callback: file:Class.RateEngine.php - line:271 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: number_trunk 1] a2billing.php,1,callback: file:Class.RateEngine.php - line:285 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT (53.32873)] a2billing.php,1,callback: file:Class.RateEngine.php - line:291 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT: k=0 - res_calcultimeout:3180] a2billing.php,1,callback: file:a2billing.php - line:1579 - uniqueid:1308224350.37 - [CALLBACK]:[RateEngine -> answeredtime=0] a2billing.php,1,callback: file:Class.RateEngine.php - line:959 - uniqueid:1308224350.37 - :[sessiontime:0 - id_cc_package_offer:-1 - package2apply:] a2billing.php,1,callback: a2billing.php,1,callback: a2billing.php,1,callback: file:Class.RateEngine.php - line:1042 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_UPDATESYSTEM: usedratecard K=0 - (sessiontime=0 :: dialstatus=ANSWERED :: buycost=0 :: cost= : signe_cc_call=-: signe=+)] a2billing.php,1,callback: file:Class.RateEngine.php - line:1107 - uniqueid:1308224350.37 - [CC_asterisk_stop : SQL: DONE : result=1] a2billing.php,1,callback: file:Class.RateEngine.php - line:1108 - uniqueid:1308224350.37 - [CC_asterisk_stop : SQL: INSERT INTO cc_call (uniqueid, sessionid, card_id, nasipaddress, starttime, sessiontime, real_sessiontime, calledstation, terminatecauseid, stoptime, sessionbill, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buycost, id_card_package_offer, dnid, destination) VALUES ('1308224350.37', 'SIP/101-00000025', '1', '', SUBDATE(CURRENT_TIMESTAMP, INTERVAL 0 SECOND) , '0', '0', '16042776785', 1, now() , '-0', '2', '4', '54781', '3', '78888888', '4', '0', NULL, '16042776785', '1')] a2billing.php,1,callback: file:Class.A2Billing.php - line:750 - uniqueid:1308224350.37 - [CARD STATUS UPDATE] a2billing.php,1,callback: file:Class.A2Billing.php - line:759 - uniqueid:1308224350.37 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse-1, credit=credit+0.25 WHERE username='78239600'] -- <SIP/101-00000025>AGI Script a2billing.php completed, returning 0 -- Executing [h@a2billing-callback:2] Hangup("SIP/101-00000025", "") in new stack a2billing.php,1,callback: file:Class.RateEngine.php - line:1274 - uniqueid:1308224350.37 - DIAL SIP/101/1331878200|60|HRrL(1500000:61000:30000) a2billing.php,1,callback: file:Class.RateEngine.php - line:1157 - uniqueid:1308224350.37 - [TRUNK STATUS UPDATE : UPDATE cc_trunk SET inuse=inuse-1 WHERE id_trunk='3'] a2billing.php,1,callback: file:Class.RateEngine.php - line:1422 - uniqueid:1308224350.37 - -> dialstatus : ANSWER, answered time is a2billing.php,1,callback: a2billing.php,1,callback: file:Class.RateEngine.php - line:1426 - uniqueid:1308224350.37 - [USEDRATECARD=0] a2billing.php,1,callback: file:Class.RateEngine.php - line:959 - uniqueid:1308224350.37 - :[sessiontime: - id_cc_package_offer:-1 - package2apply:] a2billing.php,1,callback: a2billing.php,1,callback: a2billing.php,1,callback: file:Class.RateEngine.php - line:1042 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_UPDATESYSTEM: usedratecard K=0 - (sessiontime=0 :: dialstatus=ANSWER :: buycost=0 :: cost= : signe_cc_call=-: signe=+)] a2billing.php,1,callback: file:Class.RateEngine.php - line:1107 - uniqueid:1308224350.37 - [CC_asterisk_stop : SQL: DONE : result=1] a2billing.php,1,callback: file:Class.RateEngine.php - line:1108 - uniqueid:1308224350.37 - [CC_asterisk_stop : SQL: INSERT INTO cc_call (uniqueid, sessionid, card_id, nasipaddress, starttime, sessiontime, real_sessiontime, calledstation, terminatecauseid, stoptime, sessionbill, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buycost, id_card_package_offer, dnid, destination) VALUES ('1308224350.37', 'SIP/101-00000025', '1', '', SUBDATE(CURRENT_TIMESTAMP, INTERVAL 0 SECOND) , '0', NULL, '8521878200', 1, now() , '-0', '2', '4', '54779', '3', '78888888', '0', '0', NULL, '8521878200', '852')] a2billing.php,1,callback: file:a2billing.php - line:1200 - uniqueid:1308224350.37 - [CALLBACK]:[a2billing end loop num_try] RateEngine->usedratecard=0 a2billing.php,1,callback: file:Class.A2Billing.php - line:750 - uniqueid:1308224350.37 - [CARD STATUS UPDATE] a2billing.php,1,callback: file:Class.A2Billing.php - line:759 - uniqueid:1308224350.37 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse-1, credit=credit+0.25 WHERE username='78239600'] a2billing.php,1,callback: file:a2billing.php - line:1551 - uniqueid:1308224350.37 - [CALLBACK 1ST LEG]:[INFO FOR THE 1ST LEG - callback_username=78239600 a2billing.php,1,callback: file:a2billing.php - line:1552 - uniqueid:1308224350.37 - [CALLBACK 1ST LEG]:[TRY : callingcard_ivr_authenticate] a2billing.php,1,callback: file:Class.A2Billing.php - line:2721 - uniqueid:1308224350.37 - - Account code ::> 78239600 a2billing.php,1,callback: file:Class.A2Billing.php - line:2738 - uniqueid:1308224350.37 - - Retrieve account info SQL ::> SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias, status, voicemail_permitted, voicemail_activated, cc_card.restriction, cc_country.countryprefix FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id LEFT JOIN cc_country ON cc_card.country=cc_country.countrycode WHERE username='78239600' a2billing.php,1,callback: file:Class.A2Billing.php - line:2807 - uniqueid:1308224350.37 - [SET CHANNEL(language) en] a2billing.php,1,callback: file:Class.A2Billing.php - line:2811 - uniqueid:1308224350.37 - [credit=53.57873 :: tariff=2 :: status=1 :: isused=0 :: simultaccess=1 :: typepaid=0 :: creditlimit= :: language=en] a2billing.php,1,callback: file:Class.A2Billing.php - line:750 - uniqueid:1308224350.37 - [CARD STATUS UPDATE] a2billing.php,1,callback: file:Class.A2Billing.php - line:759 - uniqueid:1308224350.37 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse+1, credit=credit-0.25 WHERE username='78239600'] a2billing.php,1,callback: file:a2billing.php - line:1564 - uniqueid:1308224350.37 - [CALLBACK 1ST LEG]:[MAKE BILLING FOR THE 1ST LEG - TARIFF:2;CALLED=16042776785] a2billing.php,1,callback: file:Class.RateEngine.php - line:98 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: (2, 16042776785)] a2billing.php,1,callback: file:Class.RateEngine.php - line:120 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine - CALLERID : 78888888] a2billing.php,1,callback: file:Class.RateEngine.php - line:182 - uniqueid:1308224350.37 - [rate-engine: Count Total result 2] a2billing.php,1,callback: file:Class.RateEngine.php - line:270 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: Count Total result 1] a2billing.php,1,callback: file:Class.RateEngine.php - line:271 - uniqueid:1308224350.37 - [CC_asterisk_rate-engine: number_trunk 1] a2billing.php,1,callback: file:Class.RateEngine.php - line:285 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT (53.57873)] a2billing.php,1,callback: file:Class.RateEngine.php - line:291 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT: k=0 - res_calcultimeout:3180] a2billing.php,1,callback: file:a2billing.php - line:1579 - uniqueid:1308224350.37 - [CALLBACK]:[RateEngine -> answeredtime=31] a2billing.php,1,callback: file:Class.RateEngine.php - line:959 - uniqueid:1308224350.37 - :[sessiontime:31 - id_cc_package_offer:-1 - package2apply:] a2billing.php,1,callback: a2billing.php,1,callback: a2billing.php,1,callback: file:Class.RateEngine.php - line:736 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_CALCULCOST: K=0 - CALLDURATION:31 - freetimetocall_used=0 - freetimetocall_left=0] a2billing.php,1,callback: file:Class.RateEngine.php - line:814 - uniqueid:1308224350.37 - [TEMP - CC_RATE_ENGINE_CALCULCOST: 1. COST: -1]:[ (60/60) * 1 ] a2billing.php,1,callback: file:Class.RateEngine.php - line:899 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_CALCULCOST: K=0 - BUYCOST:-0.5 - SELLING COST:-1] a2billing.php,1,callback: file:Class.RateEngine.php - line:1042 - uniqueid:1308224350.37 - [CC_RATE_ENGINE_UPDATESYSTEM: usedratecard K=0 - (sessiontime=31 :: dialstatus=ANSWERED :: buycost=0.5 :: cost=-2 : signe_cc_call=+: signe=-)] a2billing.php,1,callback: file:Class.RateEngine.php - line:1107 - uniqueid:1308224350.37 - [CC_asterisk_stop : SQL: DONE : result=1] a2billing.php,1,callback: file:Class.RateEngine.php - line:1108 - uniqueid:1308224350.37 - [CC_asterisk_stop : SQL: INSERT INTO cc_call (uniqueid, sessionid, card_id, nasipaddress, starttime, sessiontime, real_sessiontime, calledstation, terminatecauseid, stoptime, sessionbill, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buycost, id_card_package_offer, dnid, destination) VALUES ('1308224350.37', 'SIP/101-00000025', '1', '', SUBDATE(CURRENT_TIMESTAMP, INTERVAL 31 SECOND) , '31', '31', '16042776785', 1, now() , '+2', '2', '4', '54781', '3', '78888888', '4', '0.5', NULL, '16042776785', '1')] a2billing.php,1,callback: file:Class.RateEngine.php - line:1132 - uniqueid:1308224350.37 - [CC_asterisk_stop 1.2: SQL: UPDATE cc_card SET credit= credit-2 , lastuse=now(), nbused=nbused+1 WHERE username='78239600'] a2billing.php,1,callback: file:Class.RateEngine.php - line:1137 - uniqueid:1308224350.37 - UPDATE cc_trunk SET secondusedreal = secondusedreal + 31 WHERE id_trunk='3' a2billing.php,1,callback: file:Class.RateEngine.php - line:1141 - uniqueid:1308224350.37 - UPDATE cc_tariffplan SET secondusedreal = secondusedreal + 31 WHERE id='4' a2billing.php,1,callback: file:Class.A2Billing.php - line:750 - uniqueid:1308224350.37 - [CARD STATUS UPDATE] a2billing.php,1,callback: file:Class.A2Billing.php - line:759 - uniqueid:1308224350.37 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse-1, credit=credit+0.25 WHERE username='78239600'] -- <SIP/101-00000025>AGI Script a2billing.php completed, returning -1
|