<HTML>
<HEAD>
<TITLE>Re: [asterisk-users] Asterisk Capacity</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Ashsih,<BR>
<BR>
I have built an application similar to what you working on. <BR>
<BR>
Am not sure what language you are using but you can set the created time of the extra .call files minutes later.<BR>
<BR>
For Example<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The 1st batch of 30 call files can have a now timestamp<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The 2nd batch of 30 call files can have a now + 2 minutes timestamp<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The 3rd batch of 30 call files can have a now + 4 minutes timestamp<BR>
<BR>
Meaning after the first 30 calls are made the system gives a 2minutes lag before making the 2nd batch and its goes on <BR>
Like that.<BR>
<BR>
In PHP I do it using the touch function.<BR>
touch($callfilename,$time);<BR>
<BR>
Kind Regards <BR>
<BR>
Billy <BR>
<BR>
<BR>
<BR>
On 5/3/12 7:28 PM, &quot;Ashish Agarwal&quot; &lt;ashishag67@gmail.com&gt; wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>How can I check how many lines are currently being used?<BR>
<BR>
On May 3, 2012 9:23 PM, &quot;Duncan Turnbull&quot; &lt;duncan@e-simple.co.nz&gt; wrote:<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Ashish<BR>
<BR>
On 4/05/2012, at 3:41 AM, Ashish Agarwal wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Hello,<BR>
<BR>
We are currently working on a project where using .call file on asterisk spool, outbound calls will be made from a pri line and a voice clip will be played.<BR>
<BR>
We know that pri has a capacity of handling only 30 channels at a time. Therefore, my worry is what happens if we write 100 files at a time on the spool. Will asterisk manage the queue or how exactly will it behave.<BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Only write 30 or less files at a time. Asterisk will try and send them all and they will fail. Just count how many files are in the spool dir and how many calls are active and stay below your limit<BR>
<BR>
Cheers Duncan<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Regards,<BR>
<BR>
Ashish<BR>
--<BR>
_____________________________________________________________________<BR>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<BR>
New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>
&nbsp;              <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><BR>
<BR>
asterisk-users mailing list<BR>
To UNSUBSCRIBE or update options visit:<BR>
&nbsp;  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
<BR>
<BR>
--<BR>
_____________________________________________________________________<BR>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<BR>
New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>
&nbsp;              <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><BR>
<BR>
asterisk-users mailing list<BR>
To UNSUBSCRIBE or update options visit:<BR>
&nbsp;  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>--<BR>
_____________________________________________________________________<BR>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<BR>
New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><BR>
<BR>
asterisk-users mailing list<BR>
To UNSUBSCRIBE or update options visit:<BR>
&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>