Not the answer you are looking for, but some controlling factors are 1. The available bandwidth. Since a call takes 30-90K depending on the codec unless you are using a "compression" codec that can reduce this to 5K or so, your number of channels available will be limited by this.
2. Call-limit in sip.conf - if you set this low, you are limiting the number of trunks to that (found out hard way) 3. Your range in rtp.conf - you get one line for every 4 digits of range, IE 10001-10019 is 5 lines. My best guess is that this isn't controlled by Asterisk per se like PRI/DAHDI lines, but is determined by the provider and probably not offered as a query function. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tobias Steen Sent: Friday, October 14, 2011 4:17 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Get the total amount of lines/channels for a SIP-trunk? Hello! Is it possible for Asterisk to get the total amount of phone lines/channels on a SIP-trunk? Is there some kind of SIP-request to the provider or do I have to call the trunk provider and ask every time? (I want to know the total amount available on the trunk, so "sip show channels" won't help me out here) Best regards Tobias Steen
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users