Tomás Laureano Peralta Tormey wrote: > Brian: > Maybe the CLI command "stop gracefully" is what are you looking for. > Basically, Asterisk will stop receiving incoming calls (of any channel > type) and stop itself when all the current calls finish. > I hope this help you. > > Best regards, Tomás. > > 2007/9/26, Brian Roy <[EMAIL PROTECTED]>: > >> I know this topic came up many months back and some discussions were being >> had on how to do this within the Zaptel drivers. However, I'm looking for >> even a crude hack that someone has put together to get this done. >> >> We have PRI's and LD T1's that are load balanced on two boxes. The hunt >> order goes from box to box as far as the spans are concerned. There are >> times that I would like to busy one out so that calls gradually role to the >> new box and I can eventually take one out of service. What I was thinking is >> to create a script that I could tell the specific channels and it would go >> through and initiate zap calls to an empty meetme. Basically bridging all of >> the available zap channels on a given span together. Then the trick is >> monitoring the hangups so that it can initiate a subsequent call immediately >> following. Once all of the channels in a span have been bridged, I can then >> bring the box down. Nasty huh? >> >> Anyone have a better idea? Or do they have anything like this so I'm not >> putting it together? >> >> Thanks, >> >> -Brian >> >> > > _______________________________________________ > > Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > I used to do this automatically at night so that my script could svn update configs and then restart asterisk, what a found is that if you have one hung channel your ast box wil just sit there till someone issues a "Restart Now" in the morning.
Anthony _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users