[Asterisk-Users] How to dial several extensions with differenttimeouts

C F shmaltz at gmail.com
Wed Aug 10 07:10:36 MST 2005


Or you could use the local channel and branch it off to as many
contexts as needed with different contexts that use different times
for the dial.

On 8/9/05, brett at websmyths.com <brett at websmyths.com> wrote:
> On 8/10/2005, "Irakli Natsvlishvili"
> <irakli.natsvlishvili at thinkingvoice.com> wrote:
> 
> > Hello,
> >
> > I know that using & it is possible to dial several channels.
> >
> > Question is - is it possible and if yes, how to dial several channels with
> > different ringing timeout?
> >
> > I mean the following - for example when SIP/500 is dialed, I want three
> > phones to be dialed simultaneously - 1000, 2000 and 3000. During 10
> > seconds all phones are ringing, next 10 second phones 2000 and 3000 are
> > ringing and after 20 seconds only extension 3000 is ringing.
> >
> > If I use & in dial command, then all extensions are ringing
> >simultaneously, but ringing timeout after comma is set for all channels,
> > am I right?
> >
> > 500,1,Dial(SIP/1000&SIP/2000&SIP/3000,30)
> 
> So be creative!  8-)
> 
> 500,1,Dial(SIP/1000&SIP/2000&SIP/3000,10)
> 500,2,Dial(SIP/2000&SIP/3000,10)
> 500,3,Dial(SIP/3000,10)
> 
> Total ring time 30 seconds after the call.
> 
> This could get a little convoluted depending on what you really want to do
> with it.
> 
> Brett
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list