Channels

56 views
Skip to first unread message

Amor klich

unread,
May 22, 2025, 12:55:07 PMMay 22
to CGRateS
hello Guys

I am doing some test with SessionS to limit CPS per account with filters , my question is : how can we limit channels per account in cgrates ?

Thank you in advance

Armir Veliaj

unread,
May 28, 2025, 7:00:18 AMMay 28
to CGRateS
Hi,

To limit CPS, you can make use of Resources. You can check the documentation here:
https://cgrates.readthedocs.io/en/latest/resources.html#id2

You can also look at this example CSV file:
Resources.csv:  https://github.com/cgrates/cgrates/blob/master/data/tariffplans/oldtutorial/Resources.csv

As you can see there, in ResGroup1, the Limit field is set to 7 and expires after 1 second (as specified in the TTL field),that means you have a 7 channels-per-second limitation.

Hope this clarifies it for you.

Thanks,
Armir
Reply all
Reply to author
Forward
0 new messages