Radu Ioan Fericean
10054d353a
attempt to fix concurrent map panic
2016-03-29 22:38:38 +03:00
DanB
4e1b0ab7d1
Merge fix
2016-03-29 20:20:18 +02:00
DanB
2eb177799a
CDRS - correct Usage from sm_costs only when CDR usage is 0
2016-03-29 20:07:03 +02:00
DanB
3ac526a05e
CDRS forking rated CDRs depending on smg_costs, smg_costs indexing update to include origin_id also
2016-03-29 19:55:29 +02:00
Radu Ioan Fericean
587a23e2cc
fix potential concurent map panic
2016-03-29 20:16:07 +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
DanB
d357663aac
SMG - OriginIDPrefix support to terminate sessions starting with same prefix
2016-03-25 19:13:06 +01:00
Radu Ioan Fericean
4ff66e0883
populate cdr Usage
2016-03-24 17:39:47 +02:00
Radu Ioan Fericean
a8629fda07
sitch aliases - users order
2016-03-16 12:31:45 +01:00
Radu Ioan Fericean
758f7b4a4a
apply aliases/users before derived charging
2016-03-16 11:42:54 +01:00
Radu Ioan Fericean
66451d0d08
revert to older gorm version
2016-03-09 14:49:11 +02:00
Radu Ioan Fericean
3b25c110d4
updated to latest lib versions and fixed deps
2016-03-09 00:05:25 +02:00
Radu Ioan Fericean
f3c65f7614
postpaid rounding
2016-03-05 11:42:50 +02:00
Radu Ioan Fericean
06d33d0dec
fix for wrong cdr cost
2016-01-28 18:59:44 +02:00
DanB
5b828ec98f
Diameter event publishing, fixes #263
2016-01-24 16:04:10 +01:00
Radu Ioan Fericean
c3e8901b55
more updates on RatedUsage, fixes #337
2016-01-20 18:44:15 +02:00
Radu Ioan Fericean
4d6be144c3
added RatedUsage to call cost
2016-01-20 15:59:56 +02:00
DanB
dad5a240a0
StorDB.GetCDRs with remove support
2016-01-02 12:15:55 +01:00
DanB
e20e909d58
Fix time initialization for RateCDRs, mongodb local tests completed
2015-12-31 12:16:10 +01:00
DanB
d846ba6145
cdrs.RateCDRs taking CDRsFilter to be compatible with GetCDRs of stordb
2015-12-31 11:58:13 +01:00
DanB
dfdf8321af
OrderID implementation and tests for all 3 storDBs
2015-12-30 18:15:58 +01:00
DanB
eadd0cbb79
CDR and related TOR -> ToR field
2015-12-28 13:37:43 +01:00
DanB
b8f90ee94f
CDRS does not longer log debits, fix integration tests
2015-12-28 12:12:13 +01:00
DanB
467c194b7f
LogCallCost using the new model, TBLSMCosts
2015-12-27 12:09:37 +01:00
DanB
704b0811f3
Resolving conflicts from master
2015-12-27 11:17:05 +01:00
Radu Ioan Fericean
ec003006b0
improved guardian
2015-12-14 16:53:51 +02:00
DanB
541a308e0e
Fix CDRS processing for *raw CDRs, apierv2/cdrs tests fixes for both MySQL and Postgres
2015-12-13 19:39:47 +01:00
DanB
ab7f65d3bb
CDRS to work with *raw CDRs
2015-12-13 18:03:14 +01:00
DanB
eb2e8f6876
Unified storage SetCdr and SetRatedCdr into SetCDR, engine/storage_cdrs_it_test should automate testing for the supported StoredDb drivers
2015-12-13 17:28:55 +01:00
DanB
16beb55df8
Fix conflicts from master
2015-12-13 11:31:26 +01:00
DanB
9ca8bd8522
CDRS considers NotFound from mongo, improvements for diameter agent
2015-12-10 14:05:15 +01:00
DanB
35b6a5087c
Engine tbl_cdrs refactoring, CDR.ReqType -> RequestType
2015-12-06 10:18:17 +01:00
DanB
79d554fa60
Refactoring StoredCdr->CDR, fixes #312
2015-12-05 18:16:28 +01:00
DanB
ea5a8a3893
CDRS fix answer time in case of unanswered calls, fixes #300
2015-11-29 17:09:20 +01:00
DanB
d3c326c372
Fix AddAccountAliases and AddRatingSubjectAliases APIs, fix deadlock in updateAlias
2015-11-27 20:52:43 +01:00
Radu Ioan Fericean
88c5364f60
removed log
2015-11-26 17:35:22 +02:00
DanB
5e35936b73
Test cost 0 for not authorized destination
2015-11-26 14:17:56 +01:00
DanB
eece61187d
Diameter AsSMGenericEvent to support metahandlers as well as constant values
2015-11-26 12:28:44 +01:00
rinor
53a8b80ed3
small fix: log and function name
...
- sessionmanager/fssessionmanager.go : fix log
- cmd/cgr-engine/cgr-engine.go : rename RegisterHanlersToServer to RegisterHandlersToServer
- engine/cdrs.go : rename RegisterHanlersToServer to RegisterHandlersToServer
2015-11-23 22:50:31 +01:00
DanB
33b3cbbcd1
Tests for re-rating
2015-11-21 12:09:31 +01:00
DanB
619e5c535c
CDRS.RateCdrs fixed for re-rating
2015-11-21 10:03:11 +01:00
DanB
2ee6802d4c
Query costs for 0 duration prepaid calls in CDRS, fixes #290
2015-11-18 09:24:23 +01:00
Radu Ioan Fericean
83c18d469b
added DerivedChargers DestinationIds filter
2015-11-13 16:31:32 +02:00
DanB
685b0b1e63
Moving Server into utils so we can access it from SM also
2015-10-29 09:40:58 +01:00
DanB
4ee1200c64
CDRS not processing CDR further if it cannot store it (eg on duplicates), fixes #243
2015-10-18 19:48:50 +02:00
DanB
77316a16e4
First cut of SureTax implementation, with integration tests
2015-10-18 19:42:56 +02:00
DanB
831e633281
Compress a bit GetFileName of CdrReplicationCfg
2015-10-13 12:43:33 +02:00
DanB
af1d8e3cc5
Small modifications on CDR rplication, http_text does not make much sense
2015-10-13 12:34:33 +02:00
Eloy Coto
140ef92928
Issue #234 :
...
Added http_post and http_text on Cdrs Replication
Added as default 1 attemps in cdrs_replication (Old json version
doesn't have this option)
Added url scape on servername when file fallback is created. If not
can't be created
2015-10-09 15:15:02 +01:00