Quote:
you set call-limit=5 in the sip.conf for each peer or inside the voip settings for each peer from a2billing website?
Hello,
as I'm running asterisk in realtime server, no need to setup this in sip.conf, and also, if you setup this in sip.conf it would be generic for all...
any way, in the cc_sip_buddies table, I add the call-limit entry within 5 as default... and verify if it's applied for all the users, as so... and then, if you need further channels per user, it would be upgraded one by one specifically.
If you need to do this from a2billing gui, you need to edit A2B_entity_friend.php to load this entry from the db, but in my case, I'm doing this in sql queries directly.
If you're not running asterisk in realtime, you need to edit the sip.conf general section and add call-limit=5 it would be applied for all users, and then go addiding the additional line call-limite for each specific user which you need to upgrade this capacity.
I'd also recommend to setup a high level of minimum credit to call in the agi-conf, for example, in my case I have it as 0.8ยข, with this manner, a2billing will start to drop calls when user arrive to this balance, and the existing calls will start to be dropped as also the simultaneity is limited....
Experience.
We're doing wholesale service, so one of our customers got a security attack a week ago, where he had simultaneous calls activated within 5 simultaneous calls limit. The attack was sending calls to a premium destination in Slovenia, the conclusion is, all calls was dropped, and the negative balance was only 8$, which is assumable in case of security attack, where asterisk log show as that we had received from the customer about 50 simultaneous calls per second, so if so, we could go in negative balance in several hundred, or thousands of dollars.
Cheers,