Commit Graph

57 Commits

Author SHA1 Message Date
DanB
6434116c57 Fix remote method in CDRS, influenced double charging for prepaid calls 2015-08-20 14:41:47 +02:00
DanB
1efd09a655 Configurable default_timezone for timestamps which are missing it, fixes #149, fixes #108 2015-08-19 12:15:28 +02:00
DanB
5e3163f5c2 Do not provide Cost in *load_distribution strategy 2015-08-05 13:50:22 +02:00
DanB
c638683756 Paginator for GetLcr requests 2015-08-04 21:38:05 +02:00
Radu Ioan Fericean
c80a6d7857 added paginator for GetLcr 2015-08-04 19:29:17 +03:00
DanB
679b89d49b Adding Account and User attributes to tutorial/Users.csv, removing .Debug through code 2015-07-31 18:14:08 +02:00
DanB
9bd7ef2c37 SM-FreeSWITCH: fix postpaid calls not being allowed out, Various local test fixes and preparations for release 2015-07-31 16:29:46 +02:00
DanB
a158793845 UserS methods in both CallDescriptor and StoredCdr, fixes #129 2015-07-29 17:11:40 +02:00
Radu Ioan Fericean
e89c06952e renamed AccLock to Guardian 2015-07-10 23:28:53 +03:00
DanB
840c46ef1a Populate Subject with Account information when missing, fixes #78 2015-07-08 11:37:26 +02:00
DanB
309ee81db7 Adding test for ApierV1.MaxUsage, fix Responder.GetDerivedMaxSessionTime to consider usage of the event 2015-07-01 20:09:19 +02:00
Radu Ioan Fericean
b32e441505 better stats shutdown 2015-06-23 17:46:09 +03:00
Radu Ioan Fericean
e7224a4a39 started derived chargers move, tests failing 2015-06-12 12:38:23 +03:00
Radu Ioan Fericean
78764e9979 refund tests 2015-06-10 14:40:20 +03:00
Radu Ioan Fericean
56986230ad refund everything on duplicate callcost log 2015-06-09 21:02:08 +03:00
Radu Ioan Fericean
ab9280dbe5 first draft of stale sessions protection 2015-06-09 14:37:48 +03:00
Radu Ioan Fericean
afea97d0b5 use cdrs for callcost logging 2015-06-09 11:45:30 +03:00
Radu Ioan Fericean
253d3e4f0a return error on missing rate intervals 2015-05-20 14:12:21 +03:00
DanB
aee3486a9c Initial setLcr implementation in SM-FreeSWITCH 2015-04-27 18:10:40 +02:00
DanB
0d147f42b4 APIer.Load* - reload scheduler only when APs are present, small responder fix for LCR, more LCR tests 2015-04-14 19:22:54 +02:00
Radu Ioan Fericean
4bda71a660 only one lcr entry per cd 2015-04-08 09:59:39 +03:00
Radu Ioan Fericean
eb60e6caf5 fix for the lock issue 2015-04-03 22:33:16 +03:00
Radu Ioan Fericean
8037f99cb8 further account guard simplification 2015-04-03 21:49:52 +03:00
Radu Ioan Fericean
4926e33528 simplified account locking and more lcr qos 2015-04-03 19:21:26 +03:00
Radu Ioan Fericean
c020ab02ea shaping lcr qos 2015-04-02 18:00:36 +03:00
DanB
7677a5ff89 Merged CDRS with Mediator for more code robusness and improve replication mechanism; adding CdrFilters inside CdrReplication 2015-03-27 18:29:28 +01:00
DanB
44fa456eb5 Moving Cdr* from utils to engine package so we can attach CostDetails to StoredCdr 2015-03-22 18:04:38 +01:00
DanB
dd6977e43d Change ReqType to use META(*) as prefix in front of the type for consistency with the rest of the system (eg: prepaid -> *prepaid 2015-03-15 19:16:50 +01:00
DanB
f3354080fc Responder.GetDerivedMaxSessionTime and GetSessionRuns now taking concrete types as parameters instead of interfaces for easy RPC integration, added fs_evsock tutorial files, removed fs_csv and fs_json to keep tutorial simple to maintain 2015-03-10 12:04:40 +01:00
DanB
96d4b6c28b Multiple SessionManagers started out out of the same engine, configuration refactoring completed for SessionManagers 2015-03-06 20:55:31 +01:00
DanB
01f1b9aa64 ApierV1.GetMaxSessionTime, make direction, tenant, account and subject optional in ApierV1.SetDerivedChargers 2015-02-18 19:35:12 +01:00
DanB
6126b69c4e NEW configuration format - cgrates.json 2015-01-18 12:54:07 +01:00
DanB
ea3a9e6dee Responder.GetSessionRuns, SM-Kamailio with prepaid support 2015-01-01 15:57:21 +01:00
DanB
ff60061a84 Event interface containing AsEvent instead of New, for better readability outside of sessionmanager package, storedCdr supporting event interface for testing purposes, Responder.GetDerivedMaxSessionTime tests 2014-12-22 18:47:12 +01:00
DanB
3c2c21e990 Responder.GetDerivedMaxSessionTime with build in derived charging calculation 2014-12-22 08:29:05 +01:00
Radu Ioan Fericean
b4d743b73b saner hoepfully better GetNextTime
also improved status response
2014-09-30 00:21:51 +03:00
DanB
e93b8a6c6f engine.Responder with ProcessCdr method, moved cdrs and mediator to engine 2014-07-25 17:44:50 +02:00
DanB
192ce121de Adding re-connecting rpc client 2014-07-11 16:40:38 +02:00
DanB
056b9c6c61 Fixup Responder.GetDerivedCharging, adding localtests for both ApierV1.GetDerivedCharging and Responder.GetDerivedCharging 2014-06-17 12:51:18 +02:00
Radu Ioan Fericean
48de7f3c30 Merge branch 'master' into refactor
Conflicts:
	sessionmanager/fssessionmanager.go
	sessionmanager/session.go
2014-04-25 21:42:48 +03:00
Radu Ioan Fericean
4ffc8555a1 new call descryptor type attribute 2014-04-24 22:42:14 +03:00
DanB
90ab47ade9 Session manager refactoring to work with derived charging 2014-04-24 13:39:52 +02:00
DanB
b1b3f4ab18 More derived charging infrastucture and tests 2014-04-24 10:14:02 +02:00
DanB
2a253892c5 Refactoring the code around derived charging to support integration with responder for internal requests, some of the copyright headers updated with new slogan 2014-04-23 20:48:43 +02:00
DanB
f1b639b04e Fixup responder trying to read nil in case of errors coming from above, adding some XML parsing tests 2014-04-16 10:51:27 +02:00
Radu Ioan Fericean
8276ea73b7 removed amount related stuff from calldesc 2014-03-31 14:06:46 +03:00
Radu Ioan Fericean
7831a53797 renamed USerBalance to Account 2014-02-21 14:37:31 +02:00
Radu Ioan Fericean
4638bad4d1 replaced storageGetter with dataStorage 2013-12-17 22:37:51 +02:00
Radu Ioan Fericean
e03bbc9b96 started accounting storage 2013-12-17 21:19:38 +02:00
Radu Ioan Fericean
950a357127 more fixes and test for credit refounding 2013-12-13 17:26:14 +02:00