[asterisk-users] How to dial multiple extensions at once likein aring group and put them in conference?

Danny Nicholas danny at debsinc.com
Tue Oct 27 09:52:35 CDT 2009


This might be a better application of a call file than an AMI originate.
The AMI originate in this case has to operate in a threaded fashion, whereas
if you created a call file for each extension and dumped them into
/var/spool/asterisk/outgoing, pbx.c would call all of them at once without
the "first pickup" problem.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Zeeshan
Zakaria
Sent: Tuesday, October 27, 2009 9:39 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to dial multiple extensions at once likein
aring group and put them in conference?

 

Hi Danny,

This is exactly what I am doing, but it takes a few seconds before all the
extensions are ringing. The loop takes its time.

I need something as quick as Dial(SIP/201&SIP/202... which is truly call all
at once, but it connects only two channels, i.e. the first once which picked
up, and then stops ringing the rest. 

Zeeshan

On Tue, Oct 27, 2009 at 10:27 AM, Danny Nicholas <danny at debsinc.com> wrote:

Use an AGI that does a Mass originate/call to ring everyone at once.  Have
the AGI do an originate loop using a context to dump into the conference and
call it from the dialplan like this:

- exten => s,1,AGI(massconf.agi|ext1|ext2|ext3|ext4|ext5.)

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Zeeshan
Zakaria
Sent: Tuesday, October 27, 2009 9:19 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] How to dial multiple extensions at once like in
aring group and put them in conference?

 

Hi,

I have to set this up for a client, where he could dial multiple extensions
at once, and then put all who picks up into a conference.

I am using a script which does it using originate command. But the originate
commands run one after another, and so it takes a few seconds to call the
extensions, one after another. This is not acceptable by the client.

If I use Dial(SIP/201&SIP/202..., it is like a ringgroup, where if one
extension picks up, others stop ringing.

Is there a way to dial all the extensions at once and then put them in the
conference?

-- 
Zeeshan A Zakaria


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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/20091027/0cd9d9de/attachment.htm 


More information about the asterisk-users mailing list