Commit Graph

91 Commits

Author SHA1 Message Date
alin104n
815d25959e RunID,OriginID SMCosts index 2017-03-15 00:42:27 +02:00
alin104n
22c47cf61b StorDB fixes and additions 2017-02-27 00:49:11 +02:00
alin104n
b1a5c57a7e SQL fields length increase 2017-02-14 06:48:31 +02:00
DanB
fece61093e AccountSummary inside CDR object, decoupling it from CallCost for error cases 2016-08-29 14:28:14 +02:00
Eloy Coto
e3e33d85f4 Storage: Accounts fields length consistency 2016-08-15 16:17:14 +01:00
DanB
3fae8058a0 ResourceLimits TP tables 2016-07-16 15:27:24 +02:00
Errol Samuels
5fa03755c7 Update pg_cdr_migration.sql 2016-07-05 19:46:10 +01:00
Errol Samuels
233426bb7a pg_cdr_migration.sql
CDR migration script for Postgres.  Migrates CDRs from the old cdrs_primary, rated_cdrs, cdrs_extra and cost_details tables into the single cdrs table.
2016-07-05 08:28:06 +01:00
Razvan Crainea
5bf1ce8992 Merge remote-tracking branch 'upstream/master' 2016-06-01 12:15:13 +03:00
Radu Ioan Fericean
90381b7366 extended units column in tp tables 2016-04-27 16:08:40 +03:00
DanB
a307dc3ce0 Support for latest gorm 2016-04-04 13:02:06 +02:00
DanB
3ac526a05e CDRS forking rated CDRs depending on smg_costs, smg_costs indexing update to include origin_id also 2016-03-29 19:55:29 +02:00
DanB
608f430db7 Storage - SetSMCost and GetSMCost deprecating LogCallCost and GetLogCallCost, CDRS.StoreSMCost method, adding sm_costs indexes for cgrid+runid and originhost+originid in all dbs supported 2016-03-26 22:17:10 +01:00
Radu Ioan Fericean
4ff66e0883 populate cdr Usage 2016-03-24 17:39:47 +02:00
Radu Ioan Fericean
79fa62a1c8 fixed missing cdrs_primary 2016-03-11 21:50:13 +02:00
Radu Ioan Fericean
9f614f42a8 sql data types fixes 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
b2a39ed867 action triggers expiration and activation times 2016-02-04 18:46:06 +02:00
Radu Ioan Fericean
862795ef06 all actons can be conditional with Filter field 2016-01-21 17:00:25 +02:00
Radu Ioan Fericean
51f33d2283 blocker flag in tariffplans and sql scripts 2016-01-12 23:15:21 +02:00
DanB
f58a07a029 Adding TBLSMCosts model 2015-12-27 11:38:59 +01:00
DanB
eb2e8f6876 Unified storage SetCdr and SetRatedCdr into SetCDR, engine/storage_cdrs_it_test should automate testing for the supported StoredDb drivers 2015-12-13 17:28:55 +01:00
DanB
c268d08393 Postgres table structure fixes 2015-12-06 11:12:00 +01:00
DanB
35b6a5087c Engine tbl_cdrs refactoring, CDR.ReqType -> RequestType 2015-12-06 10:18:17 +01:00
Radu Ioan Fericean
6dd613e526 Merge branch 'master' into cdrmerge 2015-11-16 10:09:50 +02:00
Radu Ioan Fericean
72c7df55d8 updated derived chargers data structures 2015-11-13 16:43:52 +02:00
rinor
2d79d0ae26 data/storage: Fix create_tariffplan_tables.sql
LCR_STRATEGY_LOAD = "*load_distribution" = 18 chars

* mysql: tp_lcr_rules - set strategy to VARCHAR(18)
* postgres: tp_lcr_rules - set strategy to VARCHAR(18)
2015-11-13 14:37:34 +01:00
Radu Ioan Fericean
a86045b1ca weight for user profile
fixes #219
2015-11-12 15:02:32 +02:00
Radu Ioan Fericean
87a2da8c6c fix for psql action trigger model 2015-11-10 13:29:20 +02:00
Radu Ioan Fericean
0c451c8044 longer threshold type in db 2015-11-09 19:10:35 +02:00
Radu Ioan Fericean
d378b382d0 longer threshold type in db 2015-11-06 16:18:56 +02:00
Radu Ioan Fericean
21ac196222 tables unified, normal tests passing 2015-11-04 17:20:19 +02:00
DanB
3af8cddd4c Update sql schema, change shared_group->shared_groups 2015-11-02 11:11:40 +01:00
Radu Ioan Fericean
7c74e67bf2 updated csv and sql 2015-10-23 13:25:11 +03:00
DanB
abbfd8270c Rated and Cost fields inside derived charging 2015-10-05 08:33:27 +02:00
Radu Ioan Fericean
95f5355611 added BalanceDisabled to action trigger
fixes #187
2015-09-22 15:51:33 +03:00
Radu Ioan Fericean
7b53d35a7a added alownegative,disabled to accountactions
also started maked for users
2015-09-21 16:29:58 +03:00
DanB
99076bb7e4 Old aliases compatibility added back in apier, fix create_tariffplan_tables for both mysql and postgres, fix local_tests 2015-09-19 18:54:07 +02:00
Radu Ioan Fericean
681d282662 updated sql files for balance disabled field 2015-09-18 14:48:45 +03:00
Radu Ioan Fericean
1154c25f81 added enabledisablebalance action
fixes #174
2015-09-15 14:24:49 +03:00
Radu Ioan Fericean
4aae17773d use destination ids in cdr stats
fixes #173
2015-09-14 22:28:30 +03:00
Radu Ioan Fericean
1c94fca45c test for TP aliases and users 2015-09-03 21:34:25 +03:00
DanB
d782bb9bdb Postgresql table creation fix for aliases, RemRatingProfile fix on Tenant name 2015-08-19 13:52:36 +02:00
Radu Ioan Fericean
548d01bff1 more tests fixes 2015-08-11 18:45:19 +03:00
Razvan Crainea
33282f8a3c add absolute path to SQL scripts
This allows the administrator to run the scripts from any directory
2015-08-11 15:23:48 +03:00
Radu Ioan Fericean
767fd1fa84 work in progress, compilable version 2015-08-06 17:23:12 +03:00
Eloy Coto
5569e103de Storage: Added jsonb support in cost_details.timespans 2015-07-13 09:41:31 +01:00
Radu Ioan Fericean
0dae4eab28 Merge branch 'users' 2015-07-10 23:30:54 +03:00
Radu Ioan Fericean
8f7e3efd61 refactored server starting and added configs 2015-07-10 19:01:08 +03:00
Radu Ioan Fericean
8668df8d49 added loaders for user data 2015-07-08 20:08:04 +03:00
Dan Christian Bogos
7beefd49fe Merge pull request #113 from eloycoto/master
Storage: Added jsonb support in cdrs_extra.extra_fields
2015-07-08 19:01:47 +02:00