Absolutely, but that requires statefull processing. Another way is to look at uptime.
However, I was looking for a stateless way to automatically monitor a restart. Best regards, Jan From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Leandro Dardini Sent: den 19 augusti 2012 08:35 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] graceful restart You can see if asterisk has been restarted by checking the number of calls processed. If almost zero, it has been restarted. "core show calls" Leandro 2012/8/19 Jan Blom <jan.b...@peopleinteractive.se<mailto:jan.b...@peopleinteractive.se>> Hello, Is there a way to detect, via cli or any other way, that Asterisk is in "graceful shutdown" mode, not accepting any new calls? Or to put the question a different way, how can I know that Asterisk has restarted again after the command "core restart graceful" in an automated way? Best regards, Jan Blom -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users