Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ben.morris@prepay-1:/var/log/gradwell/VoIPPrepayServer$ grep 4689382 2017-11-09--10
- [2017-11-09 10:11:47] [16458] INFO: Retrieving Customer ID 4689382
- [2017-11-09 10:11:47] [16458] TRACE: Queueing refresh for key customer/backend/customer_id=4689382 (97d35214-8cda-4adc-9211-7f6292db630f)
- [2017-11-09 10:11:47] [16458] TRACE: Cache hit (positive) for customer/backend/customer_id=4689382
- [2017-11-09 10:11:47] [16458] DEBUG: Customer ID 4689382 mapping Gradwell -> Gradwell::Customer::Repository::Gradwell
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Repository::Gradwell::cust_id_db/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14156: SELECT * FROM `customers` WHERE `cust_id` = '4689382'
- [2017-11-09 10:11:47] [16458] TRACE: Lookup in database for customer 4689382, success, $VAR1 = {
- [2017-11-09 10:11:47] [16458] TRACE: 'cust_email' => '4689382-1cbeea26597258f2dd88d2fe7b7ad1ae',
- [2017-11-09 10:11:47] [16458] TRACE: 'cust_id' => '4689382',
- [2017-11-09 10:11:47] [16458] INFO: inclusive_seconds: ================= (447799148398, 10800, 4689382, 1510222307) ==============
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14159: SELECT * FROM `cp_inc_sec_left` WHERE `cust_id` = '4689382'
- [2017-11-09 10:11:47] [16458] INFO: inclusive_seconds: will look for inclusive minutes for 447799148398/10800/4689382
- [2017-11-09 10:11:47] [16458] TRACE: FROM customer_packages cp INNER JOIN package p ON cp.package_id = p.id WHERE cp.cust_id = 4689382 AND
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Repository::Gradwell::customer_hold/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=hosting;hostname=voipdb.gradwell.net (RO): Query #878: SELECT `status` FROM `statement_cache` WHERE `cust_id` = '4689382'
- [2017-11-09 10:11:47] [16458] TRACE: onHold(4689382): 0, returning and storing to cache
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Metadata::Repository::Default::metadata/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=gw_shared;hostname=voipdb.gradwell.net (RO): Query #251: SELECT `customer_id`,`tier_id`,`is_trusted`,`password`,`pin` FROM `customer_metadata` WHERE `customer_id` = '4689382'
- [2017-11-09 10:11:47] [16458] INFO: Considering customer 4689382 as trusted because they have no tier
- [2017-11-09 10:11:47] [16458] INFO: Restrictions on customer_id 4689382: none (is trusted)
- [2017-11-09 10:11:47] [16458] TRACE: 4689382, 900
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Billing::VoIP::Prepay::remaining_amount/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14161: SELECT SUM(remaining_amount) as remaining_amount FROM prepay_topup WHERE customer_id = 4689382
- [2017-11-09 10:11:47] [16458] INFO: Customer 4689382 has no Tier: it will use legacy credit logic
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Repository::Gradwell::ub-sms/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14162: SELECT COUNT(1) `c` FROM `sms_log` WHERE `cust_id` = '4689382' AND `sms_billed` = '0'
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Repository::Gradwell::ub-data/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14163: SELECT SUM(cost) AS cost FROM mobile_data_usage WHERE invoiced = 0 AND cust_id = 4689382
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14164: SELECT SUM(ws_cost) AS ws_cost FROM mobile_data_usage WHERE ws_cust_id > 0 AND ws_invoiced = 0 AND cust_id = 4689382
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::VoIP::Billing::CDR::unbilled_cdr_cache_2/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14165: SELECT * FROM `cdr_unbilled_cache` WHERE `cust_id` = '4689382'
- [2017-11-09 10:11:47] [16458] DEBUG: [Credit:4689382] got cost=0 ws_cost=0 agent_cost=0 from cache
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Repository::Gradwell::queuedinvoices/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=hosting;hostname=voipdb.gradwell.net (RO): Query #879: SELECT SUM(price) AS price FROM netsuite_invoice ni, netsuite_invoice_item nii WHERE nii.saved = 0 AND nii.invoice_id = ni.id AND cust_id = 4689382
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Repository::Gradwell::recurbill/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=hosting;hostname=voipdb.gradwell.net (RO): Query #880: SELECT item_vat_code, SUM(unit_price * quantity) AS price, prod_code, unit_price, quantity FROM recur_bill WHERE prod_code LIKE 'voip-calls%' AND cust_id = 4689382 GROUP BY item_vat_code
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Repository::Gradwell::balanceAndCreditLimit/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=hosting;hostname=voipdb.gradwell.net (RO): Query #881: SELECT `creditLimit`,`balance` FROM `customer_cache` WHERE `cust_id` = '4689382' AND `parent_ns_id` IS NULL
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net: Query #1312: SELECT SUM(pence)/100 AS p FROM prepay_tickdown WHERE cust_id = 4689382 AND cancelled = 0 AND billed = 0
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net: Query #1313: SELECT SUM(ws_pence)/100 AS p FROM prepay_tickdown WHERE ws_cust_id = 4689382 AND cancelled = 0 AND billed = 0
- [2017-11-09 10:11:47] [16458] DEBUG: [Credit:4689382] active calls 0 + ws 0
- [2017-11-09 10:11:47] [16458] INFO: [Credit:4689382] active calls now at 0 (added VAT)
- [2017-11-09 10:11:47] [16458] TRACE: [Credit:4689382] Have got unbilled sms 0, unbilled calls 0, unbilled agent calls 0, unbilled data 0, balance 0, active calls 0
- [2017-11-09 10:11:47] [16458] TRACE: [Credit:4689382] Credit balance is 0 (credit_limit 0 - balance 0)
- [2017-11-09 10:11:47] [16458] TRACE: [Credit:4689382] result is 0 = bal 0 - (ub 0 + rb 0 + qi 0 + ac 0)
- [2017-11-09 10:11:47] [16458] TRACE: [Credit:4689382] reseller 'gradwell' for 4689382 not found or not a premier partner
- [2017-11-09 10:11:47] [16458] DEBUG: [Credit:4689382] credit cache update: cust_id=4689382 credit=0 credit_full=0
- [2017-11-09 10:11:47] [16458] DEBUG: Customer 4689382 has 0 of credit
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::Customer::Repository::cdr_today/4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14166: SELECT SUM(cost) / 10 AS cost FROM cdr_bill_2017_11 WHERE calldate >= '2017-11-09 00:00:00' AND cust_id = 4689382
- [2017-11-09 10:11:47] [16458] DEBUG: CACHE HIT: getActiveCalls(4689382) = 0
- [2017-11-09 10:11:47] [16458] DEBUG: enduser 4689382 has 3 bundles
- [2017-11-09 10:11:47] [16458] TRACE: Cache miss for Gradwell::VoIP::Billing::TelcoCostPolicy::4689382 - TTL 600/600
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14170: SELECT `blocked` FROM `telco_cost_policy` WHERE `cust_id` = '4689382'
- [2017-11-09 10:11:47] [16458] DEBUG: Gradwell::VoIP::Billing::TelcoCostPolicy; customer 4689382 is NOT blocked via telco_cost_policy table lookup
- [2017-11-09 10:11:47] [16458] TRACE: Cache hit (negative) for Gradwell::Billing::VoIP::Prepay::remaining_amount/4689382
- [2017-11-09 10:11:47] [16458] TRACE: Cache hit (negative) for Gradwell::Customer::Repository::Gradwell::ub-sms/4689382
- [2017-11-09 10:11:47] [16458] TRACE: Cache hit (negative) for Gradwell::Customer::Repository::Gradwell::ub-data/4689382
- [2017-11-09 10:11:47] [16458] TRACE: Cache hit (positive) for Gradwell::VoIP::Billing::CDR::unbilled_cdr_cache_2/4689382
- [2017-11-09 10:11:47] [16458] DEBUG: [Credit:4689382] got cost=0 ws_cost=0 agent_cost=0 from cache
- [2017-11-09 10:11:47] [16458] TRACE: Cache hit (negative) for Gradwell::Customer::Repository::Gradwell::queuedinvoices/4689382
- [2017-11-09 10:11:47] [16458] TRACE: Cache hit (negative) for Gradwell::Customer::Repository::Gradwell::recurbill/4689382
- [2017-11-09 10:11:47] [16458] TRACE: Cache hit (positive) for Gradwell::Customer::Repository::Gradwell::balanceAndCreditLimit/4689382
- [2017-11-09 10:11:47] [16458] DEBUG: CACHE HIT: getActiveCalls(4689382) = 0
- [2017-11-09 10:11:47] [16458] TRACE: [Credit:4689382] Have got unbilled sms 0, unbilled calls 0, unbilled agent calls 0, unbilled data 0, balance 0, active calls 0
- [2017-11-09 10:11:47] [16458] TRACE: [Credit:4689382] Credit balance is 0 (credit_limit 0 - balance 0)
- [2017-11-09 10:11:47] [16458] TRACE: [Credit:4689382] result is 0 = bal 0 - (ub 0 + rb 0 + qi 0 + ac 0)
- [2017-11-09 10:11:47] [16458] TRACE: [Credit:4689382] reseller 'gradwell' for 4689382 not found or not a premier partner
- [2017-11-09 10:11:47] [16458] DEBUG: [Credit:4689382] credit cache update: cust_id=4689382 credit=0 credit_full=0
- [2017-11-09 10:11:47] [16458] INFO: SENDING NO CREDIT NOTICE TO ENDUSER 4689382/gradwell, WHO HAS 0 CREDIT
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14175: SELECT * FROM credit_warning WHERE cust_id = 4689382 AND cw_type = 'No Credit'
- [2017-11-09 10:11:47] [16458] INFO: dbi:mysql:database=voip;hostname=voipdb.gradwell.net: Query #1314: INSERT INTO credit_warning (`cust_id`, `cw_credit`, `cw_date`, `cw_dst`, `cw_pending`, `cw_src`, `cw_type`) VALUES ('4689382', NULL, '2017-11-09 10:11:47', '07799148398', '1', '2348671', 'No Credit')
- [2017-11-09 10:11:47] [16458] TRACE: dbi:mysql:database=voip;hostname=voipdb.gradwell.net (RO): Query #14176: SELECT * FROM play_credit_announce WHERE cust_id = '4689382'
- [2017-11-09 10:11:47] [16458] INFO: dbi:mysql:database=voip;hostname=voipdb.gradwell.net: Query #1315: INSERT INTO blocked_call (`cust_id`, `dest_num`, `int_id`, `ip`, `reason`, `src_num`, `ts`) VALUES ('4689382', '447799148398', '456942', '109.224.240.148', 'credit', '02071838498', '2017-11-09 10:11:47')
- ben.morris@prepay-1:/var/log/gradwell/VoIPPrepayServer$ grep 16458 2017-11-09 | 10:11:47
- -bash: 10:11:47: command not found
- grep: 2017-11-09: No such file or directory
- ben.morris@prepay-1:/var/log/gradwell/VoIPPrepayServer$ zgrep 16458 2017-11-09 | 10:11:47
- -bash: 10:11:47: command not found
- gzip: 2017-11-09.gz: No such file or directory
- ben.morris@prepay-1:/var/log/gradwell/VoIPPrepayServer$ grep 16458 2017-11-09 | 10:11:47
- -bash: 10:11:47: command not found
- grep: 2017-11-09: No such file or directory
- ben.morris@prepay-1:/var/log/gradwell/VoIPPrepayServer$ grep 16458 2017-11-09
- grep: 2017-11-09: No such file or directory
- ben.morris@prepay-1:/var/log/gradwell/VoIPPrepayServer$ grep 16458 2017-11-09
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement