[asterisk-dev] Dial() Staggering

Stephen Davies stephen.l.davies at gmail.com
Fri Jul 13 13:17:29 CDT 2007


Here's another idea on this request to add more and more to the call
list.  Does it without taking back and reoffering the call to previous
devices:

[wait-and-call]
exten => _X.,1,Set(ext=${CUT(EXTEN,-,1)},delay=${CUT(EXTEN,-,2)})
exten => _X.,n,Wait(${delay})
exten => _X.,n,Dial(SIP/${EXTEN})

Now when you want to call your multiple extensions:

Dial(Local/200-0 at wait-and-call&Local/201-4 at wait-and-call&Local/202-8 at wait-and-call&Local/203-12 at wait-and-call&...)

Oh what fun art the Local channel.

Steve



More information about the asterisk-dev mailing list