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> > 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