[asterisk-commits] wdoekes: branch 12 r415523 - in /branches/12: ./ contrib/scripts/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 9 07:08:50 CDT 2014
Author: wdoekes
Date: Mon Jun 9 07:08:47 2014
New Revision: 415523
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=415523
Log:
safe_asterisk: Cleanup additions to r415132.
* Replaced a stray echo that should've been a message call in
safe_asterisk. This replaces a conditional log message by a slightly
different message. Please update your log parsing scripts.
* Made the $NOTIFY mail Subject more verbose by adding the machine name
and exitstatus.
(Note that a 'make install' still won't overwrite your old safe_asterisk
if it exists. See ASTERISK-21965.)
ASTERISK-23492 #close
........
Merged revisions 415521 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 415522 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
branches/12/ (props changed)
branches/12/UPGRADE.txt
branches/12/contrib/scripts/safe_asterisk
Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: branches/12/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/branches/12/UPGRADE.txt?view=diff&rev=415523&r1=415522&r2=415523
==============================================================================
--- branches/12/UPGRADE.txt (original)
+++ branches/12/UPGRADE.txt Mon Jun 9 07:08:47 2014
@@ -20,6 +20,15 @@
=== UPGRADE-11.txt -- Upgrade info for 10 to 11
===
===========================================================
+
+From 12.3.0 to 12.4.0:
+
+ - Changed a log message in safe_asterisk and the $NOTIFY mail subject. If
+ you use tools to parse either of them, update your parse functions
+ accordingly. The changed strings are:
+ - "Exited on signal $EXITSIGNAL" => "Asterisk exited on signal $EXITSIGNAL."
+ - "Asterisk Died" => "Asterisk on $MACHINE died (sig $EXITSIGNAL)"
+
From 12.2.0 to 12.3.0:
- The asterisk command line -I option and the asterisk.conf internal_timing
Modified: branches/12/contrib/scripts/safe_asterisk
URL: http://svnview.digium.com/svn/asterisk/branches/12/contrib/scripts/safe_asterisk?view=diff&rev=415523&r1=415522&r2=415523
==============================================================================
--- branches/12/contrib/scripts/safe_asterisk (original)
+++ branches/12/contrib/scripts/safe_asterisk Mon Jun 9 07:08:47 2014
@@ -173,11 +173,10 @@
exit 0
elif test $EXITSTATUS -gt 128; then
EXITSIGNAL=$((EXITSTATUS - 128))
- echo "Asterisk exited on signal $EXITSIGNAL."
+ message "Asterisk exited on signal $EXITSIGNAL."
if test -n "$NOTIFY"; then
echo "Asterisk on $MACHINE exited on signal $EXITSIGNAL. Might want to take a peek." | \
- mail -s "Asterisk Died" $NOTIFY
- message "Exited on signal $EXITSIGNAL"
+ mail -s "Asterisk on $MACHINE died (sig $EXITSIGNAL)" $NOTIFY
fi
if test -n "$EXEC"; then
$EXEC
More information about the asterisk-commits
mailing list