Commit Graph

433 Commits

Author SHA1 Message Date
Radu Ioan Fericean
0855d09fea shared group strategy fully customizable 2014-03-11 18:15:12 +02:00
DanB
5ae7a18283 Adding setupTime to CDRs for later stats calculation 2014-03-06 15:47:39 +01:00
Radu Ioan Fericean
fdeecafe37 make sure the aliases are up-to-date after load 2014-03-05 16:54:29 +02:00
Radu Ioan Fericean
71a50dc78e duplicate check for db loader too 2014-03-05 14:56:54 +02:00
Radu Ioan Fericean
8f47264248 check for duplicate account actions 2014-03-05 14:51:18 +02:00
Radu Ioan Fericean
a753a55119 fixed connectFee in max debit issue 2014-03-05 14:17:47 +02:00
Radu Ioan Fericean
0b0474fa23 fix for MaxDebit bug
max duration was calculated badly
2014-03-04 22:02:20 +02:00
Radu Ioan Fericean
9006c5ed18 removed logs from tests 2014-03-01 00:11:05 +02:00
Radu Ioan Fericean
e6b02b84c0 extra tests for topup after load 2014-03-01 00:02:56 +02:00
Radu Ioan Fericean
b557e2a5a4 fixed connect fee issues 2014-02-28 23:24:55 +02:00
Radu Ioan Fericean
9a06d5e537 fixes for ansible devel 2014-02-28 18:40:39 +02:00
Radu Ioan Fericean
f717bb9542 changed travis rules and removed stats 2014-02-28 18:40:39 +02:00
DanB
ed313c3222 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-02-28 10:46:02 +01:00
Radu Ioan Fericean
25b15b8f0f map storage has compression too
only needed for better emulating redis
2014-02-28 11:08:03 +02:00
Radu Ioan Fericean
7d9326965d don't overwrite account on load 2014-02-28 10:47:30 +02:00
DanB
a0aa0cc05d Merge branch 'master' of https://github.com/cgrates/cgrates 2014-02-27 17:38:49 +01:00
DanB
b9d52c6401 Fix validation for Actions, now with shared balances 2014-02-27 17:38:42 +01:00
Radu Ioan Fericean
48d1720430 refund credit to shared group accounts 2014-02-27 17:12:59 +02:00
Radu Ioan Fericean
39e93e7fb8 fixses and tests for shared balances 2014-02-27 16:54:11 +02:00
Radu Ioan Fericean
49a3df285b test for shared group members loading 2014-02-27 15:30:29 +02:00
Radu Ioan Fericean
fc91e35433 shared balance fix 2014-02-27 14:04:59 +02:00
Radu Ioan Fericean
95d4af8ab7 more rounding and maxxsession improvement 2014-02-27 12:23:11 +02:00
Radu Ioan Fericean
83dd4efeab more aliases tests 2014-02-27 09:34:48 +02:00
Radu Ioan Fericean
b3dee97bc4 fixses and tests for aliases 2014-02-26 20:17:59 +02:00
Radu Ioan Fericean
074313b0f8 first aliases implementation
tests pending
2014-02-26 18:29:49 +02:00
Radu Ioan Fericean
8d98436656 rounding after debit 2014-02-26 11:14:13 +02:00
Radu Ioan Fericean
477af9467f added load test for shared groups 2014-02-26 11:14:13 +02:00
DanB
670b748b01 Renaming tag->id and old id->tbid in mysql tables 2014-02-25 13:53:13 +01:00
Radu Ioan Fericean
0aa5223f78 Merge branch 'master' into shared_balances
Conflicts:
	engine/account.go
	engine/loader_csv_test.go
	engine/storage_interface.go
	engine/storage_map.go
	engine/storage_redis.go
2014-02-21 16:36:48 +02:00
Radu Ioan Fericean
a37dbf0734 renamed Account Type attribute
It's now AllowNegative and it's a boolean (was *prepaid/*postpaid)
2014-02-21 15:52:47 +02:00
Radu Ioan Fericean
7831a53797 renamed USerBalance to Account 2014-02-21 14:37:31 +02:00
Radu Ioan Fericean
f701a42948 renamed action's BalanceId to BalanceType
also added a topup test
2014-02-21 13:14:06 +02:00
Radu Ioan Fericean
f052b14214 added some comments 2014-02-20 17:29:13 +02:00
Radu Ioan Fericean
e0476a3130 Add members on balance creation 2014-02-17 14:50:35 +02:00
Radu Ioan Fericean
75046b1f36 more shared group fixes 2014-02-17 01:16:31 +02:00
Radu Ioan Fericean
dec4ebf2f1 added distinct field parameter 2014-02-17 01:09:37 +02:00
Radu Ioan Fericean
4154a3beef Merge ssh://192.168.0.9/home/rif/Documents/prog/go/src/github.com/cgrates/cgrates into shared_balances 2014-02-17 00:43:04 +02:00
Radu Ioan Fericean
0efb2f1094 load shared groups from csv 2014-02-17 00:42:41 +02:00
Radu Ioan Fericean
51ee4091bc shared group fixes 2014-02-17 00:39:15 +02:00
Radu Ioan Fericean
361d75d8cf compressed all GetTP*Ids methods into one 2014-02-13 00:01:58 +02:00
Radu Ioan Fericean
64e79764de build fix 2014-02-12 16:36:56 +02:00
Radu Ioan Fericean
6ad5794bfc added db loader for shared balances 2014-02-12 16:23:03 +02:00
Radu Ioan Fericean
c447fa49dc Merge branch 'master' into shared_balances 2014-02-12 14:18:03 +02:00
DanB
9042c98492 Fixup mediation with rerating 2014-02-11 12:57:00 +01:00
Radu Ioan Fericean
b784edf5aa Merge branch 'master' into shared_balances
Conflicts:
	engine/balances.go
	utils/consts.go
2014-02-07 22:32:03 +02:00
Radu Ioan Fericean
914fe77117 rating subject can have multiple predefined values
Valid values can start with *zero + any duration 1m, 15m, 1h10m
2014-02-07 22:26:39 +02:00
Radu Ioan Fericean
77ea2754cb GetMaxSessionDuration fix
should return no more than initial call descriptor duration
2014-02-07 19:54:09 +02:00
Radu Ioan Fericean
cd531849d1 Merge branch 'master' into shared_balances 2014-02-07 19:12:28 +02:00
Radu Ioan Fericean
dadf06f3ef get max session duration method was modifing call descriptor 2014-02-07 19:10:44 +02:00
Radu Ioan Fericean
9e88719e05 fixed build problem 2014-02-07 12:24:52 +02:00