[asterisk-dev] Dial() Staggering

William Moore nyphbl8d at gmail.com
Tue Jul 10 13:20:36 CDT 2007


> Dial() already supports dialing multiple lines at once and connecting the
> first answered line to the user.  I want that exact same functionality but
> would like to be able to space out (or stagger) the dialing of each line.
> An example might be I want to dial 5 phone numbers with a wait time of 30
> seconds.  But I want it to try the first number for 2 seconds before
> starting on the next number.  Then at that point it would be ringing 2
> numbers (with 2 seconds between when each was dialed).

This can be accomplished in the dialplan by calling the first number
for x seconds (using Dial's timeout option) and when it doesn't
answer, use a ring group to call several people at once.  I admit it's
not *EXACTLY* what you're looking for, but it is close enough to be
usable.



More information about the asterisk-dev mailing list