Commit Graph

267 Commits

Author SHA1 Message Date
DanB
616a81279e Updating documentation with cdrstats, derived_charging 2014-08-17 14:23:17 +02:00
DanB
a290a6aa6e cgr-loader to automatically reload cdrstats data 2014-08-02 18:30:22 +02:00
DanB
ba3eb3dda4 CdrStatsConfig with defaults 2014-08-01 12:52:43 +02:00
Radu Ioan Fericean
91ac0fd3f2 more fixes for action trigger db load 2014-07-30 18:41:45 +03:00
Radu Ioan Fericean
b012922272 test for cdr stats csv load 2014-07-30 14:23:31 +03:00
Radu Ioan Fericean
4ea9d8f35a Merge branch 'master' into stats
Conflicts:
	apier/mediator.go
	cmd/cgr-engine/cgr-engine.go
	config/config.go
	config/config_test.go
	config/test_data.txt
	engine/cdrs.go
	engine/mediator.go
	general_tests/fsevcorelate_test.go
	test.sh
	utils/apitpdata.go
	utils/consts.go
2014-07-29 12:32:03 +03:00
DanB
7fff0b2aad Merge branch 'OsipsSM' 2014-07-28 18:15:05 +02:00
DanB
a541d32642 Adding SuppressCgrIds parameter on CdrExporter to prevent CgrIds reporting in replies 2014-07-28 16:11:46 +02:00
DanB
1d1aa5d3e1 Adding SupressCgrIds option to disable verbose reporting of Ids exported/not exported 2014-07-28 16:05:32 +02:00
DanB
e93b8a6c6f engine.Responder with ProcessCdr method, moved cdrs and mediator to engine 2014-07-25 17:44:50 +02:00
DanB
f092d517df MediatorV1.RateCdrs with more filter options, renaming cdr arguments to reflect plurals properly 2014-07-23 19:53:52 +02:00
Radu Ioan Fericean
1091f58297 cdr stats csv load (without tests) 2014-07-22 22:10:39 +03:00
Radu Ioan Fericean
8a2adb5e61 SendToStats parameter for mediator methods 2014-07-21 20:19:07 +03:00
DanB
ae78f8fba0 Adding FieldAsString method to extract RatedAccount and RatedSubject, tests 2014-07-17 16:15:25 +02:00
DanB
5430490ec5 Adding RatedAccount and RatedSubject inside StoredCdr 2014-07-17 14:27:06 +02:00
Radu Ioan Fericean
a42015a461 renamed BalanceKey to AccountKey 2014-07-17 11:56:13 +03:00
DanB
a449194b62 CdrExporter with configurable field separator, counters for sms and data usage 2014-07-16 10:56:56 +02:00
DanB
31a573fde4 RSRField parser to accept one letter replace templates 2014-07-11 18:22:50 +02:00
DanB
d47e1bf53b DerivedCharging run filters are now chained 2014-07-11 10:28:01 +02:00
DanB
e808168d52 Merging old ParseRSRFields from config with new one in utils 2014-07-09 17:49:25 +02:00
DanB
22670e12a8 Logic to handle multiple derived charging run filters inside mediator and session manager 2014-07-09 15:21:42 +02:00
DanB
b5f26c00b8 Changed cgrid hash to build using SetupTime.UTC() 2014-07-09 12:31:45 +02:00
DanB
6d00cce055 Adding ParseRSRFields for list of RSRFields, modifying NewRSRField static format to add suffix / 2014-07-08 18:55:37 +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
03fa289a8d Removing debug log 2014-07-07 19:26:59 +02:00
DanB
f77e6f03f3 Allow derived charging regexp filters with empty templates 2014-07-07 19:22:43 +02:00
DanB
e96251aba3 RegexpSearchReplace rule has now Matched field to confirm matching, DerivedChargers has now Regexp support in filters 2014-07-07 17:48:59 +02:00
DanB
31b421c755 Loader for derived charging filters, using derived chargers filters within mediator and session manager, filter implementation inside StoredCdr 2014-07-07 11:34:23 +02:00
DanB
9b37e97cc2 RunFilter in DerivedChargers, ParseEventValue accepting RSRField in FreeSWITCH event 2014-07-04 20:05:27 +02:00
DanB
a014ef8401 Cdrc to accept static fields in case of .csv files 2014-07-03 19:50:14 +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
6b1a67d4f5 Expanding CallStatsConfig 2014-06-05 20:04:44 +02:00
DanB
f9f994cd7e HttpSkipTlsVerify for http client 2014-06-05 11:02:17 +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
18629002a6 StoredCdr.AsCgrCdrOut() with tests 2014-05-28 12:54:03 +02:00
DanB
4f95f56284 Usage stored as decimal in MySQL, more tests and sample tariff plan data 2014-05-28 09:36:16 +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
e6aaf24a14 Small rule fixup regexp + prefixing E164 numbers 2014-05-25 19:35:41 +02:00
DanB
00248b16dc General tests and configs for multiple cdrc imports 2014-05-25 16:23:05 +02:00
DanB
9bf5f7611b xmlcdrc with setDefaults(), modifying default order of imported and exported cdrs 2014-05-23 21:44:33 +02:00
DanB
5fe65f203c Adding compressed date string parsing, sample multiple cdrc with fw exporter as .xml 2014-05-21 20:10:40 +02:00
DanB
cb33f01695 Adding xml configuration for cdrc 2014-05-20 13:41:02 +02:00
DanB
1ad4068d73 Fixup CdrServer receiving nanoseconds as usage, more tests 2014-05-19 17:50:31 +02:00
DanB
d5f6df9473 Destination optional when forking Data Cdrs, adding mediation local tests for rated data charging 2014-05-19 10:46:12 +02:00
DanB
66d9377c53 DerivedChargers DurationField -> UsageField 2014-05-19 10:21:20 +02:00
DanB
e8690fc23e StoredCdr.Duration -> StoredCdr.Usage 2014-05-19 09:24:46 +02:00
DanB
aaeac3329a CgrCdr duration->usage to comply with data CDRs 2014-05-18 22:04:16 +02:00
DanB
9bea2fa7d7 Adding datacost console command, test getDataCost 2014-05-18 18:13:59 +02:00