See change log (Breaking changes!)

This commit is contained in:
skrusty 2014-01-08 14:16:39 +00:00
parent 173d321c38
commit 3197e6a328
279 changed files with 923 additions and 494 deletions

View file

@ -1,33 +1,20 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012 # Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{80ADC18F-2BFC-4B79-B264-5244E4F2FEED}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{80ADC18F-2BFC-4B79-B264-5244E4F2FEED}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
ChangeLog.txt = ChangeLog.txt ChangeLog.txt = ChangeLog.txt
EndProjectSection EndProjectSection
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Asterisk.NET", "Asterisk.NET\Asterisk.NET.csproj", "{BC6E7DBA-C05A-45FE-A2A3-B1637CE16274}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsterNET", "Asterisk.NET\AsterNET.csproj", "{BC6E7DBA-C05A-45FE-A2A3-B1637CE16274}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Asterisk.NET.WinForm", "Asterisk.NET.WinForm\Asterisk.NET.WinForm.csproj", "{03687626-613A-4E41-8F60-7C7839D6DD5D}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsterNET.WinForm", "Asterisk.NET.WinForm\AsterNET.WinForm.csproj", "{03687626-613A-4E41-8F60-7C7839D6DD5D}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Asterisk.NET.Test", "..\..\dfd\Asterisk.NET.1.6.3.1\Asterisk.NET.Test\Asterisk.NET.Test.csproj", "{B82B8EBF-8180-401D-8D3A-4BF7CFDB7A08}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsterNET.Test", "Asterisk.NET.Test\Asterisk.NET.Test\AsterNET.Test.csproj", "{B82B8EBF-8180-401D-8D3A-4BF7CFDB7A08}"
EndProject EndProject
Global Global
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 4
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
SccTeamFoundationServer = https://tfs.codeplex.com/tfs/tfs33
SccLocalPath0 = .
SccProjectUniqueName1 = Asterisk.NET.WinForm\\Asterisk.NET.WinForm.csproj
SccProjectName1 = Asterisk.NET.WinForm
SccLocalPath1 = Asterisk.NET.WinForm
SccProjectUniqueName2 = Asterisk.NET\\Asterisk.NET.csproj
SccProjectName2 = Asterisk.NET
SccLocalPath2 = Asterisk.NET
SccProjectUniqueName3 = ..\\..\\dfd\\Asterisk.NET.1.6.3.1\\Asterisk.NET.Test\\Asterisk.NET.Test.csproj
SccProjectName3 = Asterisk.NET.Test/Asterisk.NET.Test
SccLocalPath3 = ..\\..\\dfd\\Asterisk.NET.1.6.3.1\\Asterisk.NET.Test
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU Release|Any CPU = Release|Any CPU

View file

