[Asterisk-Users] cascaded ringing
Adam Goryachev
mailinglists at websitemanagers.com.au
Fri Feb 25 02:55:33 MST 2005
On Fri, 2005-02-25 at 10:32 +0100, Elmar Haneke wrote:
> Hi,
>
> I intend to let several SIP-phones on my asterisk ring cascaded on
> incoming calls.
>
> First only phone 1 should ring, after 5 seconds phone 2 should ring in
> addition and after additional 5 Seconds phone 3 should also ring.
>
> How can I realize that correctly?
>
> Currently I do use
> Dial(SIP/1,5)
> Dial(SIP/1&SIP/2,5)
> Dial(SIP&1&SIP/2&SIP/3)
>
> But this seems not to work correctly on phone 1 since the ringing is
> interrupted twice.
>
> Is there an better way to implement this feature in an single Dial
> command?
Yes, this was discussed recently on the list.. I can't recall the
subject, but here is basically what was suggested (see google to try and
find exact example, or try it out, and if you still can't get it right,
show us what you have done and ask for more help...)...
exten => s,1,Dial(Local/1 at context&Local/2 at context&Local/3 at context)
[context]
exten => 1,1,Dial(SIP/1)
exten => 2,1,Wait(5)
exten => 2,2,Dial(SIP/2)
exten => 3,1,Wait(10)
exten => 3,2,Dial(SIP/3)
Basically, use the 'local' channel for your dial, then you can wait a
bit before actually calling...
Regards,
Adam
--
--
Adam Goryachev
Website Managers
Ph: +61 2 8304 0000 adam at websitemanagers.com.au
Fax: +61 2 9345 4396 www.websitemanagers.com.au
More information about the asterisk-users
mailing list