Groups
Groups
Sign in
Groups
Groups
CGRateS
Conversations
About
Send feedback
Help
Channels
56 views
Skip to first unread message
Amor klich
unread,
May 22, 2025, 12:55:07 PM
May 22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
May 28
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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