Irakli Natsvlishvili
2005-Aug-09 18:05 UTC
[Asterisk-Users] How to dial several extensions with different timeouts
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) Thanks. I.N.
brett@websmyths.com
2005-Aug-09 18:15 UTC
[Asterisk-Users] How to dial several extensions with differenttimeouts
On 8/10/2005, "Irakli Natsvlishvili" <irakli.natsvlishvili@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
C F
2005-Aug-10 07:10 UTC
[Asterisk-Users] How to dial several extensions with differenttimeouts
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@websmyths.com <brett@websmyths.com> wrote:> On 8/10/2005, "Irakli Natsvlishvili" > <irakli.natsvlishvili@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@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 >