[asterisk-users] Asterisk dialing next extension only if first is busy?

Robert Lister robl at linx.net
Tue Apr 24 02:10:27 MST 2007

On Mon, Apr 23, 2007 at 11:11:48AM -0500, Carlos Chavez wrote:

> > Using two sequential Dial() commands into the extension will ring the
> > lines one after the other -- even if it times out on the first line,
> > which is again not what I want.
> > 
> > 
> 	I find that the easiest way to do it is like this:
> 1,1,Dial(SIP/line1)
> 1,2,Dial(SIP/line2)
> 	Than way if the first like fails for any reason it goes to the second.
> You could use Dialstatus but this seems simpler.

Not necessarily. If the handsets have call waiting or divert enabled for 
example it will go to the first dial instance and not fail through to the 
second. This may or may not be the desired behaviour depending on what 
you want to happen, of course.


More information about the asterisk-users mailing list