mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
docs - more about ResourceLimiter
This commit is contained in:
@@ -291,7 +291,22 @@ PubSub service used to expose internal events to interested external components
|
||||
- ``"pubsubs": {...}``
|
||||
|
||||
|
||||
2.1.13. APIER RPC service
|
||||
2.1.13. Resource Limiter service
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Resource Limiter service used to limit resources during authorization (eg: maximum calls per destination for an account)
|
||||
|
||||
- Communicates via:
|
||||
- RPC
|
||||
- internal/in-process *within the same running* **cgr-engine** process.
|
||||
|
||||
- Operates with the following CGRateS database(s): ::
|
||||
|
||||
"data_db" - (accountDb)
|
||||
|
||||
- Config section in the CGRateS configuration file:
|
||||
- ``"rls": {...}``
|
||||
|
||||
2.1.14. APIER RPC service
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
RPC service used to expose external access towards internal components.
|
||||
|
||||
@@ -300,7 +315,7 @@ RPC service used to expose external access towards internal components.
|
||||
- JSON over HTTP
|
||||
- JSON over WebSocket
|
||||
|
||||
2.1.14. Cdre
|
||||
2.1.15. Cdre
|
||||
~~~~~~~~~~~~
|
||||
Component to retrieve rated CDRs from internal CDRs database.
|
||||
|
||||
@@ -313,7 +328,7 @@ Component to retrieve rated CDRs from internal CDRs database.
|
||||
- Config section in the CGRateS configuration file:
|
||||
- ``"cdre": {...}``
|
||||
|
||||
2.1.15. Mailer
|
||||
2.1.16. Mailer
|
||||
~~~~~~~~~~~~~~
|
||||
TBD
|
||||
|
||||
@@ -324,7 +339,7 @@ TBD
|
||||
- Config section in the CGRateS configuration file:
|
||||
- ``"mailer": {...}``
|
||||
|
||||
2.1.16. Suretax
|
||||
2.1.17. Suretax
|
||||
~~~~~~~~~~~~~~~
|
||||
TBD
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 88 KiB |
@@ -607,8 +607,7 @@ for example rated for different tenants or resellers.
|
||||
|
||||
4.2.12. CDR Stats
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
CDR Stats enabled some realtime statistics in your platform for multiple
|
||||
CDR Stats enables some realtime statistics in your platform for multiple
|
||||
purposes, you can read more, see :ref:`cdrstats-main`
|
||||
|
||||
::
|
||||
@@ -620,81 +619,81 @@ purposes, you can read more, see :ref:`cdrstats-main`
|
||||
:file: ../data/tariffplans/tutorial/CdrStats.csv
|
||||
:header-rows: 1
|
||||
|
||||
Id:
|
||||
[0] - Id:
|
||||
Tag name for the Queue id
|
||||
|
||||
QueueLength:
|
||||
[1] - QueueLength:
|
||||
Maximum number of calls in this queue
|
||||
|
||||
TimeWindow:
|
||||
[2] - TimeWindow:
|
||||
Window frame to store the calls
|
||||
|
||||
SaveInterval:
|
||||
[3] - SaveInterval:
|
||||
Each interval queue stats will save in the stordb
|
||||
|
||||
Metric:
|
||||
[4] - Metric:
|
||||
Type of metric see :ref:`cdrstats-metrics`
|
||||
|
||||
SetupInterval:
|
||||
[5] - SetupInterval:
|
||||
TBD
|
||||
|
||||
TOR:
|
||||
[6] - TOR:
|
||||
TBD
|
||||
|
||||
CdrHost
|
||||
[7] - CdrHost
|
||||
TBD
|
||||
|
||||
CdrSource:
|
||||
[8] - CdrSource:
|
||||
TBD
|
||||
|
||||
ReqType:
|
||||
[9] - ReqType:
|
||||
Filter by reqtype
|
||||
|
||||
Direction:
|
||||
[10] - Direction:
|
||||
TBD
|
||||
|
||||
Tenant:
|
||||
[11] - Tenant:
|
||||
Used to distinguish between carriers if more than one share the same
|
||||
database in the CGRates system.
|
||||
|
||||
Category:
|
||||
[12] - Category:
|
||||
Type of record specifies the kind of transmission this rate profile applies
|
||||
to.
|
||||
|
||||
Account:
|
||||
[13] - Account:
|
||||
The identifier for the user's account.
|
||||
|
||||
Subject:
|
||||
[14] - Subject:
|
||||
The client/user for who this profile is detailing the rates.
|
||||
|
||||
DestinationIds:
|
||||
Filter only by destinations prefix. Can be multiple separated with ;
|
||||
[15] - DestinationIds:
|
||||
Filter only by destinations prefix. Can be multiple separated with **;**
|
||||
|
||||
PddInterval:
|
||||
[16] - PddInterval:
|
||||
TBD
|
||||
|
||||
UsageInterval:
|
||||
[17] - UsageInterval:
|
||||
TBD
|
||||
|
||||
Supplier:
|
||||
[18] - Supplier:
|
||||
TBD
|
||||
|
||||
DisconnectCause:
|
||||
[19] - DisconnectCause:
|
||||
TBD
|
||||
|
||||
RunIds:
|
||||
[20] - RunIds:
|
||||
TBD
|
||||
|
||||
RatedAccount:
|
||||
[21] - RatedAccount:
|
||||
Filter by rated account
|
||||
|
||||
RatedSubject:
|
||||
[22] - RatedSubject:
|
||||
Filter by rated subject
|
||||
|
||||
CostInterval:
|
||||
[23] - CostInterval:
|
||||
Filter by cost
|
||||
|
||||
ActionTriggers:
|
||||
[24] - ActionTriggers:
|
||||
ActionTriggers associated with this queue
|
||||
|
||||
4.2.13. Shared groups
|
||||
@@ -710,6 +709,18 @@ TBD
|
||||
:file: ../data/tariffplans/tutorial/SharedGroups.csv
|
||||
:header-rows: 1
|
||||
|
||||
[0] - Id:
|
||||
TBD
|
||||
|
||||
[1] - Account:
|
||||
TBD
|
||||
|
||||
[2] - Strategy:
|
||||
TBD
|
||||
|
||||
[3] - RatingSubject:
|
||||
TBD
|
||||
|
||||
4.2.14. LCR rules
|
||||
~~~~~~~~~~~~~~~~~
|
||||
TBD
|
||||
@@ -723,6 +734,39 @@ TBD
|
||||
:file: ../data/tariffplans/tutorial/LcrRules.csv
|
||||
:header-rows: 1
|
||||
|
||||
[0] - Direction:
|
||||
TBD
|
||||
|
||||
[1] - Tenant:
|
||||
TBD
|
||||
|
||||
[2] - Category:
|
||||
TBD
|
||||
|
||||
[3] - Account:
|
||||
TBD
|
||||
|
||||
[4] - Subject:
|
||||
TBD
|
||||
|
||||
[5] - DestinationTag:
|
||||
TBD
|
||||
|
||||
[6] - RpCategory:
|
||||
TBD
|
||||
|
||||
[7] - Strategy:
|
||||
TBD
|
||||
|
||||
[8] - StrategyParams:
|
||||
TBD
|
||||
|
||||
[9] - ActivationTime:
|
||||
TBD
|
||||
|
||||
[10] - Weight:
|
||||
TBD
|
||||
|
||||
4.2.15. Users
|
||||
~~~~~~~~~~~~~
|
||||
TBD
|
||||
@@ -736,6 +780,24 @@ TBD
|
||||
:file: ../data/tariffplans/tutorial/Users.csv
|
||||
:header-rows: 1
|
||||
|
||||
[0] - Tenant:
|
||||
TBD
|
||||
|
||||
[1] - UserName:
|
||||
TBD
|
||||
|
||||
[2] - Masked:
|
||||
TBD
|
||||
|
||||
[3] - AttributeName:
|
||||
TBD
|
||||
|
||||
[4] - AttributeValue:
|
||||
TBD
|
||||
|
||||
[5] - Weight:
|
||||
TBD
|
||||
|
||||
4.2.16. Aliases
|
||||
~~~~~~~~~~~~~~~
|
||||
TBD
|
||||
@@ -749,6 +811,39 @@ TBD
|
||||
:file: ../data/tariffplans/tutorial/Aliases.csv
|
||||
:header-rows: 1
|
||||
|
||||
[0] - Direction:
|
||||
TBD
|
||||
|
||||
[1] - Tenant:
|
||||
TBD
|
||||
|
||||
[2] - Category:
|
||||
TBD
|
||||
|
||||
[3] - Account:
|
||||
TBD
|
||||
|
||||
[4] - Subject:
|
||||
TBD
|
||||
|
||||
[5] - DestinationId:
|
||||
TBD
|
||||
|
||||
[6] - Context:
|
||||
TBD
|
||||
|
||||
[7] - Target:
|
||||
TBD
|
||||
|
||||
[8] - Original:
|
||||
TBD
|
||||
|
||||
[9] - Alias:
|
||||
TBD
|
||||
|
||||
[10] - Weight:
|
||||
TBD
|
||||
|
||||
4.2.17. Resource Limits
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
TBD
|
||||
@@ -762,3 +857,27 @@ TBD
|
||||
:file: ../data/tariffplans/tutorial/ResourceLimits.csv
|
||||
:header-rows: 1
|
||||
|
||||
[0] - Tag
|
||||
TBD
|
||||
|
||||
[1] - FilterType
|
||||
TBD
|
||||
|
||||
[2] - FilterFieldName
|
||||
TBD
|
||||
|
||||
[3] - FilterValues
|
||||
TBD
|
||||
|
||||
[4] - ActivationTime
|
||||
TBD
|
||||
|
||||
[5] - Weight
|
||||
TBD
|
||||
|
||||
[6] - Limit
|
||||
TBD
|
||||
|
||||
[7] - ActionTriggerIds
|
||||
TBD
|
||||
|
||||
|
||||
Reference in New Issue
Block a user