From 9d1aae4f9b2dce5f6992d6da41df71b86a5a14a2 Mon Sep 17 00:00:00 2001 From: Craig Roberts Date: Thu, 6 Sep 2018 19:28:18 -0400 Subject: [PATCH] remove changes not related to this commit --- .../Asterisk.NET/Manager/ManagerConnection.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Asterisk.2013/Asterisk.NET/Manager/ManagerConnection.cs b/Asterisk.2013/Asterisk.NET/Manager/ManagerConnection.cs index c5e1ae9..37f983a 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/ManagerConnection.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/ManagerConnection.cs @@ -425,6 +425,7 @@ namespace AsterNET.Manager /// Available since : Asterisk 12. /// public event EventHandler QueueMemberPause; + /// /// Raised when started or stopped music on hold by channel. /// @@ -1319,13 +1320,13 @@ namespace AsterNET.Manager /// action to send /// timeout in milliseconds /// - public Response.ManagerResponse SendAction(ManagerAction action, int timeout) + public Response.ManagerResponse SendAction(ManagerAction action, int timeOut) { AutoResetEvent autoEvent = new AutoResetEvent(false); ResponseHandler handler = new ResponseHandler(action, autoEvent); int hash = SendAction(action, handler); - bool result = autoEvent.WaitOne(timeout <= 0 ? -1 : timeout, true); + bool result = autoEvent.WaitOne(timeOut <= 0 ? -1 : timeOut, true); RemoveResponseHandler(handler); @@ -1336,12 +1337,6 @@ namespace AsterNET.Manager #endregion #region SendAction(action, responseHandler) - /// - /// Send action ans with timeout (milliseconds) - /// - /// action to send - /// Response Handler - /// public int SendAction(ManagerAction action, ResponseHandler responseHandler) { if (action == null)