@ -90,9 +90,9 @@
</EmbeddedResource> </EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\Asterisk.NET\Asterisk.NET.csproj"> <ProjectReference Include="..\..\Asterisk.NET\AsterNET.csproj">
<Project>{bc6e7dba-c05a-45fe-a2a3-b1637ce16274}</Project> <Project>{bc6e7dba-c05a-45fe-a2a3-b1637ce16274}</Project>
<Name>Asterisk.NET</Name> <Name>AsterNET</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -1,7 +1,7 @@
using System; using System;
using Asterisk.NET.FastAGI; using AsterNET.FastAGI;
namespace Asterisk.NET.Test namespace AsterNET.Test
{ {
public class CustomIVR : AGIScript public class CustomIVR : AGIScript
{ {

View file

@ -1,14 +1,14 @@
using System; using System;
using Asterisk.NET.Manager; using AsterNET.Manager;
using Asterisk.NET.Manager.Action; using AsterNET.Manager.Action;
using Asterisk.NET.Manager.Response; using AsterNET.Manager.Response;
using Asterisk.NET.FastAGI; using AsterNET.FastAGI;
using Asterisk.NET.Manager.Event; using AsterNET.Manager.Event;
using Asterisk.NET.FastAGI.MappingStrategies; using AsterNET.FastAGI.MappingStrategies;
using System.Collections.Generic; using System.Collections.Generic;
namespace Asterisk.NET.Test namespace AsterNET.Test
{ {
class Program class Program
{ {
@ -58,7 +58,7 @@ Ctrl-C to exit");
agi.MappingStrategy = new GeneralMappingStrategy(new List<ScriptMapping>() agi.MappingStrategy = new GeneralMappingStrategy(new List<ScriptMapping>()
{ {
new ScriptMapping() { new ScriptMapping() {
ScriptClass = "Asterisk.NET.Test.CustomIVR", ScriptClass = "AsterNET.Test.CustomIVR",
ScriptName = "customivr" ScriptName = "customivr"
} }
}); });

View file

@ -2,11 +2,11 @@
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Asterisk.NET.Test")] [assembly: AssemblyTitle("AsterNET.Test")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("x893")] [assembly: AssemblyCompany("x893")]
[assembly: AssemblyProduct("Asterisk.NET.Test")] [assembly: AssemblyProduct("AsterNET.Test")]
[assembly: AssemblyCopyright("Copyright © 2008")] [assembly: AssemblyCopyright("Copyright © 2008")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]

View file

@ -118,9 +118,9 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<data name="customivr" xml:space="preserve"> <data name="customivr" xml:space="preserve">
<value>Asterisk.NET.Test.CustomIVR, Asterisk.NET.Test</value> <value>AsterNET.Test.CustomIVR, AsterNET.Test</value>
</data> </data>
<data name="noaction" xml:space="preserve"> <data name="noaction" xml:space="preserve">
<value>Asterisk.NET.FastAGI.Scripts.AGINoAction, Asterisk.NET</value> <value>AsterNET.FastAGI.Scripts.AGINoAction, Asterisk.NET</value>
</data> </data>
</root> </root>

View file

@ -99,9 +99,9 @@
</Compile> </Compile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Asterisk.NET\Asterisk.NET.csproj"> <ProjectReference Include="..\Asterisk.NET\AsterNET.csproj">
<Project>{BC6E7DBA-C05A-45FE-A2A3-B1637CE16274}</Project> <Project>{BC6E7DBA-C05A-45FE-A2A3-B1637CE16274}</Project>
<Name>Asterisk.NET</Name> <Name>AsterNET</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -1,4 +1,4 @@
namespace Asterisk.NET.WinForm namespace AsterNET.WinForm
{ {
partial class FormMain partial class FormMain
{ {

View file

@ -5,11 +5,11 @@ using System.Data;
using System.Drawing; using System.Drawing;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using Asterisk.NET.Manager; using AsterNET.Manager;
using Asterisk.NET.Manager.Event; using AsterNET.Manager.Event;
using System.Diagnostics; using System.Diagnostics;
namespace Asterisk.NET.WinForm namespace AsterNET.WinForm
{ {
public partial class FormMain : Form public partial class FormMain : Form
{ {

View file

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Windows.Forms; using System.Windows.Forms;
namespace Asterisk.NET.WinForm namespace AsterNET.WinForm
{ {
static class Program static class Program
{ {

View file

@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("Asterisk.NET.WinForm")] [assembly: AssemblyTitle("AsterNET.WinForm")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("...")] [assembly: AssemblyCompany("...")]
[assembly: AssemblyProduct("Asterisk.NET.WinForm")] [assembly: AssemblyProduct("AsterNET.WinForm")]
[assembly: AssemblyCopyright("Copyright © ... 2008")] [assembly: AssemblyCopyright("Copyright © ... 2008")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]

View file

@ -8,7 +8,7 @@
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace Asterisk.NET.WinForm.Properties { namespace AsterNET.WinForm.Properties {
using System; using System;
@ -39,7 +39,7 @@ namespace Asterisk.NET.WinForm.Properties {
internal static global::System.Resources.ResourceManager ResourceManager { internal static global::System.Resources.ResourceManager ResourceManager {
get { get {
if (object.ReferenceEquals(resourceMan, null)) { if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Asterisk.NET.WinForm.Properties.Resources", typeof(Resources).Assembly); global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AsterNET.WinForm.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp; resourceMan = temp;
} }
return resourceMan; return resourceMan;

View file

@ -8,7 +8,7 @@
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace Asterisk.NET.WinForm.Properties { namespace AsterNET.WinForm.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]

View file

@ -8,9 +8,9 @@
<ProjectGuid>{BC6E7DBA-C05A-45FE-A2A3-B1637CE16274}</ProjectGuid> <ProjectGuid>{BC6E7DBA-C05A-45FE-A2A3-B1637CE16274}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Asterisk.NET</RootNamespace> <RootNamespace>AsterNET</RootNamespace>
<AssemblyName>Asterisk.NET</AssemblyName> <AssemblyName>AsterNET</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileUpgradeFlags> <FileUpgradeFlags>
</FileUpgradeFlags> </FileUpgradeFlags>
<UpgradeBackupLocation> <UpgradeBackupLocation>
@ -128,6 +128,8 @@
<Compile Include="Manager\Action\AgentLogoffAction.cs" /> <Compile Include="Manager\Action\AgentLogoffAction.cs" />
<Compile Include="Manager\Action\AgentsAction.cs" /> <Compile Include="Manager\Action\AgentsAction.cs" />
<Compile Include="Manager\Action\AGIAction.cs" /> <Compile Include="Manager\Action\AGIAction.cs" />
<Compile Include="Manager\Action\AtxferAction.cs" />
<Compile Include="Manager\Action\BridgeAction.cs" />
<Compile Include="Manager\Action\ChallengeAction.cs" /> <Compile Include="Manager\Action\ChallengeAction.cs" />
<Compile Include="Manager\Action\ChangeMonitorAction.cs" /> <Compile Include="Manager\Action\ChangeMonitorAction.cs" />
<Compile Include="Manager\Action\CommandAction.cs" /> <Compile Include="Manager\Action\CommandAction.cs" />
@ -166,8 +168,13 @@
<Compile Include="Manager\Action\PingAction.cs" /> <Compile Include="Manager\Action\PingAction.cs" />
<Compile Include="Manager\Action\ProxyAction.cs" /> <Compile Include="Manager\Action\ProxyAction.cs" />
<Compile Include="Manager\Action\QueueAddAction.cs" /> <Compile Include="Manager\Action\QueueAddAction.cs" />
<Compile Include="Manager\Action\QueueLogAction.cs" />
<Compile Include="Manager\Action\QueuePauseAction.cs" /> <Compile Include="Manager\Action\QueuePauseAction.cs" />
<Compile Include="Manager\Action\QueuePenaltyAction.cs" />
<Compile Include="Manager\Action\QueueReloadAction.cs" />
<Compile Include="Manager\Action\QueueRemoveAction.cs" /> <Compile Include="Manager\Action\QueueRemoveAction.cs" />
<Compile Include="Manager\Action\QueueResetAction.cs" />
<Compile Include="Manager\Action\QueueRuleAction.cs" />
<Compile Include="Manager\Action\QueueStatusAction.cs" /> <Compile Include="Manager\Action\QueueStatusAction.cs" />
<Compile Include="Manager\Action\RedirectAction.cs" /> <Compile Include="Manager\Action\RedirectAction.cs" />
<Compile Include="Manager\Action\SetCDRUserFieldAction.cs" /> <Compile Include="Manager\Action\SetCDRUserFieldAction.cs" />
@ -342,6 +349,8 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Manager\Documentation\Asterisk-1.8.x\" /> <Folder Include="Manager\Documentation\Asterisk-1.8.x\" />
<Folder Include="Manager\Documentation\Asterisk-10\" />
<Folder Include="Manager\Documentation\Asterisk-11\" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.

View file

@ -2,7 +2,7 @@ using System;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Globalization; using System.Globalization;
namespace Asterisk.NET namespace AsterNET
{ {
public static class Common public static class Common
{ {

View file

@ -1,4 +1,4 @@
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// Default implementation of the AGIChannel interface. /// Default implementation of the AGIChannel interface.

View file

@ -2,7 +2,7 @@ using System;
using System.IO; using System.IO;
using System.Threading; using System.Threading;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// An AGIConnectionHandler is created and run by the AGIServer whenever a new /// An AGIConnectionHandler is created and run by the AGIServer whenever a new

View file

@ -3,7 +3,7 @@ using System.IO;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
public class AGIReader public class AGIReader
{ {

View file

@ -4,7 +4,7 @@ using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
#region Enum - AGIReplyStatuses #region Enum - AGIReplyStatuses
public enum AGIReplyStatuses public enum AGIReplyStatuses

View file

@ -7,7 +7,7 @@ using System.Collections;
using System.Net; using System.Net;
using System.Collections.Generic; using System.Collections.Generic;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// Default implementation of the AGIRequest interface. /// Default implementation of the AGIRequest interface.

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// The BaseAGIScript provides some convinience methods to make it easier to /// The BaseAGIScript provides some convinience methods to make it easier to

View file

@ -1,6 +1,6 @@
using System; using System;
using System.IO; using System.IO;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// Default implementation of the AGIWriter interface. /// Default implementation of the AGIWriter interface.

View file

@ -1,9 +1,9 @@
using Asterisk.NET.FastAGI.MappingStrategies; using AsterNET.FastAGI.MappingStrategies;
using System.IO; using System.IO;
using System.Net; using System.Net;
using System.Text; using System.Text;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
public class AsteriskFastAGI public class AsteriskFastAGI
{ {

View file

@ -1,6 +1,6 @@
using System.Text; using System.Text;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
public abstract class AGICommand public abstract class AGICommand
{ {

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
public class AnswerCommand : AGICommand public class AnswerCommand : AGICommand
{ {

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Returns the status of the specified channel. /// Returns the status of the specified channel.

View file

@ -1,7 +1,7 @@
using System; using System;
using System.Text; using System.Text;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Plays the given file, allowing playback to be interrupted by the given /// Plays the given file, allowing playback to be interrupted by the given

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Deletes a family or specific keytree within a family in the Asterisk database.<br/> /// Deletes a family or specific keytree within a family in the Asterisk database.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Deletes an entry in the Asterisk database for a given family and key.<br/> /// Deletes an entry in the Asterisk database for a given family and key.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Retrieves an entry in the Asterisk database for a given family and key.<br/> /// Retrieves an entry in the Asterisk database for a given family and key.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Adds or updates an entry in the Asterisk database for a given family, key, and value.<br/> /// Adds or updates an entry in the Asterisk database for a given family, key, and value.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Executes an application with the given options.<br/> /// Executes an application with the given options.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Stream the given file, and recieve DTMF data. The user may interrupt the streaming by starting to enter digits.<br/> /// Stream the given file, and recieve DTMF data. The user may interrupt the streaming by starting to enter digits.<br/>

View file

@ -1,7 +1,7 @@
using System; using System;
using System.Text; using System.Text;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Returns the value of the given channel varible and understands complex /// Returns the value of the given channel varible and understands complex

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Plays the given file, and waits for the user to press one of the given /// Plays the given file, and waits for the user to press one of the given

View file

@ -1,4 +1,4 @@
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Returns the value of the given channel varible.<br/> /// Returns the value of the given channel varible.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Hangs up the specified channel. If no channel name is given, hangs up the current channel. /// Hangs up the specified channel. If no channel name is given, hangs up the current channel.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Does nothing. /// Does nothing.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Receives a character of text on a channel.<br/> /// Receives a character of text on a channel.<br/>

View file

@ -1,4 +1,4 @@
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Receives a string of text on a channel.<br/> /// Receives a string of text on a channel.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Record to a file until a given dtmf digit in the sequence is received.<br/> /// Record to a file until a given dtmf digit in the sequence is received.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> Say a given character string, returning early if any of the given DTMF digits are received on the channel.<br/> /// <summary> Say a given character string, returning early if any of the given DTMF digits are received on the channel.<br/>
/// Returns 0 if playback completes without a digit being pressed, or the ASCII /// Returns 0 if playback completes without a digit being pressed, or the ASCII

View file

@ -1,5 +1,5 @@
using System.Text; using System.Text;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Say a given time, returning early if any of the given DTMF digits are pressed.<br/> /// Say a given time, returning early if any of the given DTMF digits are pressed.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Say a given digit string, returning early if any of the given DTMF digits are received on the channel.<br/> /// Say a given digit string, returning early if any of the given DTMF digits are received on the channel.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Say a given number, returning early if any of the given DTMF number are received on the channel.<br/> /// Say a given number, returning early if any of the given DTMF number are received on the channel.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Say a given time, returning early if any of the given DTMF digits are received on the channel.<br/> /// Say a given time, returning early if any of the given DTMF digits are received on the channel.<br/>

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Sends the given image on a channel.<br/> /// Sends the given image on a channel.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Sends the given text on a channel.<br/> /// Sends the given text on a channel.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Cause the channel to automatically hangup at the given number of seconds in the future.<br/> /// Cause the channel to automatically hangup at the given number of seconds in the future.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Changes the CallerID of the current channel. /// Changes the CallerID of the current channel.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Sets the context for continuation upon exiting the application. /// Sets the context for continuation upon exiting the application.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Sets the extension for continuation upon exiting the application. /// Sets the extension for continuation upon exiting the application.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Turns off music on hold on the current channel.<br/> /// Turns off music on hold on the current channel.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Turns on music on hold on the current channel.<br/> /// Turns on music on hold on the current channel.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Sets the priority for continuation upon exiting the application.<br/> /// Sets the priority for continuation upon exiting the application.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Sets the given channel variable to the given value. /// Sets the given channel variable to the given value.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Enable/Disable TDD transmission/reception on a channel.<br/> /// Enable/Disable TDD transmission/reception on a channel.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
#region Class - VerboseCommand #region Class - VerboseCommand
/// <summary> /// <summary>

View file

@ -1,4 +1,4 @@
namespace Asterisk.NET.FastAGI.Command namespace AsterNET.FastAGI.Command
{ {
/// <summary> /// <summary>
/// Waits up to 'timeout' milliseconds for channel to receive a DTMF digit.<br/> /// Waits up to 'timeout' milliseconds for channel to receive a DTMF digit.<br/>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// Abstract base class for all AGI specific exceptions. /// Abstract base class for all AGI specific exceptions.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// The AGIHangupException is thrown if the channel has been hang up while processing the AGIRequest. /// The AGIHangupException is thrown if the channel has been hang up while processing the AGIRequest.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// The AGINetworkException usally wraps an IOException denoting a network problem when talking to the Asterisk server. /// The AGINetworkException usally wraps an IOException denoting a network problem when talking to the Asterisk server.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// An InvalidCommandSyntaxException is thrown when the reader receives a reply with status code 520. /// An InvalidCommandSyntaxException is thrown when the reader receives a reply with status code 520.

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// An InvalidOrUnknownCommandException is thrown when the reader receives a reply with status code 510. /// An InvalidOrUnknownCommandException is thrown when the reader receives a reply with status code 510.

View file

@ -1,4 +1,4 @@
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
public interface IMappingStrategy public interface IMappingStrategy
{ {

View file

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.IO; using System.IO;
using System.Xml.Serialization; using System.Xml.Serialization;
namespace Asterisk.NET.FastAGI.MappingStrategies namespace AsterNET.FastAGI.MappingStrategies
{ {
internal class MappingAssembly internal class MappingAssembly

View file

@ -3,7 +3,7 @@ using System.Collections;
using System.Resources; using System.Resources;
using System.Reflection; using System.Reflection;
namespace Asterisk.NET.FastAGI.MappingStrategies namespace AsterNET.FastAGI.MappingStrategies
{ {
/// <summary> /// <summary>
/// A MappingStrategy that is configured via a resource bundle.<br/> /// A MappingStrategy that is configured via a resource bundle.<br/>
@ -11,7 +11,7 @@ namespace Asterisk.NET.FastAGI.MappingStrategies
/// qualified class name of the corresponding AGIScript as value.<br/> /// qualified class name of the corresponding AGIScript as value.<br/>
/// Example: /// Example:
/// <pre> /// <pre>
/// noopcommand = Asterisk.NET.FastAGI.Command.NoopCommand /// noopcommand = AsterNET.FastAGI.Command.NoopCommand
/// </pre> /// </pre>
/// NoopCommand must implement the AGIScript interface and have a default constructor with no parameters.<br/> /// NoopCommand must implement the AGIScript interface and have a default constructor with no parameters.<br/>
/// </summary> /// </summary>

View file

@ -3,7 +3,7 @@ using System.Collections;
using System.Resources; using System.Resources;
using System.Reflection; using System.Reflection;
namespace Asterisk.NET.FastAGI namespace AsterNET.FastAGI
{ {
/// <summary> /// <summary>
/// A MappingStrategy that is configured via a resource bundle.<br/> /// A MappingStrategy that is configured via a resource bundle.<br/>
@ -11,7 +11,7 @@ namespace Asterisk.NET.FastAGI
/// qualified class name of the corresponding AGIScript as value.<br/> /// qualified class name of the corresponding AGIScript as value.<br/>
/// Example: /// Example:
/// <pre> /// <pre>
/// noopcommand = Asterisk.NET.FastAGI.Command.NoopCommand /// noopcommand = AsterNET.FastAGI.Command.NoopCommand
/// </pre> /// </pre>
/// NoopCommand must implement the AGIScript interface and have a default constructor with no parameters.<br/> /// NoopCommand must implement the AGIScript interface and have a default constructor with no parameters.<br/>
/// </summary> /// </summary>

View file

@ -1,4 +1,4 @@
namespace Asterisk.NET.FastAGI.Scripts namespace AsterNET.FastAGI.Scripts
{ {
class AGINoAction : AGIScript class AGINoAction : AGIScript
{ {

View file

@ -7,11 +7,11 @@ using System.Threading;
using System.Reflection; using System.Reflection;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Collections.Generic; using System.Collections.Generic;
using Asterisk.NET.Manager.Event; using AsterNET.Manager.Event;
using Asterisk.NET.Manager.Response; using AsterNET.Manager.Response;
using Asterisk.NET.Manager; using AsterNET.Manager;
namespace Asterisk.NET namespace AsterNET
{ {
internal class Helper internal class Helper
{ {

View file

@ -2,7 +2,7 @@ using System.Net;
using System.Net.Sockets; using System.Net.Sockets;
using System.Text; using System.Text;
namespace Asterisk.NET.IO namespace AsterNET.IO
{ {
/// <summary> /// <summary>
/// ServerSocket using standard socket classes. /// ServerSocket using standard socket classes.

View file

@ -4,7 +4,7 @@ using System.Net.Sockets;
using System.Net; using System.Net;
using System; using System;
namespace Asterisk.NET.IO namespace AsterNET.IO
{ {
public class SocketConnection public class SocketConnection
{ {

View file

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Asterisk.NET namespace AsterNET
{ {
internal interface IParseSupport internal interface IParseSupport
{ {

View file

@ -4,7 +4,7 @@ using System.Threading;
using System.Text; using System.Text;
using System.Collections; using System.Collections;
namespace Asterisk.NET namespace AsterNET
{ {
#if LOGGER #if LOGGER

View file

@ -4,11 +4,11 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// This action lets you execute any AGI command through the Manager interface /// This action lets you execute any AGI command through the Manager interface
/// For example, check the Asterisk.Net.Test project /// For example, check the AsterNET.Test project
/// </summary> /// </summary>
public class AgiAction : ManagerAction public class AgiAction : ManagerAction
{ {

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// The AbsoluteTimeoutAction sets the absolute maximum amount of time permitted for a call on a given channel.<br/> /// The AbsoluteTimeoutAction sets the absolute maximum amount of time permitted for a call on a given channel.<br/>

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// The AgentCallbackLoginAction sets an agent as logged in with callback.<br/> /// The AgentCallbackLoginAction sets an agent as logged in with callback.<br/>

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// The AgentLogoffAction sets an agent as no longer logged in. /// The AgentLogoffAction sets an agent as no longer logged in.

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// The AgentsAction requests the state of all agents.<br/> /// The AgentsAction requests the state of all agents.<br/>
@ -8,8 +8,8 @@ namespace Asterisk.NET.Manager.Action
/// After the state of all agents has been reported an AgentsCompleteEvent is generated.<br/> /// After the state of all agents has been reported an AgentsCompleteEvent is generated.<br/>
/// Available since Asterisk 1.2 /// Available since Asterisk 1.2
/// </summary> /// </summary>
/// <seealso cref="Asterisk.NET.Manager.Event.AgentsEvent" /> /// <seealso cref="AsterNET.Manager.Event.AgentsEvent" />
/// <seealso cref="Asterisk.NET.Manager.Event.AgentsCompleteEvent" /> /// <seealso cref="AsterNET.Manager.Event.AgentsCompleteEvent" />
public class AgentsAction : ManagerActionEvent public class AgentsAction : ManagerActionEvent
{ {
#region Action #region Action

View file

@ -0,0 +1,79 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AsterNET.Manager.Action
{
public class AtxferAction : ManagerAction
{
private string _channel;
private string _exten;
private string _context;
private string _priority;
/// <summary>
/// Attended transfer.
/// </summary>
public AtxferAction()
{
}
/// <summary>
/// Attended transfer.
/// </summary>
/// <param name="channel">Transferer's channel.</param>
/// <param name="exten">Extension to transfer to.</param>
/// <param name="context">Context to transfer to.</param>
/// <param name="priority">Priority to transfer to.</param>
public AtxferAction(string channel, string exten, string context, string priority)
{
_channel = channel;
_exten = exten;
_context = context;
_priority = priority;
}
public override string Action
{
get { return "Atxfer"; }
}
/// <summary>
/// Transferer's channel.
/// </summary>
public string Channel
{
get { return _channel; }
set { _channel = value; }
}
/// <summary>
/// Extension to transfer to.
/// </summary>
public string Exten
{
get { return _exten; }
set { _exten = value; }
}
/// <summary>
/// Context to transfer to.
/// </summary>
public string Context
{
get { return _context; }
set { _context = value; }
}
/// <summary>
/// Priority to transfer to.
/// </summary>
public string Priority
{
get { return _priority; }
set { _priority = value; }
}
}
}

View file

@ -0,0 +1,58 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AsterNET.Manager.Action
{
public class BridgeAction : ManagerAction
{
private string _channel1;
private string _channel2;
private string _tone;
/// <summary>
/// Bridge two channels already in the PBX.
/// </summary>
public BridgeAction()
{
}
/// <summary>
/// Bridge two channels already in the PBX.
/// </summary>
/// <param name="channel1">Channel to Bridge to Channel2</param>
/// <param name="channel2">Channel to Bridge to Channel1</param>
/// <param name="tone">Play courtesy tone to Channel 2 [yes|no]</param>
public BridgeAction(string channel1, string channel2, string tone)
{
_channel1 = channel1;
_channel2 = channel2;
_tone = tone;
}
public override string Action
{
get { return "Bridge"; }
}
public string Channel1
{
get { return _channel1; }
set { _channel1 = value; }
}
public string Channel2
{
get { return _channel2; }
set { _channel2 = value; }
}
public string Tone
{
get { return _tone; }
set { _tone = value; }
}
}
}

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// The ChallengeAction requests a challenge from the server to use when logging /// The ChallengeAction requests a challenge from the server to use when logging

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// The ChangeMonitorAction changes the monitoring filename of a channel. /// The ChangeMonitorAction changes the monitoring filename of a channel.

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// The CommandAction sends a command line interface (CLI) command to the asterisk server.<br/> /// The CommandAction sends a command line interface (CLI) command to the asterisk server.<br/>

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
public class ConfbridgeKickAction : ManagerAction public class ConfbridgeKickAction : ManagerAction
{ {

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/* /*

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
public class ConfbridgeLockAction : ManagerAction public class ConfbridgeLockAction : ManagerAction
{ {

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
public class ConfbridgeMuteAction : ManagerAction public class ConfbridgeMuteAction : ManagerAction
{ {

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
public class ConfbridgeSetSingleVideoSrcAction : ManagerAction public class ConfbridgeSetSingleVideoSrcAction : ManagerAction
{ {

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
public class ConfbridgeStartRecordAction : ManagerAction public class ConfbridgeStartRecordAction : ManagerAction
{ {

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
public class ConfbridgeStopRecordAction : ManagerAction public class ConfbridgeStopRecordAction : ManagerAction
{ {

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
public class ConfbridgeUnlockAction : ManagerAction public class ConfbridgeUnlockAction : ManagerAction
{ {

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
public class ConfbridgeUnmuteAction : ManagerAction public class ConfbridgeUnmuteAction : ManagerAction
{ {

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>

View file

@ -1,5 +1,5 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
@ -7,7 +7,7 @@ namespace Asterisk.NET.Manager.Action
/// If an entry is found a DBGetResponseEvent is sent by Asterisk containing the /// If an entry is found a DBGetResponseEvent is sent by Asterisk containing the
/// value, otherwise a ManagerError indicates that no entry matches. /// value, otherwise a ManagerError indicates that no entry matches.
/// </summary> /// </summary>
/// <seealso cref="Asterisk.NET.Manager.Event.DBGetResponseEvent" /> /// <seealso cref="AsterNET.Manager.Event.DBGetResponseEvent" />
public class DBGetAction : ManagerActionEvent public class DBGetAction : ManagerActionEvent
{ {
private string family; private string family;

View file

@ -1,6 +1,6 @@
using System; using System;
namespace Asterisk.NET.Manager.Action namespace AsterNET.Manager.Action
{ {
/// <summary> /// <summary>
/// Adds or updates an entry in the Asterisk database for a given family, key, and value.<br/> /// Adds or updates an entry in the Asterisk database for a given family, key, and value.<br/>

Some files were not shown because too many files have changed in this diff Show more