removed <code> blocks from summary and fixed assmembly info
This commit is contained in:
parent
ba42c2f06f
commit
3c34e430d0
|
@ -46,6 +46,8 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<DocumentationFile>bin\Debug\AsterNET.XML</DocumentationFile>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace AsterNET.FastAGI
|
|||
/// <summary>
|
||||
/// Returns the AGIChannel associated with the current thread.
|
||||
/// </summary>
|
||||
/// <returns>the AGIChannel associated with the current thread or <code>null</code> if none is associated.</returns>
|
||||
/// <returns>the AGIChannel associated with the current thread or null if none is associated.</returns>
|
||||
internal static AGIChannel Channel
|
||||
{
|
||||
get { return (AGIChannel) Thread.GetData(_channel); }
|
||||
|
|
|
@ -178,7 +178,7 @@ namespace AsterNET.FastAGI
|
|||
/// contains a flag like "timeout" or "hangup" or - in case of the
|
||||
/// GetVariableCommand - the value of the variable.
|
||||
/// </summary>
|
||||
/// <returns>the text in the parenthesis or <code>null</code> if not set.</returns>
|
||||
/// <returns>the text in the parenthesis or null if not set.</returns>
|
||||
public string Extra
|
||||
{
|
||||
get
|
||||
|
@ -253,7 +253,7 @@ namespace AsterNET.FastAGI
|
|||
/// This can be retrieved by calling getAttribute("endpos") on the corresponding reply.
|
||||
/// </summary>
|
||||
/// <param name="name">the name of the attribute to retrieve. The name is case insensitive.</param>
|
||||
/// <returns>the value of the attribute or <code>null</code> if it is not set.</returns>
|
||||
/// <returns>the value of the attribute or null if it is not set.</returns>
|
||||
public string GetAttribute(string name)
|
||||
{
|
||||
if (GetStatus() != (int) AGIReplyStatuses.SC_SUCCESS)
|
||||
|
@ -300,7 +300,7 @@ namespace AsterNET.FastAGI
|
|||
/// Returns the synopsis of the command sent if Asterisk expected a different
|
||||
/// syntax (getStatus() == SC_INVALID_COMMAND_SYNTAX).
|
||||
/// </summary>
|
||||
/// <returns>the synopsis of the command sent, <code>null</code> if there were no syntax errors.</returns>
|
||||
/// <returns>the synopsis of the command sent, null if there were no syntax errors.</returns>
|
||||
public string GetSynopsis()
|
||||
{
|
||||
if (GetStatus() != (int) AGIReplyStatuses.SC_INVALID_COMMAND_SYNTAX)
|
||||
|
@ -345,7 +345,7 @@ namespace AsterNET.FastAGI
|
|||
/// </summary>
|
||||
/// <returns>
|
||||
/// the usage of the command sent,
|
||||
/// <code>null</code> if there were no syntax errors.
|
||||
/// null if there were no syntax errors.
|
||||
/// </returns>
|
||||
public string GetUsage()
|
||||
{
|
||||
|
|
|
@ -293,7 +293,7 @@ namespace AsterNET.FastAGI
|
|||
/// <summary>
|
||||
/// Returns wheather this agi is passed audio (EAGI - Enhanced AGI).<br />
|
||||
/// Enhanced AGI is currently not supported on FastAGI.<br />
|
||||
/// <code>true</code> if this agi is passed audio, <code>false</code> otherwise.
|
||||
/// true if this agi is passed audio, false otherwise.
|
||||
/// </summary>
|
||||
public bool Enhanced
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace AsterNET.FastAGI
|
|||
/// <summary>
|
||||
/// Plays music on hold from the given music on hold class.
|
||||
/// </summary>
|
||||
/// <param name="musicOnHoldClass">the music on hold class to play music from as configures in Asterisk's <code><musiconhold.conf/code>.</param>
|
||||
/// <param name="musicOnHoldClass">the music on hold class to play music from as configures in Asterisk's <musiconhold.conf/code>.</param>
|
||||
protected internal void PlayMusicOnHold(string musicOnHoldClass)
|
||||
{
|
||||
this.Channel.SendCommand(new Command.SetMusicOnCommand(musicOnHoldClass));
|
||||
|
@ -437,7 +437,7 @@ namespace AsterNET.FastAGI
|
|||
/// Returns the value of the given channel variable.
|
||||
/// </summary>
|
||||
/// <param name="name">the name of the variable to retrieve.</param>
|
||||
/// <returns> the value of the given variable or <code>null</code> if not set.</returns>
|
||||
/// <returns> the value of the given variable or null if not set.</returns>
|
||||
protected internal string GetVariable(string name)
|
||||
{
|
||||
AGIChannel channel = this.Channel;
|
||||
|
@ -481,7 +481,7 @@ namespace AsterNET.FastAGI
|
|||
/// Available since Asterisk 1.2.
|
||||
/// </summary>
|
||||
/// <param name="name">the name of the variable to retrieve.</param>
|
||||
/// <returns>the value of the given variable or <code>null</code> if not et.</returns>
|
||||
/// <returns>the value of the given variable or null if not et.</returns>
|
||||
protected internal string GetFullVariable(string name)
|
||||
{
|
||||
AGIChannel channel = this.Channel;
|
||||
|
@ -499,7 +499,7 @@ namespace AsterNET.FastAGI
|
|||
/// </summary>
|
||||
/// <param name="name">the name of the variable to retrieve.</param>
|
||||
/// <param name="channel">the name of the channel.</param>
|
||||
/// <returns>the value of the given variable or <code>null</code> if not set.</returns>
|
||||
/// <returns>the value of the given variable or null if not set.</returns>
|
||||
protected internal string GetFullVariable(string name, string channelName)
|
||||
{
|
||||
AGIChannel channel = this.Channel;
|
||||
|
@ -526,7 +526,7 @@ namespace AsterNET.FastAGI
|
|||
/// Available since Asterisk 1.2.
|
||||
/// </summary>
|
||||
/// <param name="time">the time to say in seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or <code>null</code> for none.</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or null for none.</param>
|
||||
/// <returns>the DTMF digit pressed or 0x0 if none was pressed.</returns>
|
||||
protected internal char SayDateTime(long time, string escapeDigits)
|
||||
{
|
||||
|
@ -540,7 +540,7 @@ namespace AsterNET.FastAGI
|
|||
/// Available since Asterisk 1.2.
|
||||
/// </summary>
|
||||
/// <param name="time">the time to say in seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or <code>null</code> for none.</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or null for none.</param>
|
||||
/// <param name="format">the format the time should be said in</param>
|
||||
/// <returns>the DTMF digit pressed or 0x0 if none was pressed.</returns>
|
||||
protected internal char SayDateTime(long time, string escapeDigits, string format)
|
||||
|
@ -555,7 +555,7 @@ namespace AsterNET.FastAGI
|
|||
/// Available since Asterisk 1.2.
|
||||
/// </summary>
|
||||
/// <param name="time">the time to say in seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or <code>null</code> for none.</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or null for none.</param>
|
||||
/// <param name="format">the format the time should be said in</param>
|
||||
/// <param name="timezone">the timezone to use when saying the time, for example "UTC" or "Europe/Berlin".</param>
|
||||
/// <returns>the DTMF digit pressed or 0x0 if none was pressed.</returns>
|
||||
|
@ -573,7 +573,7 @@ namespace AsterNET.FastAGI
|
|||
/// </summary>
|
||||
/// <param name="family">the family of the entry to retrieve.</param>
|
||||
/// <param name="key">key the key of the entry to retrieve.</param>
|
||||
/// <return>the value of the given family and key or <code>null</code> if there is no such value.</return>
|
||||
/// <return>the value of the given family and key or null if there is no such value.</return>
|
||||
protected internal string DatabaseGet(string family, string key)
|
||||
{
|
||||
AGIChannel channel = this.Channel;
|
||||
|
@ -682,7 +682,7 @@ namespace AsterNET.FastAGI
|
|||
/// <param name="escapeDigits">contains the digits that allow the user to end recording.</param>
|
||||
/// <param name="timeout">the maximum record time in milliseconds, or -1 for no timeout.</param>
|
||||
/// <param name="offset">the offset samples to skip.</param>
|
||||
/// <param name="beep"><code>true</code> if a beep should be played before recording.</param>
|
||||
/// <param name="beep">true if a beep should be played before recording.</param>
|
||||
/// <param name="maxSilence">The amount of silence (in seconds) to allow before returning despite the lack of dtmf digits or reaching timeout.</param>
|
||||
/// <returns>result code</returns>
|
||||
protected internal int RecordFile(string file, string format, string escapeDigits, int timeout, int offset, bool beep, int maxSilence)
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace AsterNET.FastAGI.Command
|
|||
#endregion
|
||||
#region EscapeDigits
|
||||
/// <summary>
|
||||
/// Get/Set the digits that allow the user to interrupt this command or <code>null</code> for none.
|
||||
/// Get/Set the digits that allow the user to interrupt this command or null for none.
|
||||
/// </summary>
|
||||
public string EscapeDigits
|
||||
{
|
||||
|
@ -122,7 +122,7 @@ namespace AsterNET.FastAGI.Command
|
|||
/// <param name="file">the name of the file to stream, must not include extension.</param>
|
||||
/// <param name="escapeDigits">
|
||||
/// contains the digits that allow the user to interrupt this command.
|
||||
/// Maybe <code>null</code> if you don't want the user to interrupt.
|
||||
/// Maybe null if you don't want the user to interrupt.
|
||||
/// </param>
|
||||
/// <param name="offset">the offset samples to skip before streaming.</param>
|
||||
public ControlStreamFileCommand(string file, string escapeDigits, int offset)
|
||||
|
@ -139,7 +139,7 @@ namespace AsterNET.FastAGI.Command
|
|||
/// support pausing.
|
||||
/// </summary>
|
||||
/// <param name="file">the name of the file to stream, must not include extension.</param>
|
||||
/// <param name="escapeDigits">contains the digits that allow the user to interrupt this command. Maybe <code>null</code> if you don't want the user to interrupt.</param>
|
||||
/// <param name="escapeDigits">contains the digits that allow the user to interrupt this command. Maybe null if you don't want the user to interrupt.</param>
|
||||
/// <param name="offset">the offset samples to skip before streaming.</param>
|
||||
/// <param name="forwardDigit">the digit for fast forward.</param>
|
||||
/// <param name="rewindDigit">the digit for rewind.</param>
|
||||
|
|
|
@ -8,16 +8,16 @@ namespace AsterNET.FastAGI.Command
|
|||
{
|
||||
|
||||
/// <summary>
|
||||
/// The name of the channel to hangup or <code>null</code> for the current channel.
|
||||
/// The name of the channel to hangup or null for the current channel.
|
||||
/// </summary>
|
||||
private string channel;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the name of the channel to hangup.
|
||||
/// </summary>
|
||||
/// <returns>the name of the channel to hangup or <code>null</code> for the current channel.</returns>
|
||||
/// <returns>the name of the channel to hangup or null for the current channel.</returns>
|
||||
/// <summary> Sets the name of the channel to hangup.</summary>
|
||||
/// <param name="channel">the name of the channel to hangup or <code>null</code> for the current channel.</param>
|
||||
/// <param name="channel">the name of the channel to hangup or null for the current channel.</param>
|
||||
public string Channel
|
||||
{
|
||||
get { return channel; }
|
||||
|
|
|
@ -82,7 +82,7 @@ namespace AsterNET.FastAGI.Command
|
|||
#endregion
|
||||
#region Beep
|
||||
/// <summary>
|
||||
/// Get/Set <code>true</code> if a beep should be played before recording. <code>false</code> if not.
|
||||
/// Get/Set true if a beep should be played before recording. false if not.
|
||||
/// </summary>
|
||||
public bool Beep
|
||||
{
|
||||
|
@ -119,7 +119,7 @@ namespace AsterNET.FastAGI.Command
|
|||
/// <param name="escapeDigits">contains the digits that allow the user to end recording.</param>
|
||||
/// <param name="timeout">the maximum record time in milliseconds, or -1 for no timeout.</param>
|
||||
/// <param name="offset">the offset samples to skip.</param>
|
||||
/// <param name="beep"><code>true</code> if a beep should be played before recording.</param>
|
||||
/// <param name="beep">true if a beep should be played before recording.</param>
|
||||
/// <param name="maxSilence">The amount of silence (in seconds) to allow before returning despite the lack of dtmf digits or reaching timeout.</param>
|
||||
public RecordFileCommand(string file, string format, string escapeDigits, int timeout, int offset, bool beep, int maxSilence)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace AsterNET.FastAGI.Command
|
|||
/// Creates a new SayDateTimeCommand that says the given time and allows interruption by one of the given escape digits.
|
||||
/// </summary>
|
||||
/// <param name="time">the time to say in seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or <code>null</code> for none.</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or null for none.</param>
|
||||
public SayDateTimeCommand(long time, string escapeDigits)
|
||||
{
|
||||
this.time = time;
|
||||
|
@ -41,7 +41,7 @@ namespace AsterNET.FastAGI.Command
|
|||
/// format and allows interruption by one of the given escape digits.
|
||||
/// </summary>
|
||||
/// <param name="time">the time to say in seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or <code>null</code> for none.</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or null for none.</param>
|
||||
/// <param name="format">the format the time should be said in</param>
|
||||
public SayDateTimeCommand(long time, string escapeDigits, string format)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ namespace AsterNET.FastAGI.Command
|
|||
/// digits.
|
||||
/// </summary>
|
||||
/// <param name="time">the time to say in seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or <code>null</code> for none.</param>
|
||||
/// <param name="escapeDigits">the digits that allow the user to interrupt this command or null for none.</param>
|
||||
/// <param name="format">the format the time should be said in</param>
|
||||
/// <param name="timezone">the timezone to use when saying the time, for example "UTC" or "Europe/Berlin".</param>
|
||||
public SayDateTimeCommand(long time, string escapeDigits, string format, string timezone)
|
||||
|
|
|
@ -10,8 +10,8 @@ namespace AsterNET.FastAGI.Command
|
|||
/// <summary>
|
||||
/// Get/Set the music on hold class to play music from.
|
||||
/// </summary>
|
||||
/// <returns>the music on hold class to play music from or <code>null</code> for the default class.</returns>
|
||||
/// <param name="musicOnHoldClass">the music on hold class to play music from or <code>null</code> for the default class.</param>
|
||||
/// <returns>the music on hold class to play music from or null for the default class.</returns>
|
||||
/// <param name="musicOnHoldClass">the music on hold class to play music from or null for the default class.</param>
|
||||
public string MusicOnHoldClass
|
||||
{
|
||||
get { return musicOnHoldClass; }
|
||||
|
|
|
@ -104,7 +104,7 @@ namespace AsterNET.FastAGI.Command
|
|||
/// </summary>
|
||||
/// <param name="file">the name of the file to stream, must not include extension.</param>
|
||||
/// <param name="escapeDigits">contains the digits that allow the user to interrupt this command.
|
||||
/// Maybe <code>null</code> if you don't want the user to interrupt.
|
||||
/// Maybe null if you don't want the user to interrupt.
|
||||
/// </param>
|
||||
/// <param name="offset">the offset samples to skip before streaming.</param>
|
||||
public StreamFileCommand(string file, string escapeDigits, int offset)
|
||||
|
|
|
@ -93,13 +93,13 @@ namespace AsterNET
|
|||
#region IsTrue(string)
|
||||
|
||||
/// <summary>
|
||||
/// Checks if a String represents <code>true</code> or <code>false</code> according to Asterisk's logic.<br />
|
||||
/// The original implementation is <code>util.c</code> is as follows:
|
||||
/// Checks if a String represents true or false according to Asterisk's logic.<br />
|
||||
/// The original implementation is util.c is as follows:
|
||||
/// </summary>
|
||||
/// <param name="s">the String to check for <code>true</code>.</param>
|
||||
/// <param name="s">the String to check for true.</param>
|
||||
/// <returns>
|
||||
/// <code>true</code> if s represents <code>true</code>,
|
||||
/// <code>false</code> otherwise.
|
||||
/// true if s represents true,
|
||||
/// false otherwise.
|
||||
/// </returns>
|
||||
internal static bool IsTrue(string s)
|
||||
{
|
||||
|
@ -744,7 +744,7 @@ namespace AsterNET
|
|||
/// </summary>
|
||||
/// <param name="source">source attribute for the event</param>
|
||||
/// <param name="attributes">map containing event attributes</param>
|
||||
/// <returns>a concrete instance of ManagerEvent or <code>null</code> if no event class was registered for the event type.</returns>
|
||||
/// <returns>a concrete instance of ManagerEvent or null if no event class was registered for the event type.</returns>
|
||||
internal static ManagerEvent BuildEvent(IDictionary<int, ConstructorInfo> list, ManagerConnection source,
|
||||
Dictionary<string, string> attributes)
|
||||
{
|
||||
|
|
|
@ -70,7 +70,7 @@ namespace AsterNET.Manager.Action
|
|||
|
||||
/// <summary>
|
||||
/// Get/Set if an acknowledgement is needed when agent is called back.<br />
|
||||
/// <code>true</code> if acknowledgement by '#' is required when agent is called back, <code>false</code> otherwise.
|
||||
/// true if acknowledgement by '#' is required when agent is called back, false otherwise.
|
||||
/// This property is optional, it allows you to override the defaults defined in Asterisk's configuration.
|
||||
/// </summary>
|
||||
public bool AckCall { get; set; }
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace AsterNET.Manager.Action
|
|||
/// </summary>
|
||||
/// <returns>
|
||||
/// true if existing calls should not be hung up, false otherwise.<br />
|
||||
/// <code>null</code> if default should be used.
|
||||
/// null if default should be used.
|
||||
/// </returns>
|
||||
public bool Soft { get; set; }
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ namespace AsterNET.Manager.Action
|
|||
/// <summary>
|
||||
/// The ChangeMonitorAction changes the monitoring filename of a channel.
|
||||
/// It has no effect if the channel is not monitored.<br />
|
||||
/// It is implemented in <code>res/res_monitor.c</code>
|
||||
/// It is implemented in res/res_monitor.c
|
||||
/// </summary>
|
||||
public class ChangeMonitorAction : ManagerAction
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Action
|
|||
{
|
||||
/// <summary>
|
||||
/// The CommandAction sends a command line interface (CLI) command to the asterisk server.<br />
|
||||
/// For a list of supported commands type <code>help</code> on asterisk's command line.
|
||||
/// For a list of supported commands type help on asterisk's command line.
|
||||
/// </summary>
|
||||
public class CommandAction : ManagerAction
|
||||
{
|
||||
|
|
|
@ -23,8 +23,8 @@ namespace AsterNET.Manager.Action
|
|||
/// Creates a new LoginAction that performs a cleartext login.<br />
|
||||
/// You should not use cleartext login if you are concerned about security and login with a password hash instead.
|
||||
/// </summary>
|
||||
/// <param name="username">the username as configured in Asterisk's <code>manager.conf</code></param>
|
||||
/// <param name="secret">the user's password as configured in Asterisk's <code>manager.conf</code></param>
|
||||
/// <param name="username">the username as configured in Asterisk's manager.conf</param>
|
||||
/// <param name="secret">the user's password as configured in Asterisk's manager.conf</param>
|
||||
/// <seealso cref="Manager.Action.ChallengeAction" />
|
||||
public LoginAction(string username, string secret)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ namespace AsterNET.Manager.Action
|
|||
/// <summary>
|
||||
/// Creates a new LoginAction that performs a login via challenge/response.
|
||||
/// </summary>
|
||||
/// <param name="username">the username as configured in Asterisk's <code>manager.conf</code></param>
|
||||
/// <param name="username">the username as configured in Asterisk's manager.conf</param>
|
||||
/// <param name="authType">
|
||||
/// the digest alogrithm, must match the digest algorithm that was used with the corresponding
|
||||
/// ChallengeAction.
|
||||
|
@ -51,7 +51,7 @@ namespace AsterNET.Manager.Action
|
|||
/// <summary>
|
||||
/// Creates a new LoginAction that performs a login via challenge/response.
|
||||
/// </summary>
|
||||
/// <param name="username">the username as configured in Asterisk's <code>manager.conf</code></param>
|
||||
/// <param name="username">the username as configured in Asterisk's manager.conf</param>
|
||||
/// <param name="authType">
|
||||
/// the digest alogrithm, must match the digest algorithm that was used with the corresponding
|
||||
/// ChallengeAction.
|
||||
|
@ -79,13 +79,13 @@ namespace AsterNET.Manager.Action
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get/Set the username as configured in asterik's <code>manager.conf</code>.
|
||||
/// Get/Set the username as configured in asterik's manager.conf.
|
||||
/// </summary>
|
||||
public string Username { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Get/Set the secret to use when using cleartext login.<br />
|
||||
/// The secret contains the user's password as configured in Asterisk's <code>manager.conf</code>.<br />
|
||||
/// The secret contains the user's password as configured in Asterisk's manager.conf.<br />
|
||||
/// The secret and key properties are mutually exclusive.
|
||||
/// </summary>
|
||||
public string Secret { get; set; }
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Action
|
|||
{
|
||||
/// <summary>
|
||||
/// The MonitorAction starts monitoring (recording) a channel.<br />
|
||||
/// It is implemented in <code>res/res_monitor.c</code>
|
||||
/// It is implemented in res/res_monitor.c
|
||||
/// </summary>
|
||||
public class MonitorAction : ManagerAction
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace AsterNET.Manager.Action
|
|||
/// The response to this action is sent when the channel has been answered and
|
||||
/// asterisk starts connecting it to the given extension. So be careful not to
|
||||
/// choose a too short timeout when waiting for the response.<br />
|
||||
/// If you set async to <code>true</code> Asterisk reports an OriginateSuccess-
|
||||
/// If you set async to true Asterisk reports an OriginateSuccess-
|
||||
/// and OriginateFailureEvents. The action id of these events equals the action
|
||||
/// id of this OriginateAction.
|
||||
/// </summary>
|
||||
|
@ -120,7 +120,7 @@ namespace AsterNET.Manager.Action
|
|||
#region Async
|
||||
|
||||
/// <summary>
|
||||
/// Get/Set <code>true</code> if this is a fast origination.<br />
|
||||
/// Get/Set true if this is a fast origination.<br />
|
||||
/// For the origination to be asynchronous (allows multiple calls to be generated without waiting for a response).
|
||||
/// <br />
|
||||
/// Will send OriginateSuccess- and OriginateFailureEvents.
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Action
|
|||
{
|
||||
/// <summary>
|
||||
/// The QueueAddAction adds a new member to a queue.<br />
|
||||
/// It is implemented in <code>apps/app_queue.c</code>
|
||||
/// It is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
public class QueueAddAction : ManagerAction
|
||||
{
|
||||
|
@ -91,7 +91,7 @@ namespace AsterNET.Manager.Action
|
|||
|
||||
/// <summary>
|
||||
/// Get/Set if the queue member should be paused when added.<br />
|
||||
/// <code>true</code> if the queue member should be paused when added.
|
||||
/// true if the queue member should be paused when added.
|
||||
/// </summary>
|
||||
public bool Paused { get; set; }
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Action
|
|||
{
|
||||
/// <summary>
|
||||
/// The QueuePauseAction makes a queue member temporarily unavailabe (or available again).<br />
|
||||
/// It is implemented in <code>apps/app_queue.c</code><br />
|
||||
/// It is implemented in apps/app_queue.c<br />
|
||||
/// Available since Asterisk 1.2.
|
||||
/// </summary>
|
||||
public class QueuePauseAction : ManagerAction
|
||||
|
@ -43,7 +43,7 @@ namespace AsterNET.Manager.Action
|
|||
/// interface available or unavailable on all queues.
|
||||
/// </summary>
|
||||
/// <param name="iface">the interface of the member to make unavailable</param>
|
||||
/// <param name="paused"><code>true</code> to make the member unavailbale, <code>false</code> to make the member available</param>
|
||||
/// <param name="paused">true to make the member unavailbale, false to make the member available</param>
|
||||
public QueuePauseAction(string iface, bool paused)
|
||||
{
|
||||
this.Interface = iface;
|
||||
|
@ -56,7 +56,7 @@ namespace AsterNET.Manager.Action
|
|||
/// </summary>
|
||||
/// <param name="iface">the interface of the member to make unavailable</param>
|
||||
/// <param name="queue">the queue the member is made unvailable on</param>
|
||||
/// <param name="paused"><code>true</code> to make the member unavailbale, <code>false</code> to make the member available</param>
|
||||
/// <param name="paused">true to make the member unavailbale, false to make the member available</param>
|
||||
public QueuePauseAction(string iface, string queue, bool paused)
|
||||
{
|
||||
this.Interface = iface;
|
||||
|
@ -85,8 +85,8 @@ namespace AsterNET.Manager.Action
|
|||
|
||||
/// <summary>
|
||||
/// Get/Set if the member is made available or unavailable.<br />
|
||||
/// <code>true</code> to make the member unavailbale,<br />
|
||||
/// <code>false</code> make the member available
|
||||
/// true to make the member unavailbale,<br />
|
||||
/// false make the member available
|
||||
/// </summary>
|
||||
public bool Paused { get; set; }
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Action
|
|||
{
|
||||
/// <summary>
|
||||
/// The QueueRemoveAction removes a member from a queue.<br />
|
||||
/// It is implemented in <code>apps/app_queue.c</code>
|
||||
/// It is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
public class QueueRemoveAction : ManagerAction
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace AsterNET.Manager.Action
|
|||
/// QueueMemberEvent for each member of that queue and a QueueEntryEvent for each
|
||||
/// entry in the queue.<br />
|
||||
/// Since Asterisk 1.2 a QueueStatusCompleteEvent is sent to denote the end of the generated dump.<br />
|
||||
/// This action is implemented in <code>apps/app_queue.c</code>
|
||||
/// This action is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.event.QueueParamsEvent" />
|
||||
/// <seealso cref="Manager.event.QueueMemberEvent" />
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace AsterNET.Manager.Action
|
|||
/// The SetCDRUserFieldAction causes the user field of the call detail record for the given channel to be changed.
|
||||
/// <br />
|
||||
/// Depending on the value of the append property the value is appended or overwritten.<br />
|
||||
/// The SetCDRUserFieldAction is implemented in <code>apps/app_setcdruserfield.c</code>
|
||||
/// The SetCDRUserFieldAction is implemented in apps/app_setcdruserfield.c
|
||||
/// </summary>
|
||||
public class SetCDRUserFieldAction : ManagerAction
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ namespace AsterNET.Manager.Action
|
|||
|
||||
/// <summary>
|
||||
/// Get/Set if the value of the cdr user field is appended or overwritten.<br />
|
||||
/// <code>true</code> to append the value to the cdr user field or <code>false</code> to overwrite.
|
||||
/// true to append the value to the cdr user field or false to overwrite.
|
||||
/// </summary>
|
||||
public bool Append { get; set; }
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Action
|
|||
{
|
||||
/// <summary>
|
||||
/// The StopMonitorAction ends monitoring (recording) a channel.<br />
|
||||
/// It is implemented in <code>res/res_monitor.c</code>
|
||||
/// It is implemented in res/res_monitor.c
|
||||
/// </summary>
|
||||
public class StopMonitorAction : ManagerAction
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// An AgentCallbackLoginEvent is triggered when an agent is successfully logged in using AgentCallbackLogin.<br />
|
||||
/// It is implemented in <code>channels/chan_agent.c</code>
|
||||
/// It is implemented in channels/chan_agent.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.event.AgentCallbackLogoffEvent" />
|
||||
public class AgentCallbackLoginEvent : ManagerEvent
|
||||
|
|
|
@ -3,7 +3,7 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// An AgentCallbackLogoffEvent is triggered when an agent that previously logged in using
|
||||
/// AgentCallbackLogin is logged of.<br />
|
||||
/// It is implemented in <code>channels/chan_agent.c</code>
|
||||
/// It is implemented in channels/chan_agent.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.event.AgentCallbackLoginEvent" />
|
||||
public class AgentCallbackLogoffEvent : ManagerEvent
|
||||
|
@ -33,7 +33,7 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// Returns the reason for the logoff. The reason is set to Autologoff if the agent has been
|
||||
/// logged off due to not answering the phone in time. Autologoff is configured by setting
|
||||
/// <code>autologoff</code> to the appropriate number of seconds in <code>agents.conf</code>.
|
||||
/// autologoff to the appropriate number of seconds in agents.conf.
|
||||
/// </summary>
|
||||
/// <summary>Sets the reason for the logoff.</summary>
|
||||
public string Reason { get; set; }
|
||||
|
|
|
@ -2,8 +2,8 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// An AgentCalledEvent is triggered when an agent is rung.<br />
|
||||
/// To enable AgentCalledEvents you have to set <code>eventwhencalled = yes</code> in <code>queues.conf</code>.<br />
|
||||
/// This event is implemented in <code>apps/app_queue.c</code>
|
||||
/// To enable AgentCalledEvents you have to set eventwhencalled = yes in queues.conf.<br />
|
||||
/// This event is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
public class AgentCalledEvent : AbstractAgentVariables
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// An AgentLoginEvent is triggered when an agent is successfully logged in using AgentLogin.<br />
|
||||
/// It is implemented in <code>channels/chan_agent.c</code>
|
||||
/// It is implemented in channels/chan_agent.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.event.AgentLogoffEvent" />
|
||||
public class AgentLoginEvent : ManagerEvent
|
||||
|
|
|
@ -2,8 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// An AgentCallbackLogoffEvent is triggered when an agent that previously logged in using AgentLogin is logged of.
|
||||
/// <br />
|
||||
/// It is implemented in <code>channels/chan_agent.c</code>
|
||||
/// It is implemented in channels/chan_agent.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.event.AgentLoginEvent" />
|
||||
public class AgentLogoffEvent : ManagerEvent
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// An AlarmEvent is triggered when a Zap channel leaves alarm state.<br/>
|
||||
/// It is implemented in <code>channels/chan_zap.c</code>
|
||||
/// It is implemented in channels/chan_zap.c
|
||||
/// </summary>
|
||||
public class AlarmClearEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// An AlarmEvent is triggered when a Zap channel enters or changes alarm state.<br />
|
||||
/// It is implemented in <code>channels/chan_zap.c</code>
|
||||
/// It is implemented in channels/chan_zap.c
|
||||
/// </summary>
|
||||
public class AlarmEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -2,9 +2,9 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A CdrEvent is triggered when a call detail record is generated, usually at the end of a call.<br />
|
||||
/// To enable CdrEvents you have to add <code>enabled = yes</code> to the general section in
|
||||
/// <code>cdr_manager.conf</code>.<br />
|
||||
/// This event is implemented in <code>cdr/cdr_manager.c</code>
|
||||
/// To enable CdrEvents you have to add enabled = yes to the general section in
|
||||
/// cdr_manager.conf.<br />
|
||||
/// This event is implemented in cdr/cdr_manager.c
|
||||
/// </summary>
|
||||
public class CdrEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// A DNDStateEvent is triggered by the Zap channel driver when a channel enters
|
||||
/// or leaves DND (do not disturb) state.<br />
|
||||
/// It is implemented in <code>channels/chan_zap.c</code>.<br />
|
||||
/// It is implemented in channels/chan_zap.c.<br />
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
public class DNDStateEvent : ManagerEvent
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A dial event is triggered whenever a phone attempts to dial someone.<br/>
|
||||
/// This event is implemented in <code>apps/app_dial.c</code>.<br/>
|
||||
/// This event is implemented in apps/app_dial.c.<br/>
|
||||
/// Available since Asterisk 1.2.
|
||||
/// </summary>
|
||||
public class DialEvent : ManagerEvent
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// An ExtensionStatusEvent is triggered when the state of an extension changes.<br/>
|
||||
/// It is implemented in <code>manager.c</code>
|
||||
/// It is implemented in manager.c
|
||||
/// </summary>
|
||||
public class ExtensionStatusEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace AsterNET.Manager.Event
|
|||
/// A FaxReceivedEvent is triggered by spandsp after a new fax has been received.<br />
|
||||
/// It is only available if you installed the spandsp patches to Asterisk.<br />
|
||||
/// See http://soft-switch.org/installing-spandsp.html for details.<br />
|
||||
/// Implemented in <code>apps/app_rxfax.c</code>.
|
||||
/// Implemented in apps/app_rxfax.c.
|
||||
/// </summary>
|
||||
public class FaxReceivedEvent : AbstractAgentEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A HangupEvent is triggered when a channel is hung up.<br/>
|
||||
/// It is implemented in <code>channel.c</code>
|
||||
/// It is implemented in channel.c
|
||||
/// </summary>
|
||||
public class HangupEvent : AbstractChannelEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A HoldEvent is triggered by the SIP channel driver when a channel is put on hold.<br />
|
||||
/// It is implemented in <code>channels/chan_sip.c</code>.<br />
|
||||
/// It is implemented in channels/chan_sip.c.<br />
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.event.UnholdEvent" />
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A HoldedCallEvent is triggered when a channel is put on hold.<br />
|
||||
/// It is implemented in <code>res/res_features.c</code>
|
||||
/// It is implemented in res/res_features.c
|
||||
/// </summary>
|
||||
public class HoldedCallEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A JoinEvent is triggered when a channel joines a queue.<br />
|
||||
/// It is implemented in <code>apps/app_queue.c</code>
|
||||
/// It is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
public class JoinEvent : QueueEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A LeaveEvent is triggered when a channel leaves a queue.<br/>
|
||||
/// It is implemented in <code>apps/app_queue.c</code>
|
||||
/// It is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
public class LeaveEvent : QueueEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A LogChannelEvent is triggered when logging is turned on or off.<br />
|
||||
/// It is implemented in <code>logger.c</code><br />
|
||||
/// It is implemented in logger.c<br />
|
||||
/// </summary>
|
||||
public class LogChannelEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -79,7 +79,7 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// Get/Set the point in time this event was received from the Asterisk server.<br/>
|
||||
/// Pseudo events that are not directly received from the asterisk server
|
||||
/// (for example ConnectEvent and DisconnectEvent) may return <code>null</code>.
|
||||
/// (for example ConnectEvent and DisconnectEvent) may return null.
|
||||
/// </summary>
|
||||
public DateTime DateReceived
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A MeetMeJoinEvent is triggered if a channel joins a meet me conference.<br />
|
||||
/// It is implemented in <code>apps/app_meetme.c</code>
|
||||
/// It is implemented in apps/app_meetme.c
|
||||
/// </summary>
|
||||
public class MeetmeJoinEvent : AbstractMeetmeEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A MeetMeLeaveEvent is triggered if a channel leaves a meet me conference.<br />
|
||||
/// It is implemented in <code>apps/app_meetme.c</code>
|
||||
/// It is implemented in apps/app_meetme.c
|
||||
/// </summary>
|
||||
public class MeetmeLeaveEvent : AbstractMeetmeEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A MeetMeStopTalkingEvent is triggered when a user ends talking in a meet me conference.<br/>
|
||||
/// It is implemented in <code>apps/app_meetme.c</code>
|
||||
/// It is implemented in apps/app_meetme.c
|
||||
/// </summary>
|
||||
public class MeetmeStopTalkingEvent : AbstractMeetmeEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A MessageWaitingEvent is triggered when someone leaves voicemail.<br />
|
||||
/// It is implemented in <code>apps/app_voicemail.c</code>
|
||||
/// It is implemented in apps/app_voicemail.c
|
||||
/// </summary>
|
||||
public class MessageWaitingEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A NewCallerIdEvent is triggered when the caller id of a channel changes.<br />
|
||||
/// It is implemented in <code>channel.c</code>
|
||||
/// It is implemented in channel.c
|
||||
/// </summary>
|
||||
public class NewCallerIdEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A NewChannelEvent is triggered when a new channel is created.<br/>
|
||||
/// It is implemented in <code>channel.c</code>
|
||||
/// It is implemented in channel.c
|
||||
/// </summary>
|
||||
public class NewChannelEvent : AbstractChannelEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A NewExtenEvent is triggered when a channel is connected to a new extension.<br/>
|
||||
/// It is implemented in <code>pbx.c</code>
|
||||
/// It is implemented in pbx.c
|
||||
/// </summary>
|
||||
public class NewExtenEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A NewStateEvent is triggered when the state of a channel has changed.<br/>
|
||||
/// It is implemented in <code>channel.c</code>
|
||||
/// It is implemented in channel.c
|
||||
/// </summary>
|
||||
public class NewStateEvent : AbstractChannelEvent
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// A ParkedCallEvent is triggered when a channel is parked (in this case no
|
||||
/// action id is set) and in response to a ParkedCallsAction.<br/>
|
||||
/// It is implemented in <code>res/res_features.c</code>
|
||||
/// It is implemented in res/res_features.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.Action.ParkedCallsAction"/>
|
||||
public class ParkedCallEvent : ResponseEvent
|
||||
|
@ -29,8 +29,8 @@ namespace AsterNET.Manager.Event
|
|||
}
|
||||
/// <summary>
|
||||
/// Get/Set the number of seconds this call will be parked.<br/>
|
||||
/// This corresponds to the <code>parkingtime</code> option in
|
||||
/// <code>features.conf</code>.
|
||||
/// This corresponds to the parkingtime option in
|
||||
/// features.conf.
|
||||
/// </summary>
|
||||
public long Timeout
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A ParkedCallGiveUpEvent is triggered when a channel that has been parked is hung up.<br/>
|
||||
/// It is implemented in <code>res/res_features.c</code><br/>
|
||||
/// It is implemented in res/res_features.c<br/>
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
public class ParkedCallGiveUpEvent : AbstractParkedCallEvent
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A ParkedCallTimeOutEvent is triggered when call parking times out for a given channel.<br/>
|
||||
/// It is implemented in <code>res/res_features.c</code><br/>
|
||||
/// It is implemented in res/res_features.c<br/>
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
public class ParkedCallTimeOutEvent : AbstractParkedCallEvent
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A PeerEntryEvent is triggered in response to a SIPPeersAction or SIPShowPeerAction and contains information about a peer.<br/>
|
||||
/// It is implemented in <code>channels/chan_sip.c</code>
|
||||
/// It is implemented in channels/chan_sip.c
|
||||
/// </summary>
|
||||
public class PeerEntryEvent : ResponseEvent
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ namespace AsterNET.Manager.Event
|
|||
|
||||
/// <summary>
|
||||
/// A PeerStatusEvent is triggered when a SIP or IAX client attempts to registrer at this asterisk server.<br/>
|
||||
/// This event is implemented in <code>channels/chan_iax2.c</code> and <code>channels/chan_sip.c</code>
|
||||
/// This event is implemented in channels/chan_iax2.c and channels/chan_sip.c
|
||||
/// </summary>
|
||||
public class PeerStatusEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A QueueEntryEvent is triggered in response to a QueueStatusAction and contains information about an entry in a queue.<br/>
|
||||
/// It is implemented in <code>apps/app_queue.c</code>
|
||||
/// It is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.Action.QueueStatusAction" />
|
||||
public class QueueEntryEvent : ResponseEvent
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A QueueMemberAddedEvent is triggered when a queue member is added to a queue.<br/>
|
||||
/// It is implemented in <code>apps/app_queue.c</code>.<br/>
|
||||
/// It is implemented in apps/app_queue.c.<br/>
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
public class QueueMemberAddedEvent : AbstractQueueMemberEvent
|
||||
|
@ -85,7 +85,7 @@ namespace AsterNET.Manager.Event
|
|||
}
|
||||
/// <summary>
|
||||
/// Get/Set value if this queue member is paused (not accepting calls).<br/>
|
||||
/// <code>true</code> if this member has been paused or <code>false</code> if not.
|
||||
/// true if this member has been paused or false if not.
|
||||
/// </summary>
|
||||
public bool Paused
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A QueueMemberEvent is triggered in response to a QueueStatusAction and contains information about a member of a queue.<br/>
|
||||
/// It is implemented in <code>apps/app_queue.c</code>
|
||||
/// It is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.Action.QueueStatusAction" />
|
||||
public class QueueMemberEvent : ResponseEvent
|
||||
|
@ -56,7 +56,7 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// Get/Set value if this member has been dynamically added by the QueueAdd command
|
||||
/// (in the dialplan or via the Manager API) or if this member is has been
|
||||
/// statically defined in <code>queues.conf</code>.
|
||||
/// statically defined in queues.conf.
|
||||
/// "dynamic" if the added member is a dynamic queue member, "static" if the added member is a static queue member.
|
||||
/// </summary>
|
||||
public string Membership
|
||||
|
@ -115,8 +115,8 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// Is this queue member paused (not accepting calls)?<br/>
|
||||
/// Available since Asterisk 1.2.<br/>
|
||||
/// <code>true</code> if this member has been paused,
|
||||
/// <code>false</code> if not
|
||||
/// true if this member has been paused,
|
||||
/// false if not
|
||||
public bool Paused
|
||||
{
|
||||
get { return this.paused; }
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A QueueMemberPausedEvent is triggered when a queue member is paused or unpaused.<br/>
|
||||
/// It is implemented in <code>apps/app_queue.c</code>.<br/>
|
||||
/// It is implemented in apps/app_queue.c.<br/>
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
public class QueueMemberPausedEvent : AbstractQueueMemberEvent
|
||||
|
@ -23,8 +23,8 @@ namespace AsterNET.Manager.Event
|
|||
|
||||
/// <summary>
|
||||
/// Get/Set if this queue member is paused (not accepting calls).<br/>
|
||||
/// <code>true</code> if this member has been paused or
|
||||
/// <code>false</code> if not.
|
||||
/// true if this member has been paused or
|
||||
/// false if not.
|
||||
/// </summary>
|
||||
public bool Paused
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A QueueMemberRemovedEvent is triggered when a queue member is removed from a queue.<br/>
|
||||
/// It is implemented in <code>apps/app_queue.c</code>.<br/>
|
||||
/// It is implemented in apps/app_queue.c.<br/>
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
public class QueueMemberRemovedEvent : AbstractQueueMemberEvent
|
||||
|
|
|
@ -3,7 +3,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A QueueParamsEvent is triggered in response to a QueueStatusAction and contains the parameters of a queue.<br/>
|
||||
/// It is implemented in <code>apps/app_queue.c</code>
|
||||
/// It is implemented in apps/app_queue.c
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.Action.QueueStatusAction" />
|
||||
public class QueueParamsEvent : ResponseEvent
|
||||
|
@ -36,7 +36,7 @@ namespace AsterNET.Manager.Event
|
|||
set { this.queue = value; }
|
||||
}
|
||||
/// <summary> Returns the maximum number of people waiting in the queue or 0 for unlimited.<br/>
|
||||
/// This corresponds to the <code>maxlen</code> setting in <code>queues.conf</code>.
|
||||
/// This corresponds to the maxlen setting in queues.conf.
|
||||
/// </summary>
|
||||
/// <summary> Sets the maximum number of people waiting in the queue.</summary>
|
||||
public int Max
|
||||
|
@ -72,8 +72,8 @@ namespace AsterNET.Manager.Event
|
|||
get { return abandoned; }
|
||||
set { this.abandoned = value; }
|
||||
}
|
||||
/// <summary> Returns the service level (in seconds) as defined by the <code>servicelevel</code> setting
|
||||
/// in <code>queues.conf</code>.
|
||||
/// <summary> Returns the service level (in seconds) as defined by the servicelevel setting
|
||||
/// in queues.conf.
|
||||
/// </summary>
|
||||
/// <summary> Sets the service level.</summary>
|
||||
public int ServiceLevel
|
||||
|
|
|
@ -3,8 +3,8 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// A RegistryEvent is triggered when this asterisk server attempts to register
|
||||
/// as a client at another SIP or IAX server.<br/>
|
||||
/// This event is implemented in <code>channels/chan_iax2.c</code> and
|
||||
/// <code>channels/chan_sip.c</code>
|
||||
/// This event is implemented in channels/chan_iax2.c and
|
||||
/// channels/chan_sip.c
|
||||
/// </summary>
|
||||
public class RegistryEvent : ManagerEvent
|
||||
{
|
||||
|
@ -26,8 +26,8 @@ namespace AsterNET.Manager.Event
|
|||
}
|
||||
/// <summary>
|
||||
/// Get/Set the domain or host name of the SIP or IAX2 server.<br/>
|
||||
/// This is the host part used in the <code>register</code> lines in
|
||||
/// <code>iax.conf</code> and <code>sip.conf</code>.
|
||||
/// This is the host part used in the register lines in
|
||||
/// iax.conf and sip.conf.
|
||||
/// </summary>
|
||||
public string Domain
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ namespace AsterNET.Manager.Event
|
|||
/// <summary>
|
||||
/// Get/Set the username used for registration.<br/>
|
||||
/// SIP send the username in case of a registration timeout, IAX2 in case of
|
||||
/// a registration failure. Otherwise the username is <code>null</code>.
|
||||
/// a registration failure. Otherwise the username is null.
|
||||
/// </summary>
|
||||
public string Username
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
namespace AsterNET.Manager.Event
|
||||
{
|
||||
/// <summary>
|
||||
/// A ReloadEvent is triggerd when the <code>reload</code> console command is executed or the asterisk server is started.<br/>
|
||||
/// It is implemented in <code>manager.c</code>
|
||||
/// A ReloadEvent is triggerd when the reload console command is executed or the asterisk server is started.<br/>
|
||||
/// It is implemented in manager.c
|
||||
/// </summary>
|
||||
public class ReloadEvent : ConnectionStateEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A RenameEvent is triggered when the name of a channel is changed.<br/>
|
||||
/// It is implemented in <code>channel.c</code>
|
||||
/// It is implemented in channel.c
|
||||
/// </summary>
|
||||
public class RenameEvent : ManagerEvent
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A ShutdownEvent is triggered when the asterisk server is shut down or restarted.<br/>
|
||||
/// It is implemented in <code>asterisk.c</code>
|
||||
/// It is implemented in asterisk.c
|
||||
/// </summary>
|
||||
public class ShutdownEvent : ConnectionStateEvent
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ namespace AsterNET.Manager.Event
|
|||
set { this.shutdown = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Get/Set <code>true</code> if the server has been restarted; <code>false</code> if it has been halted.
|
||||
/// Get/Set true if the server has been restarted; false if it has been halted.
|
||||
/// </summary>
|
||||
public bool Restart
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// An UnholdEvent is triggered by the SIP channel driver when a channel is no longer put on hold.<br/>
|
||||
/// It is implemented in <code>channels/chan_sip.c</code>.<br/>
|
||||
/// It is implemented in channels/chan_sip.c.<br/>
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.event.HoldEvent"/>
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace AsterNET.Manager.Event
|
|||
{
|
||||
/// <summary>
|
||||
/// A UnparkedCallEvent is triggered when a channel that has been parked is resumed.<br/>
|
||||
/// It is implemented in <code>res/res_features.c</code><br/>
|
||||
/// It is implemented in res/res_features.c<br/>
|
||||
/// Available since Asterisk 1.2
|
||||
/// </summary>
|
||||
public class UnparkedCallEvent : AbstractParkedCallEvent
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace AsterNET.Manager.Event
|
|||
/// A user event by default has the attributes channel and uniqueId but you can add custom
|
||||
/// attributes by specifying an event body.<br/>
|
||||
/// To add your own user events you must subclass this class and name it corresponding to your event.<br/>
|
||||
/// If you plan to send an event by <code>UserEvent(VIPCall)</code> you will create a new class
|
||||
/// If you plan to send an event by UserEvent(VIPCall) you will create a new class
|
||||
/// called VIPCallEvent that extends UserEvent. The name of this class is important: Just use the
|
||||
/// name of the event you will send (VIPCall in this example) and append "Event".<br/>
|
||||
/// To pass additional data create appropriate attributes with getter and setter methods in your new class.<br/>
|
||||
|
@ -31,8 +31,8 @@ namespace AsterNET.Manager.Event
|
|||
/// }
|
||||
/// }
|
||||
/// </pre>
|
||||
/// To send this event use <code>UserEvent(VIPCall|firstName: Jon)</code> in your dialplan.<br/>
|
||||
/// The UserEvent is implemented in <code>apps/app_userevent.c</code>.<br/>
|
||||
/// To send this event use UserEvent(VIPCall|firstName: Jon) in your dialplan.<br/>
|
||||
/// The UserEvent is implemented in apps/app_userevent.c.<br/>
|
||||
/// Note that you must register your UserEvent with the ManagerConnection you are using in order to be recognized.
|
||||
/// </summary>
|
||||
/// <seealso cref="Manager.ManagerConnection.RegisterUserEventClass(Type userEventClass)"/>
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace AsterNET.Manager.Event
|
|||
set { this.signalling = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Get/Set the context of this zap channel as defined in <code>zapata.conf</code>.
|
||||
/// Get/Set the context of this zap channel as defined in zapata.conf.
|
||||
/// </summary>
|
||||
public string Context
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace AsterNET.Manager
|
|||
/// <returns>
|
||||
/// the ResponseEvents object filled with the parts that have been
|
||||
/// received before the timeout occured. Note: The response attribute
|
||||
/// may be <code>null</code> when no response has been received.
|
||||
/// may be null when no response has been received.
|
||||
/// </returns>
|
||||
public ResponseEvents PartialResult
|
||||
{
|
||||
|
|
|
@ -174,7 +174,7 @@ namespace AsterNET.Manager
|
|||
public event AgentCallbackLogoffEventHandler AgentCallbackLogoff;
|
||||
/// <summary>
|
||||
/// An AgentCalled is triggered when an agent is ring.<br/>
|
||||
/// To enable AgentCalled you have to set <code>eventwhencalled = yes</code> in <code>queues.conf</code>.<br/>
|
||||
/// To enable AgentCalled you have to set eventwhencalled = yes in queues.conf.<br/>
|
||||
/// </summary>
|
||||
public event AgentCalledEventHandler AgentCalled;
|
||||
/// <summary>
|
||||
|
@ -1190,7 +1190,7 @@ namespace AsterNET.Manager
|
|||
|
||||
#region Hostname
|
||||
/// <summary> Sets the hostname of the asterisk server to connect to.<br/>
|
||||
/// Default is <code>localhost</code>.
|
||||
/// Default is localhost.
|
||||
/// </summary>
|
||||
public string Hostname
|
||||
{
|
||||
|
@ -1202,7 +1202,7 @@ namespace AsterNET.Manager
|
|||
#region Port
|
||||
/// <summary>
|
||||
/// Sets the port to use to connect to the asterisk server. This is the port
|
||||
/// specified in asterisk's <code>manager.conf</code> file.<br/>
|
||||
/// specified in asterisk's manager.conf file.<br/>
|
||||
/// Default is 5038.
|
||||
/// </summary>
|
||||
public int Port
|
||||
|
@ -1215,7 +1215,7 @@ namespace AsterNET.Manager
|
|||
#region UserName
|
||||
/// <summary>
|
||||
/// Sets the username to use to connect to the asterisk server. This is the
|
||||
/// username specified in asterisk's <code>manager.conf</code> file.
|
||||
/// username specified in asterisk's manager.conf file.
|
||||
/// </summary>
|
||||
public string Username
|
||||
{
|
||||
|
@ -1227,7 +1227,7 @@ namespace AsterNET.Manager
|
|||
#region Password
|
||||
/// <summary>
|
||||
/// Sets the password to use to connect to the asterisk server. This is the
|
||||
/// password specified in asterisk's <code>manager.conf</code> file.
|
||||
/// password specified in asterisk's manager.conf file.
|
||||
/// </summary>
|
||||
public string Password
|
||||
{
|
||||
|
@ -1278,9 +1278,9 @@ namespace AsterNET.Manager
|
|||
#endregion
|
||||
|
||||
#region KeepAliveAfterAuthenticationFailure
|
||||
/// <summary> Set to <code>true</code> to try reconnecting to ther asterisk serve
|
||||
/// <summary> Set to true to try reconnecting to ther asterisk serve
|
||||
/// even if the reconnection attempt threw an AuthenticationFailedException.<br/>
|
||||
/// Default is <code>false</code>.
|
||||
/// Default is false.
|
||||
/// </summary>
|
||||
public bool KeepAliveAfterAuthenticationFailure
|
||||
{
|
||||
|
@ -1292,7 +1292,7 @@ namespace AsterNET.Manager
|
|||
#region KeepAlive
|
||||
/// <summary>
|
||||
/// Should we attempt to reconnect when the connection is lost?<br/>
|
||||
/// This is set to <code>true</code> after successful login and to <code>false</code> after logoff or after an authentication failure when keepAliveAfterAuthenticationFailure is <code>false</code>.
|
||||
/// This is set to true after successful login and to false after logoff or after an authentication failure when keepAliveAfterAuthenticationFailure is false.
|
||||
/// </summary>
|
||||
public bool KeepAlive
|
||||
{
|
||||
|
@ -1585,7 +1585,7 @@ namespace AsterNET.Manager
|
|||
#region reconnect(bool init)
|
||||
/// <summary>
|
||||
/// Reconnects to the asterisk server when the connection is lost.<br/>
|
||||
/// While keepAlive is <code>true</code> we will try to reconnect.
|
||||
/// While keepAlive is true we will try to reconnect.
|
||||
/// Reconnection attempts will be stopped when the logoff() method
|
||||
/// is called or when the login after a successful reconnect results in an
|
||||
/// AuthenticationFailedException suggesting that the manager
|
||||
|
@ -1725,12 +1725,12 @@ namespace AsterNET.Manager
|
|||
#endregion
|
||||
|
||||
#region IsConnected()
|
||||
/// <summary> Returns <code>true</code> if there is a socket connection to the
|
||||
/// asterisk server, <code>false</code> otherwise.
|
||||
/// <summary> Returns true if there is a socket connection to the
|
||||
/// asterisk server, false otherwise.
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns> <code>true</code> if there is a socket connection to the
|
||||
/// asterisk server, <code>false</code> otherwise.
|
||||
/// <returns> true if there is a socket connection to the
|
||||
/// asterisk server, false otherwise.
|
||||
/// </returns>
|
||||
public bool IsConnected()
|
||||
{
|
||||
|
|
|
@ -184,7 +184,7 @@ namespace AsterNET.Manager.Response
|
|||
/// <param name="key">the key to lookup.</param>
|
||||
/// <returns>
|
||||
/// the value of the attribute stored under this key or
|
||||
/// <code>null</code> if there is no such attribute.
|
||||
/// null if there is no such attribute.
|
||||
/// </returns>
|
||||
public string GetAttribute(string key)
|
||||
{
|
||||
|
|
|
@ -2,17 +2,17 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("Asterisk.NET")]
|
||||
[assembly: AssemblyTitle("AsterNET")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("X893, http://akb77.com/g")]
|
||||
[assembly: AssemblyProduct("Asterisk.NET")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2005-2009")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("AsterNET")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
[assembly: Guid("abe98502-ea83-4b04-98c3-ffe3eabe06b0")]
|
||||
[assembly: AssemblyVersion("1.6.3.1")]
|
||||
[assembly: AssemblyFileVersion("1.6.3.1")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace AsterNET.Util
|
|||
/// Gets a job from the queue. If none is availble the calling thread is
|
||||
/// blocked until one is added.
|
||||
/// </summary>
|
||||
/// <returns>the next job to service, <code>null</code> if the worker thread should be shut down.</returns>
|
||||
/// <returns>the next job to service, null if the worker thread should be shut down.</returns>
|
||||
internal AGIConnectionHandler obtainJob()
|
||||
{
|
||||
AGIConnectionHandler job = null;
|
||||
|
|
Loading…
Reference in a new issue