From ec35897ca238bddc3a4cc696c9966c5d1e974c3b Mon Sep 17 00:00:00 2001 From: Deantwo Date: Mon, 16 Jul 2018 11:05:46 +0200 Subject: [PATCH] Added Reason to QueuePauseAction Updated property documentation to match better with Asterisk doc. --- .../Manager/Action/QueuePauseAction.cs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePauseAction.cs b/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePauseAction.cs index 4ad6cf9..d462928 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePauseAction.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePauseAction.cs @@ -2,7 +2,6 @@ namespace AsterNET.Manager.Action { /// /// The QueuePauseAction makes a queue member temporarily unavailabe (or available again).
- /// It is implemented in apps/app_queue.c
/// Available since Asterisk 1.2. ///
public class QueuePauseAction : ManagerAction @@ -73,21 +72,26 @@ namespace AsterNET.Manager.Action } /// - /// Get/Set the interface of the member to make available or unavailable.
+ /// The name of the interface (tech/name) to pause or unpause.
/// This property is mandatory. ///
public string Interface { get; set; } /// - /// Get/Set Returns the name of the queue the member is made available or unavailable on. + /// The name of the queue in which to pause or unpause this member.
+ /// If null, the member will be paused or unpaused in all the queues it is a member of. ///
public string Queue { get; set; } /// - /// Get/Set if the member is made available or unavailable.
- /// true to make the member unavailbale,
- /// false make the member available + /// Pause or unpause the interface.
+ // Set to 'true' to pause the member or 'false' to unpause. ///
public bool Paused { get; set; } + + /// + /// Text description, returned in the event QueueMemberPaused. + /// + public string Reason { get; set; } } -} \ No newline at end of file +}