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. Regards, Ashish -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120503/14804f10/attachment.htm>
The other 70 will result into failure with .call file approach. Regards, Mitul Limbani, Chief Architech & Founder, Enterux Solutions Pvt. Ltd. 110 Reena Complex, Opp. Nathani Steel, Vidyavihar (W), Mumbai - 400 086. India http://www.enterux.com/ http://www.entvoice.com/ email: mitul at enterux.in DID: +91-22-61447605 Cell: +91-9820332422 On Thu, May 3, 2012 at 9:11 PM, Ashish Agarwal <ashishag67 at gmail.com> 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. > > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120503/842d2732/attachment.htm>
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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120504/f1b52f7e/attachment.htm>
In my experience the first 30 calls will go simulatenously, then the remainder
will go as lines become available. You should use /g1 or /r1 to allow the call
file to pick an open channel. Mitul is somewhat correct; all 100 calls will
try to process at once, so the 70 ?laggards? will have to re-process. The
better solution would be to send the calls in chunks of 20 or 30, especially if
you don?t specify async=yes and multiple tries.
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces
at lists.digium.com] On Behalf Of Mitul Limbani
Sent: Thursday, May 03, 2012 10:50 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk Capacity
The other 70 will result into failure with .call file approach.
Regards,
Mitul Limbani,
Chief Architech & Founder,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel,
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mitul at enterux.in
DID: +91-22-61447605
Cell: +91-9820332422
On Thu, May 3, 2012 at 9:11 PM, Ashish Agarwal <ashishag67 at gmail.com>
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20120503/a829b871/attachment-0001.htm>
So what is a better approach to achieve this On May 3, 2012 9:20 PM, "Mitul Limbani" <mitul at enterux.in> wrote:> The other 70 will result into failure with .call file approach. > > Regards, > Mitul Limbani, > Chief Architech & Founder, > Enterux Solutions Pvt. Ltd. > 110 Reena Complex, Opp. Nathani Steel, > Vidyavihar (W), Mumbai - 400 086. India > http://www.enterux.com/ > http://www.entvoice.com/ > email: mitul at enterux.in > DID: +91-22-61447605 > Cell: +91-9820332422 > > > > > On Thu, May 3, 2012 at 9:11 PM, Ashish Agarwal <ashishag67 at gmail.com>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. >> >> 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120503/8e225794/attachment.htm>
The "best" approach to this would be to have a "sender" that
uses AMI to
monitor channels and release .call files as channels become available.
About 100 lines in PERL.
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ashish Agarwal
Sent: Thursday, May 03, 2012 10:53 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk Capacity
So what is a better approach to achieve this
On May 3, 2012 9:20 PM, "Mitul Limbani" <mitul at enterux.in>
wrote:
The other 70 will result into failure with .call file approach.
Regards,
Mitul Limbani,
Chief Architech & Founder,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel,
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mitul at enterux.in
DID: +91-22-61447605
Cell: +91-9820332422
On Thu, May 3, 2012 at 9:11 PM, Ashish Agarwal <ashishag67 at gmail.com>
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20120503/b3a9a38a/attachment.htm>
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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120503/98750423/attachment.htm>
"easiest" way is "service asterisk status" or asterisk -rx
"core show
channels verbose"
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ashish Agarwal
Sent: Thursday, May 03, 2012 11:29 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk Capacity
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20120503/74c164e8/attachment.htm>
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>