[Asterisk-Users] Dial multiple extensions, but different variables/timeouts

C F shmaltz at gmail.com
Wed Mar 16 18:01:32 MST 2005


try the local channel.
the local channel allows you to have:

[default]
exten => 123,1,Dial(${DEVICE1},30,tr)
exten => 124,1,Dial(${DEVICE2},45,tr)
exten => 125,1,Dial(Local/123 at default&Local/124 at default)

that will go thru the dial plan of 123 and 124. However, when I tested
it for what I wanted to use it, it didn't realy work the way I wanted.
Try it and if it works, please post back, with examples.

Thanks
C F


On Wed, 16 Mar 2005 15:23:22 -0800, Luki <lugosoft at gmail.com> wrote:
> Hi everyone,
> 
> I'm wondering I would accomplish the following: I want to dial several
> SIP extensions simultaneously, HOWEVER, for different times (say ext
> 10 for 15 sec and ext 11 for 30 sec), and potentially with different
> headers (such as ALERT_INFO) and codecs for each extension. Obviously
> whoever picks up first gets the call. After the longest timeout
> expires (30 sec in this example) I want to move to the next priority,
> say voice mail.
> 
> I think this is pushing the ability of the Dial application a bit, but
> I'm curious to hear what suggestions others have. I have already
> patched the Dial app some time ago to allow me to pass different
> variables for each extension (SIP_CODEC and ALERT_INFO) and this works
> quite well -- but I don't think this is the cleanest way of doing it.
> I could certainly tweak it to have different timeouts per extension,
> but I'm looking for ideas/feedback before I do this.
> 
> Thanks...
> --Luki
> _______________________________________________
> 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