Commit Graph

49 Commits

Author SHA1 Message Date
DanB
b7445e5e99 Centralized replication/exports using field templates, CDRExporter with less parameters via API - moved to field templates 2016-10-14 18:35:07 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
28d8a76929 CDRC - renamed flatstorePartialRecord into UnpairedRecord, CDRE - moved exportAsRecord code into engine.CDR; MetaHandler with MaskDestination now as MetaMaskedDestination 2016-07-29 19:59:34 +02:00
DanB
180756d1a7 Unify use of filters, fixes #445, fixes #427 2016-05-12 20:28:04 +02:00
Radu Ioan Fericean
10054d353a attempt to fix concurrent map panic 2016-03-29 22:38:38 +03:00
DanB
ee53a1b3de Storage.GetSMCost -> Storage.GetSMCosts, prefix match for OriginID when querying 2016-03-27 20:45:23 +02:00
DanB
608f430db7 Storage - SetSMCost and GetSMCost deprecating LogCallCost and GetLogCallCost, CDRS.StoreSMCost method, adding sm_costs indexes for cgrid+runid and originhost+originid in all dbs supported 2016-03-26 22:17:10 +01:00
Radu Ioan Fericean
54f6d5b02f added mms tor type 2016-01-19 22:01:03 +02:00
DanB
eadd0cbb79 CDR and related TOR -> ToR field 2015-12-28 13:37:43 +01:00
DanB
467c194b7f LogCallCost using the new model, TBLSMCosts 2015-12-27 12:09:37 +01:00
DanB
79d554fa60 Refactoring StoredCdr->CDR, fixes #312 2015-12-05 18:16:28 +01:00
DanB
17eaa13d01 CDRC, CDRE and Diameter config templates change: cdrfield->*composed, metatag->*handler, constant->*constant, http_post->*http_post, MetaTagId->HandlerId 2015-11-26 13:46:44 +01:00
DanB
eece61187d Diameter AsSMGenericEvent to support metahandlers as well as constant values 2015-11-26 12:28:44 +01:00
DanB
2ef26c9be9 New HttpPoster implementation, moved Logger to utils package 2015-10-01 14:47:07 +02:00
DanB
1efd09a655 Configurable default_timezone for timestamps which are missing it, fixes #149, fixes #108 2015-08-19 12:15:28 +02:00
DanB
9b8afb675f Fix uninitialized ExtraFields in exporter 2015-08-06 16:56:53 +02:00
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
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
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
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
d08b77fcb7 Adding TotalCost to export stats 2014-04-16 19:22:57 +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
2bc4e3fb7e Basic implementation of fixed_width cdr export content 2014-03-23 21:17:48 +01:00
DanB
3aecec9bb8 Renaming cdrexporter package into cdre 2014-03-17 10:00:00 +01:00