Commit Graph

418 Commits

Author SHA1 Message Date
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
Radu Ioan Fericean
4e8049a124 Merge branch 'master' into hapool 2016-01-04 14:56:31 +02:00
DanB
dad5a240a0 StorDB.GetCDRs with remove support 2016-01-02 12:15:55 +01:00
Radu Ioan Fericean
2ae475b355 Merge branch 'master' into hapool 2015-12-31 18:04:13 +02: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
a43a695a3b cdrs expose rpc methods 2015-12-23 00:18:16 +02:00
Radu Ioan Fericean
bcd9eccf74 make cdrs implement RpcClient 2015-12-21 20:36:47 +02:00
Radu Ioan Fericean
6162e21d91 compilation fix 2015-12-21 11:56:02 +02:00
Radu Ioan Fericean
06c262119a Merge branch 'master' into hapool 2015-12-18 18:03:35 +02: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
Radu Ioan Fericean
b36d5cdb1d Merge branch 'master' into hapool 2015-11-30 20:12:41 +02: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
e590329321 fixed stats calls 2015-11-27 10:56:19 +02:00
Radu Ioan Fericean
16e0eba5bd removed all proxy classes 2015-11-26 23:02:03 +02: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
Radu Ioan Fericean
f68dc3fcfd using rpc client instead of connector 2015-11-25 19:27:01 +02: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
DanB
abbfd8270c Rated and Cost fields inside derived charging 2015-10-05 08:33:27 +02:00
DanB
2e61fcf5bb HttpPoster implementation in CDR replication and actions with call_url, new configuration parameters added: http_failed_dir, replication attempts, fixes #201, Rated bug fix in CDRC, Cost imported via CDRC in templates now 2015-10-02 18:13:29 +02:00
DanB
2ef26c9be9 New HttpPoster implementation, moved Logger to utils package 2015-10-01 14:47:07 +02:00
Radu Ioan Fericean
33176caae3 return callcost with -1 cost on error 2015-09-29 12:42:20 +03:00
DanB
50197116df Moved aliasing for CDRs into CdrServer to have it centralized for other methods pushing CDRs 2015-09-19 21:21:22 +02:00
Radu Ioan Fericean
631ca167a6 added LoadAlias method and used it in responder
fixes #177
2015-09-18 13:32:19 +03:00