Commit Graph

59 Commits

Author SHA1 Message Date
DanB
c78953a19f Fix for smsUsageMultiplyFactor being applied for cost multiply 2015-07-09 12:59:28 +02:00
Radu Ioan Fericean
9ffc2a4715 refactored errors 2015-06-13 16:45:09 +03:00
Radu Ioan Fericean
c230169b2a added *generic type of record 2015-06-11 14:52:24 +03:00
DanB
5ce11a28a3 Action *cdrlog to StorDb, moved GetCallCost and LogCallCost in CdrStorage, local tests for *cdrlog 2015-04-29 19:50:03 +02:00
DanB
44fa456eb5 Moving Cdr* from utils to engine package so we can attach CostDetails to StoredCdr 2015-03-22 18:04:38 +01:00
DanB
dd6977e43d Change ReqType to use META(*) as prefix in front of the type for consistency with the rest of the system (eg: prepaid -> *prepaid 2015-03-15 19:16:50 +01:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
DanB
9301918159 Cost mutiply fix 2015-03-05 12:45:22 +01:00
DanB
df27cc4bb0 Exporter fix for cost_details not being parsed by RSRField 2015-02-16 17:05:01 +01:00
DanB
1f459f759b Remove CONCATENATED_FIELD type since it is implemented through the use of combined RSRFields 2015-02-11 19:34:14 +01:00
DanB
654e0cfe12 CdrExporter using Value instead CdrFieldId for better flexibility 2015-02-11 19:31:22 +01:00
DanB
6ed45a52fe RSRField with filterValue support, CDRC implementing instances based on processed folder, import filters 2015-02-08 20:53:56 +01:00
Radu Ioan Fericean
1c16419bb3 more go vet 2015-02-05 23:20:50 +02:00
DanB
8576d8f6fc CdrExporter SmsUsageMultiplyFactor implementation 2015-02-05 18:20:39 +01:00
DanB
211f980329 Default RunId changed to *default for consistency, StoredCdr.Rated property so we can import already calculated CDRs, fixes for SkipErrors and SkipRated API filters for CDRs, created_time fix on MySQL, fix injected Cost when importing from external file and .Rated is false 2015-02-05 17:01:45 +01:00
DanB
6126b69c4e NEW configuration format - cgrates.json 2015-01-18 12:54:07 +01:00
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
DanB
b7b22a39e0 Partial implementation of TPExporter, adding CgrRecordWriter interface 2014-10-17 19:49:04 +02:00
DanB
e4c9cf561a Refactoring CDRE and CDRC configurations and functionality 2014-10-02 19:02:23 +02:00
DanB
a67def57b9 Usage as imported/exported as floated seconds instead of nanoseconds 2014-09-23 11:54:43 +02:00
DanB
a449194b62 CdrExporter with configurable field separator, counters for sms and data usage 2014-07-16 10:56:56 +02:00
DanB
430da9b714 CdrExporter does not longer make differences between .csv and .fwv formats handling, treating fields mandatory property also 2014-07-15 11:59:46 +02:00
DanB
7bdd49b649 StoredCdr.PassesFieldFilter with grouping in regexp rules, fsevent with PassesFieldFilter method for derived charging 2014-07-08 14:32:20 +02:00
DanB
a4b3d94431 Derived charging - fix nil pointer dereference in case of empty fields on fork cdr, cdrexporter correctly returning now empty file path in case of no cdrs to be exported 2014-07-02 19:39:19 +02:00
DanB
ff7f4cac09 Fix CDRExporter to avoid writing empty fwv files, cgr-loader now orders rating recache in case of flushdb option used 2014-07-01 18:27:12 +02:00
DanB
0f5b998c82 Fix cdrexporter processing the stats before built 2014-06-19 11:13:16 +02:00
DanB
c973ea99e2 Fixups CdrExporter, derived charging should not transfer but kill the session if errors onAnswer 2014-06-15 12:22:06 +02:00
DanB
c8ce2ddce2 Adding datetime field to CdrExporter 2014-06-11 19:47:25 +02:00
DanB
196978bcec Adding combimed cdrexporter fields, filter parameter for cdrfields 2014-06-07 12:49:12 +02:00
DanB
cc585cd86e Adding filter value to cdre config 2014-06-06 12:30:54 +02:00
DanB
f9f994cd7e HttpSkipTlsVerify for http client 2014-06-05 11:02:17 +02:00
DanB
7bd66530fe Fixup balance_debit command, cdrexporter supporting http_post field values 2014-06-04 13:46:53 +02:00
DanB
f436346873 Refactored CDRExporter to merge common exports into one mechanism, added CdreConfig type to collect configuration for CDRE from more sources 2014-06-03 19:05:36 +02:00
DanB
c063bc2a21 Adding utils.HttpJsonPost client 2014-05-28 19:33:47 +02:00
DanB
42e9719fed DurationMangle is now bidirectional, cdr exporter properly formating duration 2014-05-26 14:16:35 +02:00
DanB
31881ea41c StoredCdr.FormatUsage now considers Data, StoredCdr.MangleDataUsage to properly export CDR objects 2014-05-26 12:58:00 +02:00
DanB
9bf5f7611b xmlcdrc with setDefaults(), modifying default order of imported and exported cdrs 2014-05-23 21:44:33 +02:00
DanB
e8690fc23e StoredCdr.Duration -> StoredCdr.Usage 2014-05-19 09:24:46 +02:00
DanB
d0d49481a2 ApierV1.GetCdrs method, CDR fields now exported from rated_cdrs table to reflect derived charging, duration layout, added upgrade script for mysql schema 2014-05-15 12:13:03 +02:00
DanB
6ffdb1633f TOR in exported CDRs 2014-05-11 13:46:19 +02:00
DanB
f7abbacfe5 Refactoring CDRs to support RSRFields 2014-05-05 20:14:40 +02:00
Radu Ioan Fericean
25cb5be8c0 refactor CallDuration in DurationIndex and TOR in Category 2014-04-25 21:16:21 +03:00
DanB
d08b77fcb7 Adding TotalCost to export stats 2014-04-16 19:22:57 +02:00
DanB
a3fff42338 FsCgrId -> Sha1, making the CgrId even more uniquely by hashing it with setup time 2014-04-08 17:51:18 +02:00
DanB
b40c3d1653 Decreasing path in case of cdrexporter to /var/log/cgrates/cdre 2014-04-08 11:43:11 +02:00
DanB
9dcd7c0ef4 Adding OrderId to storedCdrs and using it in sql/GetStoredCdrs and exporters 2014-04-08 10:39:09 +02:00
DanB
cd29a3360b Adding costDigitsShift formatting 2014-04-01 16:08:34 +02:00
DanB
cc0534aa8b Fixup masking in the fwv exporter 2014-03-31 20:27:12 +02:00
DanB
46959aaa35 Adding mask destination functionality also in csv exporter 2014-03-29 16:37:51 +01:00
DanB
65d23a1eb5 Adding MaskDestination support in cdrexporter 2014-03-29 14:01:14 +01:00