[asterisk-users] Get the total amount of lines/channels for a SIP-trunk?
Danny Nicholas
danny at debsinc.com
Fri Oct 14 09:22:24 CDT 2011
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-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tobias Steen
Sent: Friday, October 14, 2011 4:17 AM
To: asterisk-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111014/874342af/attachment.htm>
More information about the asterisk-users
mailing list