[Call Limit Per User/Device in Kazoo]

472 views
Skip to first unread message

Bilal Abbasi

unread,
Oct 14, 2015, 11:29:10 AM10/14/15
to 2600hz-dev
Hi Users,
I want to limit the concurrent calls per Device/User in kazoo.Actually i want to limit the misuse of kazoo user as SIP trunk i-e some one can use those credentials and configure a SIP trunk and send bulk calls.
Your help will be highly appreciated.


Regards
Bilal Abbasi 

Te Matau

unread,
Oct 16, 2015, 7:06:28 PM10/16/15
to 2600hz-dev
Have a look at Frontier. It's not stable yet I don't think but it's worth a try. There are two APIs: Access Lists and Rate Limits.

You need to:
1. Get the latest kazoo-kamailio. I needed to change the mi_fifo value.
2. Enable the relevant roles in Kamailio
ACL-ROLE
RATE_LIMITER-ROLE
3. sup whapps_controller start_app frontier
4. start the crossbar modules
sup crossbar start_mod cb_access_lists
sup crossbar start_mod cb_rate_limits
5. Use the APIs to configure it

Good luck

Bilal Abbasi

unread,
Jan 26, 2016, 7:04:33 AM1/26/16
to 2600hz-dev
Thanks for your help, yes it worked at system-level/applciatioon level for all accounts using frontier, but how can i limit the device at account level as well,
the database document shown in documentation does not exists in my database.
can you please help me out, how should i create that manually.

Regards
Bilal Abbasi

remc...@gmail.com

unread,
Jan 26, 2016, 7:33:18 AM1/26/16
to 2600hz-dev
Is this considered stable as from 3.22?

Op zaterdag 17 oktober 2015 01:06:28 UTC+2 schreef Te Matau:

VCCS Telecom

unread,
Jan 28, 2016, 5:10:34 PM1/28/16
to 2600hz-dev
I have been mauling over this as well. In the case where you charge per user, customers could add several devices to 1 user and bypass the service plan offer. 

Technically you only need a user to use call forward. In the case of lets say a 5 person call center, customers would only need a single voicemail and faxbox anyway, allowing them to pay for 1 user and connect 5 devices.
If charging per device, a customer could connect an asterisk box to that 1 device and have 10 users behind it.

In these situations a "calls per device" limit would be exceptionally useful. I hesitate to use the frontier alternative of "packets per x" because device behavior could vary.

Matt
nurango
Reply all
Reply to author
Forward
0 new messages