[asterisk-commits] file: branch 1.4 r61961 - /branches/1.4/res/res_monitor.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Apr 25 18:48:55 MST 2007


Author: file
Date: Wed Apr 25 20:48:55 2007
New Revision: 61961

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61961
Log:
Don't always say that the channel is being paused if it is actually being unpaused in the Manager ack message. (reported by jsmith in #asterisk-bugs)

Modified:
    branches/1.4/res/res_monitor.c

Modified: branches/1.4/res/res_monitor.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_monitor.c?view=diff&rev=61961&r1=61960&r2=61961
==============================================================================
--- branches/1.4/res/res_monitor.c (original)
+++ branches/1.4/res/res_monitor.c Wed Apr 25 20:48:55 2007
@@ -624,7 +624,7 @@
 		ast_monitor_unpause(c);
 	
 	ast_channel_unlock(c);
-	astman_send_ack(s, m, "Paused monitoring of the channel");
+	astman_send_ack(s, m, (action == MONITOR_ACTION_PAUSE ? "Paused monitoring of the channel" : "Unpaused monitoring of the channel"));
 	return 0;	
 }
 



More information about the asterisk-commits mailing list