Commit Graph

347 Commits

Author SHA1 Message Date
DanB
77d9d2ec30 Format time into RFC3339 for more compact representation, GetCdrs returning now CgrExtCdr with SetupTime, AnswerTime and Usage set as string for more interoperability with other languages 2015-03-15 14:18:30 +01:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
DanB
6d4844afcf Fix ApierV1.LoadTariffPlanFromFolder on non-existent folder (thanks @catokx), increased category field to 32 char in SQL tables 2015-03-05 12:15:22 +01:00
DanB
4963c70b48 Fix paginator conversion between CDR filters, paginator tests for both mysql and postgres 2015-03-02 19:00:31 +01:00
DanB
f3e97e3392 Paginator parameters rename 2015-03-02 13:19:42 +01:00
DanB
a4bbad4001 TPActionTriggers-MinSleep from int to string 2015-02-24 09:50:14 +01:00
DanB
461b715c3b Adding indexes to postgres tp tables, ApierV1.AddBalance using BalanceId, ApierV1.AddTriggeredAction using ActionTriggersId 2015-02-20 16:44:08 +01:00
DanB
654e0cfe12 CdrExporter using Value instead CdrFieldId for better flexibility 2015-02-11 19:31:22 +01:00
DanB
bb01740321 RSRField filter checking empty values 2015-02-10 16:39:10 +01:00
DanB
56b37feafe Merge branch 'master' of https://github.com/cgrates/cgrates 2015-02-08 20:54:06 +01:00
DanB
6ed45a52fe RSRField with filterValue support, CDRC implementing instances based on processed folder, import filters 2015-02-08 20:53:56 +01:00
Radu Ioan Fericean
d10366457a added extra uniqueid for action triggers 2015-02-06 15:34:24 +02:00
Radu Ioan Fericean
7eaf38a683 utils vet 2015-02-05 23:20:50 +02:00
Radu Ioan Fericean
4ff96becee human readable action and action trigger id 2015-02-05 23:20:50 +02:00
DanB
8576d8f6fc CdrExporter SmsUsageMultiplyFactor implementation 2015-02-05 18:20:39 +01:00
DanB
211f980329 Default RunId changed to *default for consistency, StoredCdr.Rated property so we can import already calculated CDRs, fixes for SkipErrors and SkipRated API filters for CDRs, created_time fix on MySQL, fix injected Cost when importing from external file and .Rated is false 2015-02-05 17:01:45 +01:00
DanB
afb8aae211 GetStoredCdrs.Count temporary fix until gorm analyses our reported issue 2015-02-04 13:56:33 +01:00
DanB
490bd9d573 ApierV2.GetAccountIds, remove utils.EMPTY symbol, fix /etc/cgrates folder in packaging, thanks esamuels 2015-02-03 19:56:27 +01:00
Radu Ioan Fericean
347e78d5b5 new core rating rules 2015-01-27 18:57:08 +02:00
Radu Ioan Fericean
a75035af3c balance activation times (work in proggress) 2015-01-20 18:16:02 +02:00
DanB
6126b69c4e NEW configuration format - cgrates.json 2015-01-18 12:54:07 +01:00
DanB
3303608813 Basic json config structures and defaults with tests 2015-01-06 17:36:32 +01:00
DanB
3e37cb8368 Initial config.json skel with tests 2015-01-05 20:11:39 +01:00
DanB
10bbf73596 DisconnectSession with event instead of uuid to be more flexible in components where uuid is not enough to kill dialog (eg kamailio) 2015-01-01 16:59:35 +01:00
DanB
ea3a9e6dee Responder.GetSessionRuns, SM-Kamailio with prepaid support 2015-01-01 15:57:21 +01:00
Radu Ioan Fericean
0bb8691101 balance activation times 2014-12-22 23:02:14 +02:00
DanB
65e0597873 Moved event to utils package so we can use it in engine 2014-12-22 18:51:59 +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
Radu Ioan Fericean
0b42f88374 better uuid4 function 2014-12-06 21:40:03 +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
42a71347e8 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-27 20:31:36 +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
fdfb90a16d Adding ApierV2.GetCdrs method 2014-11-27 19:34:31 +01: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
b7891b87ba type fixes 2014-11-27 12:10:33 +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
cbc7a5095c Adding DataUsageMultiplyFactor within CDRC 2014-10-22 13:45:21 +02:00
DanB
c9f2d5d5a2 TPExporter with compress function, ApierV2.ExportTPToZipString method 2014-10-20 19:21:52 +02:00
DanB
bdf354afeb ApierV2.ExportTPToFolder 2014-10-20 12:46:47 +02:00
DanB
b7b22a39e0 Partial implementation of TPExporter, adding CgrRecordWriter interface 2014-10-17 19:49:04 +02:00
DanB
2a4c00fd77 Completing AsExportSlice methods for TP data 2014-10-15 12:28:06 +02:00
DanB
1c7b155c96 Some more methods for AsExportSlice in TP data 2014-10-14 20:13:27 +02:00
DanB
80bd2c9275 Partial TPData as exportSlice mathods 2014-10-12 16:17:46 +02:00