Commit Graph

324 Commits

Author SHA1 Message Date
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
Radu Ioan Fericean
4033a7075e start using paginator embeded object 2014-10-08 21:33:50 +03:00
DanB
ca493e109f Cdrc - http enhancements 2014-10-06 16:54:15 +02:00
DanB
1907d84d58 Consts fixup 2014-10-03 14:44:04 +02:00
DanB
0a9c6d3844 Small local test fix so Travis will behave 2014-10-02 19:34:29 +02:00
DanB
cd5a44f545 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-10-02 19:04:54 +02:00
DanB
e4c9cf561a Refactoring CDRE and CDRC configurations and functionality 2014-10-02 19:02:23 +02:00
Radu Ioan Fericean
88791968ef pagination for cdrs and more api for cache and accounts 2014-10-01 18:28:38 +03:00
DanB
134f0ead17 FieldSeparator as string instead of rune inside ExportCdrs API 2014-09-23 12:21:02 +02:00
DanB
a67def57b9 Usage as imported/exported as floated seconds instead of nanoseconds 2014-09-23 11:54:43 +02:00
DanB
e197cef030 Reordering ActionTriggers.csv for eficiency purposes 2014-09-22 13:28:14 +02:00
DanB
fd84f0e90e Modified Actions.csv fields order to make easier it's understanding 2014-09-21 20:25:36 +02:00
Radu Ioan Fericean
788d3c37a4 load cdr stats and shared groups 2014-09-16 17:00:02 +03:00
Radu Ioan Fericean
6ecabf1d90 using _empty_ instead of *any for api 2014-09-10 15:22:04 +03:00
DanB
f71aa8483c Load DerivedChargers 2014-09-09 19:11:25 +02:00
Radu Ioan Fericean
24c79b6b22 working version for cache transactions 2014-09-03 19:17:55 +03:00
Radu Ioan Fericean
90f77cf158 one more test 2014-09-03 19:17:54 +03:00
Radu Ioan Fericean
fa7b97b5dc work on cache transactions 2014-09-03 19:17:54 +03:00
DanB
8e0e888c29 TpImporter for CdrStats 2014-09-02 20:12:04 +02:00
DanB
5a33e70793 TPImporter for SharedGroups and DerivedCharging 2014-09-02 18:37:11 +02:00
DanB
1e75bfed20 TP_ID_SEP -> CONCATENATED_KEY_SEP, apier_local_tests fixes for gorm 2014-09-02 16:58:16 +02:00
Radu Ioan Fericean
153ca2c2fd add csv zip file import apier method 2014-08-30 17:06:13 +03:00
Radu Ioan Fericean
c232640363 add pagination and search for resource ids 2014-08-25 19:31:28 +03:00
Radu Ioan Fericean
f30b3dc063 add rating profile tp and apier methods 2014-08-25 16:27:09 +03:00