Would it not be easier for you to just bill them for access to 12 channels (6 extensions x 2 channels each)? Seems simpler. Then bill them for the calls they actually make.
Then set "call-limit=2" for each "extension" in sip.conf? See: http://www.voip-info.org/wiki/index.php?page=Asterisk+config+sip.conf From: [email protected] [mailto:[email protected]] On Behalf Of Dan Journo Sent: Monday, 7 December 2009 00:50 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Call Limits Hello, I'm trying to figure out how to limit the number of concurrent calls a client can make. I have a client that has 6 SIP accounts. One for each SIP phone. I want to limit it so that they can only make 2 outgoing calls at a time so that I can bill them "per channel" rather than "per extension". A separate (but not so important) issue is that I want them to be able to make unlimited numbers of calls without their 6 extensions. So that they can have a maximum of 2 outgoing calls, and the other 4 phones can still speak to each other without having to wait for one of the 2 other calls to end. I thought that maybe one way would be to duplicate the outbound sip settings and label them "outbound_client_1" and then use call-limit within that. Has anyone got any experience of this? Thanks Dan Journo Kesher Communications Ltd IMPORTANT NOTICE TO RECIPIENT Computer viruses - It is your responsibility to scan this email and any attachments for viruses and defects and rely on those scans as Communications Design & Management Pty Limited (CDM) does not accept any liability for loss or damage arising from receipt or use of this email or any attachments. Confidentiality - This email and any attachments are intended for the named recipient only and may contain personal information, be it confidential or subject to privilege, none of which are lost or waived because this email may have been sent to you in error. If you are not the named addressee please let CDM know by return email, permanently delete it from your system and destroy all copies and do not use or disclose the contents. Copyright - This email is subject to copyright and no part of it maybe reproduced in any manner without the written permission of the copyright owner. Privacy - Within the jurisdiction of Australian law, personal information in this email must be dealt with in compliance with the Australian Federal Privacy Act 1988.
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
