Commit Graph

2350 Commits

Author SHA1 Message Date
DanB
18d173d0fb Small correction Apier test 2014-12-07 12:27:17 +01:00
DanB
0dab19aa12 Merging with master 2014-12-07 12:08:37 +01:00
Radu Ioan Fericean
660e57f085 changed column names in sql scripts as well 2014-12-07 12:56:21 +02:00
Radu Ioan Fericean
0b42f88374 better uuid4 function 2014-12-06 21:40:03 +02:00
DanB
0115b5ba6f Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-05 19:25:26 +01:00
DanB
799d924776 Increase min_sleep in TP tables from int to bigint since otherwise gets trucated 2014-12-05 19:24:56 +01:00
DanB
328bb416b2 Tests fixup using the new functions in libtests 2014-12-05 18:55:25 +01:00
DanB
91ff8f5147 Engine to initialize database only when needed, improved db.Flush(), more CdrsV2 local tests 2014-12-05 18:43:30 +01:00
Radu Ioan Fericean
9b40c20915 topup/debit reset only reseting matched balances 2014-12-05 13:26:38 +02:00
Radu Ioan Fericean
20edf5d070 xompilation fix 2014-12-04 20:42:07 +02:00
Radu Ioan Fericean
524e2cc94d added balance tag for action 2014-12-04 20:13:19 +02:00
Radu Ioan Fericean
2dd3f6527d added balance tag for action triggers
also chenged the names of direction and destination params (prefixxed
with balance)
2014-12-04 20:13:19 +02:00
DanB
dd5cf17d7b Initial tests for CdrsV2 for both mysql and postgres 2014-12-04 14:31:26 +01:00
DanB
4711fc7176 Adding initial folder for kamevapi tutorial 2014-12-03 09:59:57 +01:00
DanB
310d47515b Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-02 20:41:17 +01:00
DanB
9d81ee28c5 Initial skel kamailio config 2014-12-02 20:40:19 +01:00
Radu Ioan Fericean
33a2ff39d6 protect against rescheduling actions with bad type 2014-12-01 15:37:55 +02:00
DanB
6ae76238d5 Fixups postgres as stordb for offline TP data 2014-11-30 20:34:09 +01:00
DanB
54669c93a0 Init script with automatic stacktrace 2014-11-30 17:37:26 +01:00
DanB
a456706b99 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-28 11:48:18 +01:00
DanB
5f88e621f4 Fix CountCdrs and adding tests for it 2014-11-28 11:48:05 +01:00
Radu Ioan Fericean
1665113742 small optimizations for cache 2014-11-27 22:36:42 +02:00
DanB
42a71347e8 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-27 20:31:36 +01:00
DanB
24866c8460 ApierV2.CountCdrs method 2014-11-27 20:30:46 +01:00
DanB
bb3f677f50 Adding count parameter to GetStoredCdrs 2014-11-27 20:27:36 +01:00
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
DanB
f377fd34be Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-27 19:35:39 +01:00
DanB
fdfb90a16d Adding ApierV2.GetCdrs method 2014-11-27 19:34:31 +01:00
Radu Ioan Fericean
29821162a2 eliminated engine test race 2014-11-27 19:52:32 +02:00
DanB
b53f18381e Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-27 18:01:53 +01:00
DanB
93a7e59744 GetStoredCdrs taking now a struct as filter to simplify code testing it 2014-11-27 18:01:41 +01:00
Radu Ioan Fericean
d0fb4aab90 added coredump file to debian init command 2014-11-27 15:37:31 +02:00
Radu Ioan Fericean
98d3bd6cde fixed status command in console 2014-11-27 14:52:06 +02:00
Radu Ioan Fericean
3e03b328b0 added destinations cache threshold 2014-11-27 14:44:20 +02:00
Radu Ioan Fericean
b7891b87ba type fixes 2014-11-27 12:10:33 +02:00
Radu Ioan Fericean
dac0248c15 load all destination in cache if more than 0.5 2014-11-27 12:06:47 +02:00
Radu Ioan Fericean
4735c7c0a4 updates simple cache store too 2014-11-26 18:30:40 +02:00
Radu Ioan Fericean
680985200f Using map[interface{}]struct{} instead of []interface{} in cache 2014-11-26 18:28:07 +02:00
Radu Ioan Fericean
728354331b sort only once for slice 2014-11-26 17:44:32 +02:00
Radu Ioan Fericean
72c3d1ac29 another optimization for stale dest ids 2014-11-26 16:39:33 +02:00
Radu Ioan Fericean
5f7fac2f64 restructuring and optimizations
- moved misc and pkg to data/scripts
- started recover procedure
- optimized clean stale ids
2014-11-26 15:07:14 +02:00
DanB
489c17c561 Refactored GetStoredCdrs method to increase the number of items being queried 2014-11-26 13:48:07 +01:00
DanB
63faee90b2 Fix doc formatting issue, thanks @dyer 2014-11-19 18:45:31 +01:00
DanB
030d24c417 Common GetStoredCdrs for MySQL and Postgres, partially using Gorm 2014-11-17 14:21:31 +01:00
DanB
ad4d86ab6f Small test fixup apier 2014-11-14 20:07:07 +01:00
DanB
f31ea16099 Enabling postgres config within storage_utils 2014-11-14 20:01:38 +01:00
DanB
edd8d5540f Initial Postgres support 2014-11-13 19:41:15 +01:00
DanB
d3bce53d40 SQL GetCallCostLog using gorm 2014-11-13 14:27:32 +01:00
DanB
cbd3e57397 Different GetCallCost for MySQL and Postgres 2014-11-13 12:01:42 +01:00
DanB
afb4a7e39f Update CreatedAt when working on TP inserts 2014-11-12 18:59:02 +01:00