[asterisk-users] graceful restart
Jan Blom
jan.blom at peopleinteractive.se
Sun Aug 19 03:09:06 CDT 2012
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-bounces at lists.digium.com [mailto:asterisk-users-bounces at 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.blom at peopleinteractive.se<mailto:jan.blom at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120819/1d2b1962/attachment.htm>
More information about the asterisk-users
mailing list