Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference?
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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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/201SIP/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
Re: [asterisk-users] How to dial multiple extensions at once like in 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/201SIP/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 da...@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-boun...@lists.digium.com [mailto: asterisk-users-boun...@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/201SIP/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 ___ -- 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
Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference?
Have you tryed to generate .call files at once ? ___ -- 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
Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference?
Zeeshan Zakaria escribió: 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. Are you originating the calls asynchronously? -- Ing. Miguel Molina Grupo de Tecnología Millenium Phone Center ___ -- 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
Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference?
I think I should try the .call files. I haven't tried them in this particular scenario yet. Miguel, what exactly you mean by calling asynchronously? I do 'originate' in a 'while' loop once I have retrieved all the extensions to dial from the database. -- Zeeshan A Zakaria On Tue, Oct 27, 2009 at 11:07 AM, Miguel Molina mmol...@millenium.com.cowrote: Zeeshan Zakaria escribió: 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. Are you originating the calls asynchronously? -- Ing. Miguel Molina Grupo de Tecnología Millenium Phone Center ___ -- 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 ___ -- 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
Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference?
Zeeshan Zakaria escribió: I think I should try the .call files. I haven't tried them in this particular scenario yet. Miguel, what exactly you mean by calling asynchronously? I do 'originate' in a 'while' loop once I have retrieved all the extensions to dial from the database. I mean using the originate action with the Async option enabled, as explained here: http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate I wonder if you are waiting for a response (Synchronous) or if you are using that option (Asynchronous), which is clearly faster. However, the call file solution Danny proposed would work pretty well in your case. Cheers, -- Ing. Miguel Molina Grupo de Tecnología Millenium Phone Center ___ -- 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
Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference?
If you aren't doing an explicit async: true, then you are synchronous. Heed this post as well (Thanks Miguel) http://www.mail-archive.com/asterisk-users@lists.digium.com/msg231570.html -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Miguel Molina Sent: Tuesday, October 27, 2009 10:59 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference? Zeeshan Zakaria escribió: I think I should try the .call files. I haven't tried them in this particular scenario yet. Miguel, what exactly you mean by calling asynchronously? I do 'originate' in a 'while' loop once I have retrieved all the extensions to dial from the database. I mean using the originate action with the Async option enabled, as explained here: http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate I wonder if you are waiting for a response (Synchronous) or if you are using that option (Asynchronous), which is clearly faster. However, the call file solution Danny proposed would work pretty well in your case. Cheers, -- Ing. Miguel Molina Grupo de Tecnología Millenium Phone Center ___ -- 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 ___ -- 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
Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference?
Async: True was the solutions to my problem. Thanks for pointing me in this direction. -- Zeeshan A Zakaria On Tue, Oct 27, 2009 at 12:11 PM, Danny Nicholas da...@debsinc.com wrote: If you aren't doing an explicit async: true, then you are synchronous. Heed this post as well (Thanks Miguel) http://www.mail-archive.com/asterisk-users@lists.digium.com/msg231570.html -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Miguel Molina Sent: Tuesday, October 27, 2009 10:59 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to dial multiple extensions at once like in aring group and put them in conference? Zeeshan Zakaria escribió: I think I should try the .call files. I haven't tried them in this particular scenario yet. Miguel, what exactly you mean by calling asynchronously? I do 'originate' in a 'while' loop once I have retrieved all the extensions to dial from the database. I mean using the originate action with the Async option enabled, as explained here: http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate I wonder if you are waiting for a response (Synchronous) or if you are using that option (Asynchronous), which is clearly faster. However, the call file solution Danny proposed would work pretty well in your case. Cheers, -- Ing. Miguel Molina Grupo de Tecnología Millenium Phone Center ___ -- 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 ___ -- 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 ___ -- 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