On 11/21/2011 05:42 AM, Mino Haluz wrote:
I was using cdrtool (prepaid table) and callcontrol to limit concurrent calls. In fact this is only limiting the outbound calls, but I would like to use another mechanism which should limit the inbound calls too. So basically to limit voice channels.
So is there some reliable method/module how to achieve this?
The 'dialog' module is a common approach to this problem. Organise both inbound and outbound dialogs into profiles, and then get_profile_size() in both your inbound and outbound call processing.