[asterisk-users] Asterisk Capacity
Billy Kaye
billy.kaye at crystal-int.com
Fri May 11 04:21:05 CDT 2012
Hi Ashsih,
I have built an application similar to what you working on.
Am not sure what language you are using but you can set the created time of
the extra .call files minutes later.
For Example
The 1st batch of 30 call files can have a now timestamp
The 2nd batch of 30 call files can have a now + 2 minutes
timestamp
The 3rd batch of 30 call files can have a now + 4 minutes
timestamp
Meaning after the first 30 calls are made the system gives a 2minutes lag
before making the 2nd batch and its goes on
Like that.
In PHP I do it using the touch function.
touch($callfilename,$time);
Kind Regards
Billy
On 5/3/12 7:28 PM, "Ashish Agarwal" <ashishag67 at gmail.com> wrote:
> How can I check how many lines are currently being used?
>
> On May 3, 2012 9:23 PM, "Duncan Turnbull" <duncan at e-simple.co.nz> wrote:
>> Hi Ashish
>>
>> On 4/05/2012, at 3:41 AM, Ashish Agarwal wrote:
>>
>>>
>>> Hello,
>>>
>>> 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.
>>>
>>> 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.
>>
>> 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
>>
>> Cheers Duncan
>>
>>>
>>> Regards,
>>>
>>> Ashish
>>> --
>>> _____________________________________________________________________
>>> -- 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
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- 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
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120511/e7e0bf73/attachment.htm>
More information about the asterisk-users
mailing list