[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Wed Jun 15 06:18:55 MST 2005


On Tuesday 14 June 2005 20:10, Rich Adamson wrote:
> The wait(s) isn't needed either; in this case it adds no value to the
> solution whatsoever other then making you think its waiting around.

Actually they are necessary.

> So what do you think happens after the specified x seconds?
> Nothing, unless you have more statements. So why burn cpu cycles to
> calculate the end of the wait period, and _then_ do nothing?

If there isn't a sufficiently (60s?) long wait in there then Asterisk will 
finish the dialplan and the next ring indication will make it start the 
dialplan over again.  And again.   And again. 

The Wait() prevents this.

-A.



More information about the asterisk-users mailing list