Commit Graph

680 Commits

Author SHA1 Message Date
DanB
e3be7f9016 Return usage as 0 in case of errors on SMG.GetMaxUsage to cope with OpenSIPS 2017-05-12 11:53:28 +02:00
DanB
4d41c6552c ResourceLimit with AllocationMessage 2017-05-11 21:20:56 +02:00
DanB
3f959ae267 Kamailio SM with RL support 2017-05-09 18:20:03 +02:00
DanB
230670e687 Capture ResourceAllowed in kamailio event tests 2017-05-07 21:20:40 +02:00
DanB
5378c511b6 SMKamailio replacing cdrstats with rls in config, resource limit APIs in auth and call end, ResourceAllowed in auth reply 2017-05-07 21:13:49 +02:00
DanB
6c1ab56bc5 Passing CDRStatS connection pool to SMKamailio 2017-05-07 18:37:43 +02:00
DanB
2c38d4ffac ResourceLimits with standalone RPC object, renaming of RPC methods 2017-05-06 21:28:43 +02:00
DanB
7f789247a1 SMG - update ExtraDuration only if useful 2017-04-28 19:27:49 +02:00
DanB
be4e7e2cae SMGeneric returning SESSION_NOT_FOUND on init/update/terminate without session started, configuration updates for opensips_native tutorial 2017-04-26 14:32:31 +02:00
alin104n
9853139976 Merge branch 'master' of https://github.com/cgrates/cgrates 2017-04-03 21:18:25 +03:00
alin104n
d788452933 Accounting, Rating DBs merge, TPModels in StorDB 2017-04-03 21:17:12 +03:00
DanB
057a7fd420 SMGeneric - locks for SMGSession 2017-04-03 19:31:14 +02:00
DanB
e452d455f4 SMG replication with session cloning to avoid concurrency on slow replication 2017-04-03 13:18:13 +02:00
DanB
0b975f7a51 SMG SessionTTLMaxDelay for SessionTTL randomization 2017-03-10 16:42:11 +01:00
DanB
47dfa5af91 SMG refund cases handling 2017-03-09 18:48:34 +01:00
DanB
c8b71c6a61 SMG - debit if not enough charged on session close 2017-03-08 17:12:02 +01:00
DanB
9a37c384cf Various improvements for the new StorDB code to work 2017-03-02 18:56:57 +01:00
DanB
a736ec57d9 Small fix 2017-02-21 20:10:49 +01:00
DanB
5b6c0159f6 Protect cdrStartEvents in opensips session manager, fixes #639, upgrade go-diameter version 2017-02-21 19:45:46 +01:00
DanB
f648fbdc51 Storage.DataDB exporting Marshaller to be later used in migrator, mongodb exporting CloneSession, migrator improvements 2017-02-19 14:59:39 +01:00
DanB
087aadb37a SMG - fix replication for terminate events 2017-02-19 12:04:29 +01:00
DanB
205c8fbb22 Speedup SMG replication, small fix in servmanager 2017-02-09 16:15:39 +01:00
DanB
495bb03814 SMG call costs after error checking 2017-02-08 11:51:46 +01:00
DanB
c356d0043f Fix error shadoing in SMG for ChargeEvent 2017-02-08 11:49:55 +01:00
DanB
6e9781f57f Tests for SMG PassiveSessionsReplication, small typo fix in API 2017-01-31 18:44:28 +01:00
DanB
0624782b91 SMGenericV1.ReplicatePassiveSessions API 2017-01-31 17:58:11 +01:00
DanB
3de15e794c SMGeneric.ReplicateActiveSessions redesign to prepare for passiveSessions replication 2017-01-31 17:50:11 +01:00
DanB
078871eee0 Tests for bidirectional communication in SMG 2017-01-25 20:31:37 +01:00
DanB
800d339975 SMGeneric - Bidirectional communication though rpc2 library 2017-01-25 20:30:29 +01:00
DanB
5847e7fff9 SMGeneric API changes to include verb in get APIs - ActiveSessions -> GetActiveSessions, PassiveSessions -> GetPassiveSessions, MaxDuration -> GetMaxDuration, LCRSupplier -> GetLCRSuppliers 2017-01-13 13:36:29 +01:00
DanB
0e9864fe0d Integration test for SMGenericV1.ReplicateActiveSessions 2017-01-12 19:19:50 +01:00
DanB
ce44372b0e SMGenericV1.ReplicateActiveSessions 2017-01-12 11:07:21 +01:00
DanB
c3a5fb7292 Simplified replicate sessions with passing connections as params 2017-01-12 09:16:33 +01:00
DanB
401f1ce996 Revert "SMG.replicateSessions with connections in params"
This reverts commit d235f5c55f.
2017-01-12 09:11:38 +01:00
DanB
d235f5c55f SMG.replicateSessions with connections in params 2017-01-11 17:38:42 +01:00
DanB
2c076c1abb Moving Guardian into it's own package so we can use it from other independent packages 2017-01-09 20:36:23 +01:00
DanB
7dda1946c0 SMGeneric - fix session terminators leak 2017-01-05 12:44:32 +01:00
rbarrabe
ec3a5c867f Merge pull request #7 from cgrates/master
Update
2016-12-16 11:08:04 +01:00
DanB
49924fc210 SMGeneric using cloning for replication to avoid concurrency 2016-12-15 12:54:41 +01:00
Regis
c056d1b5bf adding connect fee only in first timestamp 2016-11-30 15:52:54 +01:00
Edwardro22
048203a19e Refactoring of IT Tests 2016-11-28 14:17:56 +01:00
Edwardro22
7cf420f173 SM integration tests refactoring 2016-11-28 13:53:36 +01:00
DanB
1d0011b6dc SMGeneric fix compute mechanism in getSessionIDsForPrefix 2016-11-25 14:23:32 +01:00
DanB
9b34f98521 SMGeneric - use pointer for locking 2016-11-18 17:06:24 +01:00
DanB
443c594edc StorageMongo creating indexes based on storDBType 2016-11-17 13:18:43 +01:00
DanB
37ca876db4 Small cleanups SMGeneric 2016-11-14 21:04:26 +01:00
DanB
f393840156 SMGeneric - fix for unprotected session terminators 2016-11-14 11:37:03 +01:00
DanB
a44cb0ad17 SMGeneric - make sure we return SessionNotFound for both update and terminate without init 2016-11-10 16:39:21 +01:00
DanB
e6a27764a3 SMGeneric - replicate only on changes 2016-11-10 15:11:20 +01:00
DanB
f5e6c95a6c SMGeneric common index configuration for active/passive sessions 2016-11-10 14:15:15 +01:00