armirveliaj
c34ae82539
Convert CDR.Opts[*accountsCost] to *utils.EventCharges
2025-02-07 13:26:56 +01:00
gezimbll
c602dbc2a5
added rsparser field in dynamicOpts
...
changed Value field to unexported and created a Value() method
on each dynOpts type that contains logic to create a rsparser
in case the value field a configuration starts with prefix "~"
otherwise it will return the specified value
2025-01-22 17:36:26 +01:00
ionutboangiu
db301f7901
Remove StorDB service param from service constructors
...
Use ServiceIndexer instead.
Remove CDRs ListenAndServe method.
Pass the storDB connection directly to constructors instead of the
channel.
2024-12-12 11:55:14 +01:00
ionutboangiu
d29f84169c
Move cdrs to its own package
...
Moved engine/cdr.go to utils/cdr.go.
Moved engine/cdrs.go and engine/cdrs_test.go to cdrs package.
Moved api functions from cdrs/cdrs.go to cdrs/apis.go. Same for the
tests.
Deleted CDRsV1 type and its methods.
2023-12-12 10:09:18 +01:00
DanB
e93b8a6c6f
engine.Responder with ProcessCdr method, moved cdrs and mediator to engine
2014-07-25 17:44:50 +02:00
DanB
19e994ca8a
Adding CDRSV1.ProcessCdr API to feed cdrs via RPC
2014-07-25 12:25:23 +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
f7abbacfe5
Refactoring CDRs to support RSRFields
2014-05-05 20:14:40 +02:00
DanB
caba3af732
Mediation RPC with rerate abilitites, rename RatedCDR -> StoredCdr, adding storage interface tests
2014-02-03 19:04:42 +01:00
DanB
1bbe5a0a88
CDRc communicating over internal interface with the CDRs
2014-01-25 20:52:32 +01:00
Radu Ioan Fericean
0005ba2f68
RPC server changes
...
rpc server now serves both json and gob, refactored server code into
it's own type
2014-01-22 19:53:30 +02:00
DanB
1db3c550b1
Multiple mediation on same RawCDR, renamed CDR interface into RawCDR
2013-12-26 21:21:29 +01:00
DanB
2ba458524e
CDRS with datetime instead of timestamp, adding run_ids in mediator config section
2013-12-19 20:01:19 +01:00
DanB
87ea266c4a
Go fmt on sources
2013-11-19 20:06:53 +01:00
DanB
3eda5495ea
Adding CGR-CDR handler
2013-11-07 12:35:30 +01:00
Radu Ioan Fericean
411af6ba74
splited storage interface in multiple interfaces
2013-08-27 14:48:01 +03:00
DanB
f07a0cc885
Fixing mediator and related for postpaid rating into storDb
2013-08-07 06:20:56 +02:00
DanB
b04f276fb6
Removing configuration to enable cdr handlers since filtering is based on url and no extra resources are consumed by handlers
2013-08-04 21:29:51 +02:00
Radu Ioan Fericean
ff9f8c82af
started work on generic cdr
2013-07-25 13:51:22 +03:00
Radu Ioan Fericean
6c79fd2092
rater lib changed to engine
2013-07-24 13:38:45 +03:00
DanB
a75c2e7324
Mediator refactoring to support CDR as imput instead of csv row - adding separation of names and indexes, StartTime->AnswerTime, adding reqtype=rated
2013-06-06 12:37:36 +02:00
DanB
a2afe0794a
Fixup timestamps source in cdrs, modified cmd/cgr-rater to support disabling mediator as service in configuration
2013-05-28 14:06:08 +02:00
Radu Ioan Fericean
cd8509084b
cdrs before testing
2013-05-26 21:16:00 +03:00
Radu Ioan Fericean
6345b78a44
cdr server capturing events
2013-05-26 18:24:05 +03:00
Radu Ioan Fericean
e40f4349a8
replace inotify with fsnotify
2013-05-23 15:36:53 +03:00
Radu Ioan Fericean
62511ee9e3
removed name from cdr and it should compile on go1.0.x now
2013-05-23 11:36:09 +03:00
DanB
83ef5b6d6f
Adding CDRS configuration, better handling and testing of the defaults
2013-05-22 12:32:30 +02:00
Radu Ioan Fericean
d7f666e323
more refactorings and cdr test
2013-05-19 20:06:08 +03:00
Radu Ioan Fericean
cdfea5aba4
code reorganization and added cdr interface
2013-05-19 15:57:09 +03:00
Radu Ioan Fericean
6e2b741028
renamed packet
2013-05-17 12:02:38 +03:00
Radu Ioan Fericean
fe4d82b30a
added cdr server files
2013-05-17 11:55:07 +03:00