Commit Graph

432 Commits

Author SHA1 Message Date
DanB
3be8597f87 CdrsV1.ProcessExternalCdr API, CgrExtCdr renamed to ExternalCdr for better readability 2015-03-24 14:34:47 +01:00
DanB
44fa456eb5 Moving Cdr* from utils to engine package so we can attach CostDetails to StoredCdr 2015-03-22 18:04:38 +01:00
DanB
54e95dc929 CDRS CDR path change (from /cgr to /cdr_post), replication mechanism implementation for both raw and rated CDR 2015-03-22 15:03:42 +01:00
DanB
dd6977e43d Change ReqType to use META(*) as prefix in front of the type for consistency with the rest of the system (eg: prepaid -> *prepaid 2015-03-15 19:16:50 +01:00
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
DanB
de96c183cf Framework for automated call testing 2015-03-13 19:16:11 +01:00
DanB
ef0990b9dd Merge branch 'master' of https://github.com/cgrates/cgrates 2015-03-11 19:53:07 +01:00
DanB
f50b61d2c0 Small fix APIer 2015-03-11 19:53:02 +01:00
Radu Ioan Fericean
6125c44310 added sharedgroup console command 2015-03-11 20:38:37 +02:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
DanB
c20fb69986 Fix SetActionPlan broken reference error 2015-03-10 12:36:52 +01:00
DanB
f3354080fc Responder.GetDerivedMaxSessionTime and GetSessionRuns now taking concrete types as parameters instead of interfaces for easy RPC integration, added fs_evsock tutorial files, removed fs_csv and fs_json to keep tutorial simple to maintain 2015-03-10 12:04:40 +01: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
88daa45e3b Add websockets in external libs script, small local tests modification 2015-03-02 13:33:46 +01:00
DanB
f3e97e3392 Paginator parameters rename 2015-03-02 13:19:42 +01:00
DanB
9bbc672ba1 ApierV1.RemAccountActionTriggers using ActionTriggersId 2015-02-20 16:47:54 +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
01f1b9aa64 ApierV1.GetMaxSessionTime, make direction, tenant, account and subject optional in ApierV1.SetDerivedChargers 2015-02-18 19:35:12 +01:00
DanB
1fe2c60365 ApierV1.GetAccounts 2015-02-11 09:10:56 +01:00
DanB
3f5540ce4c Tests fixes for ActionTriggers 2015-02-09 12:50:05 +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
DanB
c3b885d79d Merge branch 'master' of https://github.com/cgrates/cgrates 2015-02-06 13:25:03 +01:00
DanB
ff68023ca5 ApierV2.GetAccounts 2015-02-06 13:24:51 +01:00
Radu Ioan Fericean
48bf322b16 apier 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
490bd9d573 ApierV2.GetAccountIds, remove utils.EMPTY symbol, fix /etc/cgrates folder in packaging, thanks esamuels 2015-02-03 19:56:27 +01:00
DanB
fc69b29980 Adding Sm*Config instances, Cdrc stop mechanism to prepare for reload configuration 2015-02-02 17:22:26 +01:00
DanB
97e2bc9a22 Local tests fixups 2015-01-18 18:09:07 +01:00
DanB
6126b69c4e NEW configuration format - cgrates.json 2015-01-18 12:54:07 +01:00
DanB
b51b42025b Limiting destination reloads for ApierV1.LoadDestination and adding PreventCacheReload parameter to API 2015-01-05 20:34:46 +01:00
DanB
6808f41414 Following changes in gorm, fix tests, removed count CDRs 2014-12-26 11:43:08 +01:00
DanB
9c7b8bd5b9 Outdated localtest fix balances 2014-12-07 13:30:18 +01:00
DanB
18d173d0fb Small correction Apier test 2014-12-07 12:27:17 +01:00
DanB
0115b5ba6f Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-05 19:25:26 +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
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
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
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
72c3d1ac29 another optimization for stale dest ids 2014-11-26 16:39:33 +02:00