If I issue a "restart gracefully" command, the system will wait until all channels are idle before restarting. During the time the system is waiting for idle activity, is there a command that can let me know it is in "graceful restart wait" mode ? Thanks, Ron
Ron Joffe wrote:> If I issue a "restart gracefully" command, the system will wait until all > channels are idle before restarting. > > During the time the system is waiting for idle activity, is there a command > that can let me know it is in "graceful restart wait" mode ? > > Thanks, > > Ron >Good question. I have wondered that a couple of times and assumed that there was not, but maybe there is. Probably not much help, but if you rarely issue commands such as this, hit the up arrow a few times. Thanks, Steve
On Saturday 25 August 2007 11:15, Steve Totaro wrote:> Probably not much help, but if you rarely issue commands such as this, > hit the up arrow a few times.Steve, The issue is that I am attempting to restart asterisk from external scripts due to certain pbx conditions. I need to have a two step approach: 1. Issue a "restart gracefully" 2. If x minutes go by and and all channels have not cleared then issue a "restart now" Each of these items might not know of the other so it would be helpful for item two to know that asterisk is in a "restart gracefully" mode. Ron