arberkatellari
5847ceab00
Add and revise tests for offline internal DB
2025-05-13 17:07:17 +02:00
ionutboangiu
bd8c9d3b5e
migrate guardian package to external dep
2025-04-22 19:35:11 +02:00
ionutboangiu
16d131b058
move attributes to dedicated package
2025-04-22 19:33:12 +02:00
ionutboangiu
f56e46e00d
prevent panic when len(AlteredFields) == 0
2025-04-11 12:51:29 +02:00
ionutboangiu
0b26559d1f
move chargers to dedicated package
2025-03-16 16:28:30 +01:00
gezimbll
2f808badb7
added cache parameter in Get*Opts methods
2025-03-12 15:24:18 +01:00
ionutboangiu
24d886c8e0
Pass CGRConfig to DataManager
...
instead of just CacheCfg. Prevents the need of global config var in
engine/datamanager.go
2025-03-10 13:49:34 +01:00
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
gezimbll
2b04066504
added parsing the event for *usage opts in accounts
2025-01-10 12:31:44 +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
3e98e37db3
Revise NewRPCClient helper function
2024-10-23 21:11:25 +02:00
ionutboangiu
8426892ac6
revise integration tests script
2024-08-21 20:59:10 +02:00
ionutboangiu
0f70af84e9
centralize test flags for shared use across tests
2024-08-15 18:17:33 +02:00
ionutboangiu
0dfb3b860d
Centralize RPCClient constructor
2024-08-15 18:17:33 +02:00
ionutboangiu
5228a641e3
Add integration test for cdr apis
2023-12-13 12:47:02 +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
b5f26c00b8
Changed cgrid hash to build using SetupTime.UTC()
2014-07-09 12:31:45 +02:00
DanB
090f7706e8
Small test fix
2014-07-09 11:39:10 +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
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
e8690fc23e
StoredCdr.Duration -> StoredCdr.Usage
2014-05-19 09:24:46 +02:00
DanB
370fc31db8
Adding TOR support inside CDRs
2014-05-09 19:24:38 +02:00
DanB
f7abbacfe5
Refactoring CDRs to support RSRFields
2014-05-05 20:14:40 +02:00
Radu Ioan Fericean
fcdc0c03c7
Merge branch 'data'
...
Conflicts:
engine/calldesc.go
mediator/mediator.go
sessionmanager/fssessionmanager.go
utils/storedcdr.go
2014-04-29 14:13:48 +03:00
DanB
6497a09ae5
RSRules chain implementation
2014-04-27 21:39:52 +02:00
DanB
e01ad95465
cdr AsStoredCdr() -> ForkCdr(), fixup ForkCdr in StoredCdr type
2014-04-27 14:17:36 +02:00
DanB
f0095dbcb3
RawCDR interface now properly returns duration
2014-04-27 09:19:30 +02:00
Radu Ioan Fericean
25cb5be8c0
refactor CallDuration in DurationIndex and TOR in Category
2014-04-25 21:16:21 +03:00
DanB
4e1776d6fd
Discarding FS microseconds information, reverting to seconds since MySQL errors in older versions and default FS csv file uses seconds
2014-04-11 17:12:27 +02:00
DanB
5d9e7bae67
Adding more RSRTests
2014-04-10 19:12:27 +02:00
DanB
9fcf43f8b4
Corelate CgrIds between FS answer_event and FsJsonCdr
2014-04-09 12:23:56 +02:00
DanB
a7b71bae43
Fixup CgrId in FS-SM
2014-04-08 21:30:23 +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
f6d16cecc5
Adding full CDR template in exported CDRs, using RSRFields
2014-03-16 13:11:08 +01:00
DanB
db433a760f
Adding search/replace regexp rules for FreeSWITCH extra fields
2014-03-15 19:17:40 +01:00
Radu Ioan Fericean
6685b7b444
add code comment for fscdr body
2014-03-14 19:31:52 +02:00
Radu Ioan Fericean
e2a50a77fd
search whole cdr if extra field not found in variables
2014-03-14 19:21:56 +02:00
DanB
5ae7a18283
Adding setupTime to CDRs for later stats calculation
2014-03-06 15:47:39 +01:00
DanB
cf0179e505
Adding FS_SIP_REQUSER as fallback variable for destination in case of fscdr
2014-03-02 12:09:09 +01: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
5024944a2b
History basic documentation, FsCgr tests fixup for localtime compliance, SaveInterval config on history server parsed as time.Duration
2013-12-29 14:17:38 +01:00
DanB
2b19fcd408
Finishing fsCdr.AsRatedCdr implementation with tests
2013-12-28 15:58:19 +01:00
DanB
4eee6ddd0e
Adding static field values for multiple mediation in configuration, fmt on sources
2013-12-27 20:02:47 +01:00
DanB
1db3c550b1
Multiple mediation on same RawCDR, renamed CDR interface into RawCDR
2013-12-26 21:21:29 +01:00