]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Changed namespace.
authorJames Green <james.green@stealthnet.net>
Sun, 17 Sep 2006 03:30:31 +0000 (03:30 +0000)
committerJames Green <james.green@stealthnet.net>
Sun, 17 Sep 2006 03:30:31 +0000 (03:30 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2720 d0543943-73ff-0310-b7d9-9358b9ac24b2

67 files changed:
src/dotnet/Makefile
src/dotnet/Marshaling/BufferMarshaler.cs
src/dotnet/Marshaling/CallerExtensionMarshaler.cs
src/dotnet/Marshaling/CallerProfileMarshaler.cs
src/dotnet/Marshaling/ChannelMarshaler.cs
src/dotnet/Marshaling/ChannelTimetableMarshaler.cs
src/dotnet/Marshaling/CoreSessionMarshaler.cs
src/dotnet/Marshaling/EventMarshaler.cs
src/dotnet/Marshaling/FileHandleMarshaler.cs
src/dotnet/Marshaling/MemoryPoolMarshaler.cs
src/dotnet/Marshaling/StreamHandleMarshaler.cs
src/dotnet/Marshaling/Types/ApiInterfaceMarshal.cs
src/dotnet/Marshaling/Types/ApplicationInterfaceMarshal.cs
src/dotnet/Marshaling/Types/BufferMarshal.cs
src/dotnet/Marshaling/Types/CallerExtensionMarshal.cs
src/dotnet/Marshaling/Types/CallerProfileMarshal.cs
src/dotnet/Marshaling/Types/ChannelFlagMarshal.cs
src/dotnet/Marshaling/Types/ChannelMarshal.cs
src/dotnet/Marshaling/Types/ChannelStateMarshal.cs
src/dotnet/Marshaling/Types/ChannelTimetableMarshal.cs
src/dotnet/Marshaling/Types/CodecImplementationMarshal.cs
src/dotnet/Marshaling/Types/CodecInterfaceMarshal.cs
src/dotnet/Marshaling/Types/CodecMarshal.cs
src/dotnet/Marshaling/Types/CodecTypeMarshal.cs
src/dotnet/Marshaling/Types/CoreSessionMarshal.cs
src/dotnet/Marshaling/Types/EventMarshal.cs
src/dotnet/Marshaling/Types/FileHandleMarshal.cs
src/dotnet/Marshaling/Types/FrameMarshal.cs
src/dotnet/Marshaling/Types/IOEventHooksMarshal.cs
src/dotnet/Marshaling/Types/LoadableModuleInterfaceMarshal.cs
src/dotnet/Marshaling/Types/LoadableModuleMarshal.cs
src/dotnet/Marshaling/Types/StreamHandleMarshal.cs
src/dotnet/Marshaling/Types/TypesMarshal.cs
src/dotnet/Module.cs
src/dotnet/Modules/Api.cs
src/dotnet/Modules/Application.cs
src/dotnet/Switch/CallerProfile.cs
src/dotnet/Switch/Channel.cs
src/dotnet/Switch/Console.cs
src/dotnet/Switch/CoreSession.cs
src/dotnet/Switch/Ivr.cs
src/dotnet/Switch/LoadableModule.cs
src/dotnet/Switch/StreamHandle.cs
src/dotnet/Types/ApplicationFunction.cs
src/dotnet/Types/ApplicationInterface.cs
src/dotnet/Types/Buffer.cs
src/dotnet/Types/CallCause.cs
src/dotnet/Types/CallerExtension.cs
src/dotnet/Types/CallerProfile.cs
src/dotnet/Types/Channel.cs
src/dotnet/Types/ChannelFlag.cs
src/dotnet/Types/ChannelState.cs
src/dotnet/Types/ChannelTimetable.cs
src/dotnet/Types/CoreSession.cs
src/dotnet/Types/DtmfCallbackFunction.cs
src/dotnet/Types/Event.cs
src/dotnet/Types/FileHandle.cs
src/dotnet/Types/InputCallbackFunction.cs
src/dotnet/Types/InputType.cs
src/dotnet/Types/LoadableModule.cs
src/dotnet/Types/LoadableModuleInterface.cs
src/dotnet/Types/MemoryPool.cs
src/dotnet/Types/Module.cs
src/dotnet/Types/ModuleInterfaces.cs
src/dotnet/Types/Status.cs
src/dotnet/Types/StreamHandle.cs
src/dotnet/Types/TextChannel.cs

index 07b0b92c6b25ca8261b7fbd8d5e3c361963c5724..a3d06096e1f865fa3248391213cc6bf774227082 100644 (file)
@@ -1,8 +1,8 @@
 all: $(MODNAME).so 
 
 $(MODNAME).so:
-       gmcs -debug -unsafe -t:library -keyfile:public.snk \
-       -out:Freeswitch.dll -reference:Mono.Posix.dll \
+       /usr/local/freeswitch/bin/gmcs -debug -unsafe -t:library -keyfile:public.snk \
+       -out:FreeSwitch.dll -reference:Mono.Posix.dll \
        Properties/AssemblyInfo.cs \
        Marshaling/Types/ApiInterfaceMarshal.cs \
        Marshaling/Types/ApplicationInterfaceMarshal.cs \
@@ -24,6 +24,7 @@ $(MODNAME).so:
        Marshaling/Types/IOEventHooksMarshal.cs \
        Marshaling/Types/LoadableModuleInterfaceMarshal.cs \
        Marshaling/Types/LoadableModuleMarshal.cs \
+       Marshaling/Types/StreamHandleMarshal.cs \
        Marshaling/Types/TypesMarshal.cs \
        Marshaling/BufferMarshaler.cs \
        Marshaling/CallerExtensionMarshaler.cs \
@@ -57,6 +58,8 @@ $(MODNAME).so:
        Types/ChannelTimetable.cs \
        Types/CoreSession.cs \
        Types/DtmfCallbackFunction.cs \
+       Types/InputCallbackFunction.cs \
+       Types/InputType.cs \
        Types/Event.cs \
        Types/FileHandle.cs \
        Types/LoadableModule.cs \
@@ -67,12 +70,10 @@ $(MODNAME).so:
        Types/StreamHandle.cs \
        Types/TextChannel.cs \
        Common.cs \
-       Core.cs \
-       Ivr.cs \
        Module.cs \
        
 clean:
        rm -fr *.dll
 
 install:
-       cp -f Freeswitch.dll /usr/local/freeswitch/lib/
+       cp -f FreeSwitch.dll /usr/local/freeswitch/lib/
index 4cde49d9f9d63f90423c76a443e042062c8feb29..ad474d9e068eaa2113a771052d90cf3c6a19a32b 100755 (executable)
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling.Types;\r
-using FreeSwitch.NET.Types;\r
+using FreeSwitch.Marshaling.Types;\r
+using FreeSwitch.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class BufferMarshaler : ICustomMarshaler\r
     {\r
@@ -60,14 +60,14 @@ namespace FreeSwitch.NET.Marshaling
 \r
         public IntPtr MarshalManagedToNative(object obj)\r
         {\r
-            FreeSwitch.NET.Types.Buffer buffer = (FreeSwitch.NET.Types.Buffer)obj;\r
+            FreeSwitch.Types.Buffer buffer = (FreeSwitch.Types.Buffer)obj;\r
 \r
             return buffer.marshaledObject.Handle;\r
         }\r
 \r
         public object MarshalNativeToManaged(IntPtr bufferPtr)\r
         {\r
-            FreeSwitch.NET.Types.Buffer buffer        = new FreeSwitch.NET.Types.Buffer();\r
+            FreeSwitch.Types.Buffer buffer        = new FreeSwitch.Types.Buffer();\r
             BufferMarshal           bufferMarshal = new BufferMarshal();\r
 \r
             Marshal.PtrToStructure(bufferPtr, bufferMarshal);\r
index e3d9c28dad8c4ec5d0b1ff9a76b524352e715e3b..ef555f34c852e25aefefced6f7022537314960ec 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CallerExtensionMarshaler.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CallerExtensionMarshaler.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class CallerExtensionMarshaler : ICustomMarshaler\r
     {\r
index a8eadedca278a28c50710f08bc5b7b1c03444c38..a97fadc5703a30f689786eb1f207af8b66fb278b 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CallerProfileMarshaler.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CallerProfileMarshaler.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class CallerProfileMarshaler : ICustomMarshaler\r
     {\r
index f72e59ef26e08f892f51bdbda913d721e68bb153..c9e32e72918b89ac9bfb280f6153a22da3061313 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * ChannelMarshaler.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * ChannelMarshaler.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class ChannelMarshaler : ICustomMarshaler\r
     {\r
index a05456d05ecadaf42deeee072ad9003431672e75..a652d4b0b3a94468048d76f30754e031f77f1834 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * ChannelTimetableMarshaler.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * ChannelTimetableMarshaler.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class ChannelTimetableMarshaler : ICustomMarshaler\r
     {\r
index 29e1fd8dae840a0957a3d1b4a4fa2dde0567d418..981b15a1ff6b5aa81f2622ad13786c269a8bb537 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CoreSessionMarshaler.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CoreSessionMarshaler.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class CoreSessionMarshaler : ICustomMarshaler\r
     {\r
index c23f7a56d3460f0425e5aab2dc751aa155cfd80f..0356ff2d97d139bcdba849a6ef7aacd08578759e 100755 (executable)
@@ -1,41 +1,41 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * EventMarshaler.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * EventMarshaler.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Collections;\r
-using FreeSwitch.NET.Marshaling.Types;\r
-using FreeSwitch.NET.Types;\r
+using FreeSwitch.Marshaling.Types;\r
+using FreeSwitch.Types;\r
 using System.Runtime.InteropServices;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class EventMarshaler : ICustomMarshaler\r
     {\r
index 1c432aa7ceb056a8fc3a748124d2e98d0239c5ee..09ea148e79de04b1504802e0fa5d5873118a177a 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * FileHandleMarshaler.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * FileHandleMarshaler.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class FileHandleMarshaler : ICustomMarshaler\r
     {\r
index c71e72d03644ec1537e1c723606ef66e83b4953a..66a274eba7d6506c8a05ef01bdcc25aee659c98d 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * MemoryPoolMarshaler.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * MemoryPoolMarshaler.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class MemoryPoolMarshaler : ICustomMarshaler\r
     {\r
index cd4485631534c447b47992adac6fe2fd9a278619..fd4fefd0512a5cf635b846fe4f8af1ed93f4fd96 100755 (executable)
  */\r
 using System;\r
 using System.Collections;\r
-using FreeSwitch.NET.Marshaling.Types;\r
-using FreeSwitch.NET.Types;\r
+using FreeSwitch.Marshaling.Types;\r
+using FreeSwitch.Types;\r
 using System.Runtime.InteropServices;\r
 \r
-namespace FreeSwitch.NET.Marshaling\r
+namespace FreeSwitch.Marshaling\r
 {\r
     class StreamHandleMarshaler : ICustomMarshaler\r
     {\r
index 33bad12fe59a70dc3801ead38d1fcf676df14859..fe84690312a2edfe86c6d568299a4386f0cc1ba8 100755 (executable)
  *
  * ApiInterfaceMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class ApiInterfaceMarshal\r
-    {\r
-        //[MarshalAs(UnmanagedType.LPStr)]\r
-        internal IntPtr      interface_name;\r
-        //[MarshalAs(UnmanagedType.LPStr)]\r
-        internal IntPtr      desc;\r
-        internal ApiFunction function;\r
-        internal IntPtr      next;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class ApiInterfaceMarshal
+    {
+        //[MarshalAs(UnmanagedType.LPStr)]
+        internal IntPtr      interface_name;
+        //[MarshalAs(UnmanagedType.LPStr)]
+        internal IntPtr      desc;
+        internal ApiFunction function;
+        internal IntPtr      next;
+    }
+}
index 4c09cc3acf461c02b85d7be18a3063859843a1ed..3807ee466d11909e7ae75ac4a04f487bf1096efa 100755 (executable)
  *
  * ApplicationInterfaceMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class ApplicationInterfaceMarshal\r
-    {\r
-     //   [MarshalAs(UnmanagedType.LPStr)]\r
-        internal IntPtr              interface_name;\r
-        internal ApplicationFunction application_function;\r
-     //   [MarshalAs(UnmanagedType.LPStr)]\r
-        internal IntPtr              long_desc;\r
-        //[MarshalAs(UnmanagedType.LPStr)]\r
-        internal IntPtr              short_desc;\r
-        //[MarshalAs(UnmanagedType.LPStr)]\r
-        internal IntPtr              syntax;\r
-        internal IntPtr              next;\r
-    }\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class ApplicationInterfaceMarshal
+    {
+     //   [MarshalAs(UnmanagedType.LPStr)]
+        internal IntPtr              interface_name;
+        internal ApplicationFunction application_function;
+     //   [MarshalAs(UnmanagedType.LPStr)]
+        internal IntPtr              long_desc;
+        //[MarshalAs(UnmanagedType.LPStr)]
+        internal IntPtr              short_desc;
+        //[MarshalAs(UnmanagedType.LPStr)]
+        internal IntPtr              syntax;
+        internal IntPtr              next;
+    }
 }
\ No newline at end of file
index 4b91216b083f3b71d5970bc8c3ea40851cebcc86..09a3cddf8244e57ca457417b7020c906e3dccbcc 100755 (executable)
  *
  * BufferMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class BufferMarshal\r
-    {\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        internal string data;\r
-        internal int    used;\r
-        internal int    datalen;\r
-        internal UInt32 id;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class BufferMarshal
+    {
+        [MarshalAs(UnmanagedType.LPStr)]
+        internal string data;
+        internal int    used;
+        internal int    datalen;
+        internal UInt32 id;
+    }
+}
index 1d1fb6fc1eda8d7bc78f0b3184ced3a16233932e..09d2f535ceb83f24c57caaafd66ec0bcc54e7aa8 100755 (executable)
  *
  * CallerExtensionMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class CallerExtensionMarshal\r
-    {\r
-        internal IntPtr extension_name;\r
-        internal IntPtr extension_number;\r
-        internal IntPtr current_application;\r
-        internal IntPtr last_application;\r
-        internal IntPtr applications;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class CallerExtensionMarshal
+    {
+        internal IntPtr extension_name;
+        internal IntPtr extension_number;
+        internal IntPtr current_application;
+        internal IntPtr last_application;
+        internal IntPtr applications;
+    }
+}
index 829c2cffc759fa0a306560ed8eabb366a4ae41d9..2e2709d384185751a1a9c4b5b541c223d113e507 100755 (executable)
@@ -1,38 +1,38 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CallerProfileMarshal.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CallerProfileMarshal.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
 \r
-namespace FreeSwitch.NET.Marshaling.Types\r
+namespace FreeSwitch.Marshaling.Types\r
 {\r
     [StructLayout(LayoutKind.Sequential)]\r
     internal class CallerProfileMarshal\r
index eeb6c79b8bc54985c3392670a948b99e2646f34a..60ec8b72f9c9f1fba734b034a39c81f1e14f5c40 100755 (executable)
  *
  * ChannelFlagMarshal.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    internal enum ChannelFlagMarshal\r
-    {\r
-        CF_SEND_AUDIO,\r
-        CF_RECV_AUDIO,\r
-        CF_ANSWERED,\r
-        CF_OUTBOUND,\r
-        CF_EARLY_MEDIA,\r
-        CF_ORIGINATOR,\r
-        CF_TRANSFER\r
-    }\r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    internal enum ChannelFlagMarshal
+    {
+        CF_SEND_AUDIO,
+        CF_RECV_AUDIO,
+        CF_ANSWERED,
+        CF_OUTBOUND,
+        CF_EARLY_MEDIA,
+        CF_ORIGINATOR,
+        CF_TRANSFER
+    }
+}
index 43d7db61d930265c5160ba72c15d1adf44ed5061..5d9b46e159526e09b91f7472b8739c9173fb98b7 100755 (executable)
@@ -1,39 +1,39 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * ChannelMarshal.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * ChannelMarshal.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
+using FreeSwitch.Types;\r
 \r
-namespace FreeSwitch.NET.Marshaling.Types\r
+namespace FreeSwitch.Marshaling.Types\r
 {\r
     [StructLayout(LayoutKind.Sequential)]\r
     internal class ChannelMarshal\r
index 543f16cd5d0864b169353a8e51f79bae4800adb3..32608d400faaacf66d8cfa0aa73e571846b33001 100755 (executable)
  *
  * ChannelStateMarshal.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    internal enum ChannelStateMarshal\r
-    {\r
-        CS_NEW,\r
-        CS_INIT,\r
-        CS_RING,\r
-        CS_TRANSMIT,\r
-        CS_EXECUTE,\r
-        CS_LOOPBACK,\r
-        CS_HANGUP,\r
-        CS_DONE \r
-    }\r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    internal enum ChannelStateMarshal
+    {
+        CS_NEW,
+        CS_INIT,
+        CS_RING,
+        CS_TRANSMIT,
+        CS_EXECUTE,
+        CS_LOOPBACK,
+        CS_HANGUP,
+        CS_DONE 
+    }
+}
index 088c7d75a847aa863a43ad5b3b82a90d6e7f71a0..ec503623a623e7351d60929f58b2f06edc567c1a 100755 (executable)
  *
  * ChannelTimetableMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class ChannelTimetableMarshal\r
-    {\r
-        internal Int64 created;\r
-        internal Int64 answered;\r
-        internal Int64 hungup;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class ChannelTimetableMarshal
+    {
+        internal Int64 created;
+        internal Int64 answered;
+        internal Int64 hungup;
+    }
+}
index f8cce868e38992bbb5b6a6948d402270c7f1d36f..242f67aaa867689a64e6601a3675370a6075b9af 100755 (executable)
  *
  * CodecImplementationMarshal.cs -- 
  *
- */\r
-using System;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    internal class CodecImplementationMarshal\r
-    {\r
-        internal UInt32 samples_per_seconds;\r
-        internal int    bits_per_second;\r
-        internal int    microseconds_per_frame;\r
-        internal UInt32 samples_per_frame;\r
-        internal UInt32 bytes_per_frame;\r
-        internal UInt32 encoded_bytes_per_frame;\r
-        internal Byte   number_of_channels;\r
-        internal int    pref_frames_per_packet;\r
-        internal int    max_frames_per_packet;\r
-        //internal CodecInitMarshal init;\r
-        //internal CodecEncodeMarshal encode;\r
-        //internal CodecDecode decode;\r
-        //internal CodecDestroy destroy;\r
-        internal IntPtr next;\r
-    }\r
-}\r
+ */
+using System;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    internal class CodecImplementationMarshal
+    {
+        internal UInt32 samples_per_seconds;
+        internal int    bits_per_second;
+        internal int    microseconds_per_frame;
+        internal UInt32 samples_per_frame;
+        internal UInt32 bytes_per_frame;
+        internal UInt32 encoded_bytes_per_frame;
+        internal Byte   number_of_channels;
+        internal int    pref_frames_per_packet;
+        internal int    max_frames_per_packet;
+        //internal CodecInitMarshal init;
+        //internal CodecEncodeMarshal encode;
+        //internal CodecDecode decode;
+        //internal CodecDestroy destroy;
+        internal IntPtr next;
+    }
+}
index 9494c4ddfe08a319dcbc73896a2cc00e6f1d686c..b05e83d6bbc7ec11de1a4bd29aa739768699a9c0 100755 (executable)
  *
  * CodecInterfaceMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class CodecInterfaceMarshal\r
-    {\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        internal string interface_name;\r
-        /*\r
-        internal CodecImplementation application_function;\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        internal string              long_desc;\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        internal string              short_desc;\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        internal string              syntax;\r
-        internal IntPtr              next;\r
-}\r
-\r
-\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class CodecInterfaceMarshal
+    {
+        [MarshalAs(UnmanagedType.LPStr)]
+        internal string interface_name;
+        /*
+        internal CodecImplementation application_function;
+        [MarshalAs(UnmanagedType.LPStr)]
+        internal string              long_desc;
+        [MarshalAs(UnmanagedType.LPStr)]
+        internal string              short_desc;
+        [MarshalAs(UnmanagedType.LPStr)]
+        internal string              syntax;
+        internal IntPtr              next;
+}
+
+
 struct switch_codec_interface {
        ! the name of the interface 
        const char *interface_name;
        ! a list of codec implementations related to the codec 
        const switch_codec_implementation_t *implementations;
        const struct switch_codec_interface *next;
-};*/\r
-    }\r
+};*/
+    }
 }
\ No newline at end of file
index 9c1e62a402d79ab0511029c3b1e796b807f14d1d..065a9fb744d7462b628027170a2b585cd084f25e 100755 (executable)
  *
  * CodecMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Text;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    internal class CodecMarshal\r
-    {\r
-        internal IntPtr codec_interface;\r
-        internal IntPtr implementation;\r
-        //internal CodecSettingsMarshal codec_settings;\r
-        internal UInt32 flags;\r
-        //internal MemoryPoolMarshal memory_pool;\r
-        internal IntPtr private_info;\r
-    }\r
-}\r
+ */
+using System;
+using System.Text;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    internal class CodecMarshal
+    {
+        internal IntPtr codec_interface;
+        internal IntPtr implementation;
+        //internal CodecSettingsMarshal codec_settings;
+        internal UInt32 flags;
+        //internal MemoryPoolMarshal memory_pool;
+        internal IntPtr private_info;
+    }
+}
index e8df17012eb2d6073995913665cc57aefb6ae5a1..1faa480bf1296777d1c1b4f55eb699fc39f9504d 100755 (executable)
  *
  * CodecTypeMarshal.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    internal enum CodecTypesMarshal\r
-    {\r
-        SWITCH_CODEC_TYPE_AUDIO,\r
-        SWITCH_CODEC_TYPE_VIDEO,\r
-        SWITCH_CODEC_TYPE_T38,\r
-        SWITCH_CODEC_TYPE_APP\r
-    }\r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    internal enum CodecTypesMarshal
+    {
+        SWITCH_CODEC_TYPE_AUDIO,
+        SWITCH_CODEC_TYPE_VIDEO,
+        SWITCH_CODEC_TYPE_T38,
+        SWITCH_CODEC_TYPE_APP
+    }
+}
index 0011c801a174a21ea852fa7dda59893e3ecc1b9f..4a351beed2f907472c458765d41753d43d69f52a 100755 (executable)
  *
  * CoreSessionMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Text;\r
-using System.Runtime.InteropServices;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential, Pack=1)]\r
-    internal class CoreSessionMarshal\r
-    {\r
-        internal UInt32              id;\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst=80)]\r
-        internal byte[]              name; \r
-        internal int                 thread_running;\r
-        internal IntPtr              pool;\r
-        internal IntPtr              channel;\r
-        internal IntPtr              thread;\r
-        internal IntPtr              endpoint_interface;\r
-        internal IOEventHooksMarshal event_hooks;\r
-        internal IntPtr              read_codec;\r
-        internal IntPtr              write_codec;\r
-        internal IntPtr              raw_write_buffer;\r
-        internal FrameMarshal        raw_write_frame;\r
-        internal FrameMarshal        enc_write_frame;\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst=2048)]\r
-        internal byte[]              raw_write_buf;\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst=2048)]\r
-        internal byte[]              enc_write_buf;\r
-        internal IntPtr              raw_read_buffer;\r
-        internal FrameMarshal        raw_read_frame;\r
-        internal FrameMarshal        enc_read_frame;\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst=2048)]\r
-        internal byte[]              raw_read_buf;\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst=2048)]\r
-        internal byte[]              enc_read_buf;\r
+ */
+using System;
+using System.Text;
+using System.Runtime.InteropServices;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential, Pack=1)]
+    internal class CoreSessionMarshal
+    {
+        internal UInt32              id;
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst=80)]
+        internal byte[]              name; 
+        internal int                 thread_running;
+        internal IntPtr              pool;
+        internal IntPtr              channel;
+        internal IntPtr              thread;
+        internal IntPtr              endpoint_interface;
+        internal IOEventHooksMarshal event_hooks;
+        internal IntPtr              read_codec;
+        internal IntPtr              write_codec;
+        internal IntPtr              raw_write_buffer;
+        internal FrameMarshal        raw_write_frame;
+        internal FrameMarshal        enc_write_frame;
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst=2048)]
+        internal byte[]              raw_write_buf;
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst=2048)]
+        internal byte[]              enc_write_buf;
+        internal IntPtr              raw_read_buffer;
+        internal FrameMarshal        raw_read_frame;
+        internal FrameMarshal        enc_read_frame;
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst=2048)]
+        internal byte[]              raw_read_buf;
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst=2048)]
+        internal byte[]              enc_read_buf;
         internal IntPtr              read_resampler;
         internal IntPtr              write_resampler;
         internal IntPtr              mutex;
@@ -73,8 +73,8 @@ namespace FreeSwitch.NET.Marshaling.Types
         internal int                 stream_count;
         /* 36 + 1 char string, but need to grab 40 bytes */
         [MarshalAs(UnmanagedType.ByValArray, SizeConst=40)]
-        internal byte[]              uuid_str;\r
+        internal byte[]              uuid_str;
         internal IntPtr              private_info;
         internal IntPtr              event_queue;
-    }\r
-}\r
+    }
+}
index e8d8b1db409137ea8ea4eee9e102cef741dbd319..03a46de690fc28fec515b8a9b9a5f9ef41a0f746 100755 (executable)
  *
  * EventMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class EventMarshal\r
-    {\r
-        internal EventType event_id;\r
-        internal Priority  priority;\r
-        internal IntPtr    owner;\r
-        internal IntPtr    subclass;\r
-        internal IntPtr    headers;\r
-        internal IntPtr    body;\r
-        internal IntPtr    bind_user_data;\r
-        internal IntPtr    event_user_data;\r
-        internal IntPtr    next;\r
-    }\r
-\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class EventHeaderMarshal\r
-    {\r
-        internal string name;\r
-        internal string value;\r
-        internal IntPtr next;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class EventMarshal
+    {
+        internal EventType event_id;
+        internal Priority  priority;
+        internal IntPtr    owner;
+        internal IntPtr    subclass;
+        internal IntPtr    headers;
+        internal IntPtr    body;
+        internal IntPtr    bind_user_data;
+        internal IntPtr    event_user_data;
+        internal IntPtr    next;
+    }
+
+    [StructLayout(LayoutKind.Sequential)]
+    internal class EventHeaderMarshal
+    {
+        internal string name;
+        internal string value;
+        internal IntPtr next;
+    }
+}
index 2a0e5a78deebd201de7360cc9f11900c8249fee3..9cf0ee0f00705f6d6b323df81a8583f4800e3db8 100755 (executable)
  *
  * FileHandleMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class FileHandleMarshal\r
-    {\r
-        internal IntPtr file_interface;\r
-        internal UInt32 flags;\r
-        internal IntPtr fd;\r
-        internal uint   samples;\r
-        internal UInt32 samplerate;\r
-        internal Byte   channels;\r
-        internal uint   format;\r
-        internal uint   sections;\r
-        internal int    seekable;\r
-        internal uint   sample_count;\r
-        internal int    speed;\r
-        internal IntPtr memory_pool;\r
-        internal IntPtr private_info;\r
-        internal Int64  pos;\r
-        internal IntPtr audio_buffer;\r
-    }\r
-\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class FileHandleMarshal
+    {
+        internal IntPtr file_interface;
+        internal UInt32 flags;
+        internal IntPtr fd;
+        internal uint   samples;
+        internal UInt32 samplerate;
+        internal Byte   channels;
+        internal uint   format;
+        internal uint   sections;
+        internal int    seekable;
+        internal uint   sample_count;
+        internal int    speed;
+        internal IntPtr memory_pool;
+        internal IntPtr private_info;
+        internal Int64  pos;
+        internal IntPtr audio_buffer;
+    }
+
+}
index 37cd6696a1ac3cd31e088b64650b26aa13999212..7068b08088c46c610aa134126aaa92a495088afa 100755 (executable)
  *
  * FrameMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class FrameMarshal\r
-    {\r
-        internal IntPtr codec;\r
-        internal IntPtr source;\r
-        internal IntPtr packet;\r
-        internal UInt32 packetlen;\r
-        internal IntPtr data;\r
-        internal UInt32 datalen;\r
-        internal UInt32 buflen;\r
-        internal UInt32 samples;\r
-        internal UInt32 rate;\r
-        internal byte payload;\r
-        internal UInt32 timestamp;\r
-        internal byte flags;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class FrameMarshal
+    {
+        internal IntPtr codec;
+        internal IntPtr source;
+        internal IntPtr packet;
+        internal UInt32 packetlen;
+        internal IntPtr data;
+        internal UInt32 datalen;
+        internal UInt32 buflen;
+        internal UInt32 samples;
+        internal UInt32 rate;
+        internal byte payload;
+        internal UInt32 timestamp;
+        internal byte flags;
+    }
+}
index 8e23640c511c31ce8602eaa2d507bdad67536766..fc4de1cc66ef3ecdf4aa038e344f04b0418ebebf 100755 (executable)
  *
  * IOEventHooksMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class IOEventHooksMarshal\r
-    {\r
-        internal IntPtr outgoing_channel;\r
-        internal IntPtr answer_channel;\r
-        internal IntPtr receive_message;\r
-        internal IntPtr receive_event;\r
-        internal IntPtr read_frame;\r
-        internal IntPtr write_frame;\r
-        internal IntPtr kill_channel;\r
-        internal IntPtr waitfor_read;\r
-        internal IntPtr waitfor_write;\r
-        internal IntPtr send_dtmf;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class IOEventHooksMarshal
+    {
+        internal IntPtr outgoing_channel;
+        internal IntPtr answer_channel;
+        internal IntPtr receive_message;
+        internal IntPtr receive_event;
+        internal IntPtr read_frame;
+        internal IntPtr write_frame;
+        internal IntPtr kill_channel;
+        internal IntPtr waitfor_read;
+        internal IntPtr waitfor_write;
+        internal IntPtr send_dtmf;
+    }
+}
index 4a3949f9cdb5cb3939f1f668f9e40874e72efe35..ccc2db3d12d278c0d6133d046ba78cde8aedac07 100755 (executable)
  *
  * LoadableModuleInterfaceMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class LoadableModuleInterfaceMarshal\r
-    {\r
-        internal IntPtr module_name;\r
-        internal IntPtr endpoint_interface;\r
-        internal IntPtr timer_interface;\r
-        internal IntPtr dialplan_interface;\r
-        internal IntPtr codec_interface;\r
-        internal IntPtr application_interface;\r
-        internal IntPtr api_interface;\r
-        internal IntPtr file_interface;\r
-        internal IntPtr speech_interface;\r
-        internal IntPtr directory_interface;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class LoadableModuleInterfaceMarshal
+    {
+        internal IntPtr module_name;
+        internal IntPtr endpoint_interface;
+        internal IntPtr timer_interface;
+        internal IntPtr dialplan_interface;
+        internal IntPtr codec_interface;
+        internal IntPtr application_interface;
+        internal IntPtr api_interface;
+        internal IntPtr file_interface;
+        internal IntPtr speech_interface;
+        internal IntPtr directory_interface;
+    }
+}
index 14e848fb1da1a5e39b836b0e37168227b6bc94a6..c0485055b226434a8480662799211fc4f17aaa16 100755 (executable)
  *
  * LoadableModuleMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-\r
-\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    public class LoadableModuleMarshal\r
-    {\r
-        public IntPtr         filename;\r
-        public IntPtr         module_interface;\r
-        public IntPtr         lib;\r
-        public ModuleLoad     module_load;\r
-        public ModuleReload   module_reload;\r
-        public ModulePause    module_pause;\r
-        public ModuleResume   module_resume;\r
-        public ModuleStatus   module_status;\r
-        public ModuleRuntime  module_runtime;\r
-        public ModuleShutdown module_shutdown;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+
+
+    [StructLayout(LayoutKind.Sequential)]
+    public class LoadableModuleMarshal
+    {
+        public IntPtr         filename;
+        public IntPtr         module_interface;
+        public IntPtr         lib;
+        public ModuleLoad     module_load;
+        public ModuleReload   module_reload;
+        public ModulePause    module_pause;
+        public ModuleResume   module_resume;
+        public ModuleStatus   module_status;
+        public ModuleRuntime  module_runtime;
+        public ModuleShutdown module_shutdown;
+    }
+}
index 29f73e17e12a4eddad9f835ffb38cb5f770ba74b..33878cc8f75f9e9aa17f99459985953bc36b2395 100755 (executable)
  *
  * StreamHandleMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    [StructLayout(LayoutKind.Sequential)]\r
-    internal class StreamHandleMarshal\r
-    {\r
-        internal IntPtr write_function;\r
-        internal IntPtr data;\r
-        internal IntPtr end;\r
-        internal int    data_size;\r
-        internal int    data_len;\r
-        internal IntPtr _event;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    [StructLayout(LayoutKind.Sequential)]
+    internal class StreamHandleMarshal
+    {
+        internal IntPtr write_function;
+        internal IntPtr data;
+        internal IntPtr end;
+        internal int    data_size;
+        internal int    data_len;
+        internal IntPtr _event;
+    }
+}
index 8aadcbcd5fa0d853ec4f2801c8a9f421ac945c03..0b6ebf147a4b8c93aac51b39f0020ef87f76c052 100755 (executable)
  *
  * TypesMarshal.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-\r
-namespace FreeSwitch.NET.Marshaling.Types\r
-{\r
-    public delegate\r
-        Status DtmfCallbackFunctionMarshal(\r
-            [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CoreSessionMarshaler))]\r
-            CoreSession session,\r
-            string dtmf,\r
-            IntPtr buf,\r
-            uint buflen);\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Types;
+
+namespace FreeSwitch.Marshaling.Types
+{
+    public delegate
+        Status DtmfCallbackFunctionMarshal(
+            [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CoreSessionMarshaler))]
+            CoreSession session,
+            string dtmf,
+            IntPtr buf,
+            uint buflen);
+}
index c195c7e279b4614194d7a889c929f250501a3970..4c649bfa654c52d57d3bcfead3af9902ee224186 100644 (file)
@@ -1,50 +1,50 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * Module.cs -- 
- *
- */
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * Module.cs -- \r
+ *\r
+ */\r
 using System;\r
 using System.Collections;\r
 using System.Reflection;\r
 using System.Runtime.InteropServices;\r
 using System.Text;\r
 using FreeSwitch.NET;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Modules;\r
-using FreeSwitch.NET.Marshaling.Types;
-
-namespace FreeSwitch.NET
-{
+using FreeSwitch.Types;\r
+using FreeSwitch.Modules;\r
+using FreeSwitch.Marshaling.Types;\r
+\r
+namespace FreeSwitch.NET\r
+{\r
     /// <summary>\r
     /// Base class for all Freeswitch.NET modules\r
-    /// </summary>
-    /// <example>
+    /// </summary>\r
+    /// <example>\r
     /// public class Example : Module\r
     /// {\r
     ///     public Example()\r
@@ -54,9 +54,9 @@ namespace FreeSwitch.NET
     ///                  \r
     ///         Register();\r
     ///     }    \r
-    /// }
-    /// </example>
-       public class Module
+    /// }\r
+    /// </example>\r
+       public class Module\r
        {\r
         private LoadableModuleInterfaceMarshal module_interface = new LoadableModuleInterfaceMarshal();\r
         private LoadableModuleMarshal          module           = new LoadableModuleMarshal();\r
@@ -71,19 +71,19 @@ namespace FreeSwitch.NET
         /// <summary>\r
         /// Module constructor\r
         /// </summary>\r
-               public Module()
+               public Module()\r
                {\r
-            Console.WriteLine("*** Creating new module object");
-
-            load = new ModuleLoad(Load);
-               }
-
+            Console.WriteLine("*** Creating new module object");\r
+\r
+            load = new ModuleLoad(Load);\r
+               }\r
+\r
         /// <summary>\r
         /// Implementation of ModuleLoad Delegate\r
         /// </summary>\r
         /// <param name="module"></param>\r
         /// <param name="name"></param>\r
-        /// <returns></returns>
+        /// <returns></returns>\r
         public Status Load(ref IntPtr module, string name)\r
         {\r
             /* Allocate some unmanaged mem for the ModuleInterface */\r
@@ -110,13 +110,13 @@ namespace FreeSwitch.NET
             Marshal.StructureToPtr(module_interface, module, true);\r
                         \r
             return Status.Success;\r
-        }
-
+        }\r
+\r
         /// <summary>\r
         /// AddApiInterface\r
         /// </summary>\r
-        /// <param name="apiInterface"></param>
-        public void AddApiInterface(Api apiInterface)
+        /// <param name="apiInterface"></param>\r
+        public void AddApiInterface(Api apiInterface)\r
         {\r
             /* Create a new ApiInterface type and allocate unmanaged mem */\r
             ApiInterfaceMarshal apiInterfaceMarshal = new ApiInterfaceMarshal();\r
@@ -185,21 +185,21 @@ namespace FreeSwitch.NET
 \r
             /* Finally, add our new interface to the array */\r
             applicationInterfaces.Add(applicationInterface);\r
-        }
-
+        }\r
+\r
         /// <summary>\r
         /// Register\r
-        /// </summary>
-        public void Register()
+        /// </summary>\r
+        public void Register()\r
         {\r
             module.module_load = new ModuleLoad(Load);\r
 \r
-            Switch.switch_loadable_module_build_dynamic(filename,
-                                                        module.module_load,
-                                                        module.module_runtime,
-                                                        module.module_shutdown);
+            Switch.switch_loadable_module_build_dynamic(filename,\r
+                                                        module.module_load,\r
+                                                        module.module_runtime,\r
+                                                        module.module_shutdown);\r
         }\r
 \r
-        
-       }
-}      
+        \r
+       }\r
+}      \r
index 36aea931b6a504ae550bd9236c9c9f0757bcbcd0..88b89634f1cd5a47215a4eb1b95d7edad39a5117 100755 (executable)
@@ -1,41 +1,41 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * Api.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * Api.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Collections;\r
 using System.Text;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
+using FreeSwitch.Types;\r
 \r
-namespace FreeSwitch.NET.Modules\r
+namespace FreeSwitch.Modules\r
 {\r
     public class Api\r
     {\r
index 045e10c8ed2b1c743d9b08dd3082d25727114e70..9df61154db7e59dcbc914d5517deebe36b4d759c 100755 (executable)
@@ -1,43 +1,43 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * Application.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * Application.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Collections;\r
 using System.Text;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Marshaling;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Modules\r
+namespace FreeSwitch.Modules\r
 {\r
     public class Application\r
     {\r
index 6003d34ed22a6b6a1b456e731e426b65be58c077..8b02007386b944e2ae261b31036838ba5d04908f 100755 (executable)
@@ -1,42 +1,42 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CallerProfile.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CallerProfile.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.CompilerServices;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET\r
+namespace FreeSwitch\r
 {\r
     public partial class Switch\r
     {\r
index 7b695c89e1753ac07f05bac7cef68effecc9e769..124ef36907519352eee92410a2b78efe2addec52 100755 (executable)
@@ -1,41 +1,41 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * Channel.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * Channel.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.CompilerServices;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling;\r
 \r
-namespace FreeSwitch.NET\r
+namespace FreeSwitch\r
 {\r
     public partial class Switch\r
     {\r
@@ -60,14 +60,14 @@ namespace FreeSwitch.NET
 \r
         [DllImport("freeswitch")]\r
         public extern static\r
-            ChannelState switch_channel_perform_hangup(
-                [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(ChannelMarshaler))]
-                Channel channel,
-                [MarshalAs(UnmanagedType.LPStr)]
-                string file,
-                [MarshalAs(UnmanagedType.LPStr)]
-                string func,
-                int line,
+            ChannelState switch_channel_perform_hangup(\r
+                [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(ChannelMarshaler))]\r
+                Channel channel,\r
+                [MarshalAs(UnmanagedType.LPStr)]\r
+                string file,\r
+                [MarshalAs(UnmanagedType.LPStr)]\r
+                string func,\r
+                int line,\r
                 CallCause hangup_cause);\r
 \r
         [DllImport("freeswitch")]\r
index 58d40fbc154c7aaf870d88c6b66b4e8ca75dfa5d..f53ef7a2d8328cf849659cfd5566f95757b80fa8 100644 (file)
@@ -34,7 +34,7 @@ using System.Runtime.CompilerServices;
 using System.Diagnostics;\r
 using System.Text;
 
-namespace FreeSwitch.NET
+namespace FreeSwitch
 {
        public partial class Switch
        {\r
index 6130cafc47f3d8e290ede9a1da61a787836bcd13..42e4d6551bd29f10c8c53b55d20d62a44b10ba86 100755 (executable)
@@ -1,41 +1,41 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CoreSession.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CoreSession.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.CompilerServices;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling;\r
 \r
-namespace FreeSwitch.NET\r
+namespace FreeSwitch\r
 {\r
     public partial class Switch\r
     {\r
index 33219b58713954fd0be8f1a8f0b7046ea1abae5f..62aaf6712907ab447e60cfaf45ff048c9017141e 100755 (executable)
@@ -1,42 +1,42 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * Ivr.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * Ivr.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.CompilerServices;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET\r
+namespace FreeSwitch\r
 {\r
     public partial class Switch\r
     {\r
index 60bcbda57d929d556baf23c3d25ba99fd7adfce9..f67e4673f95c1915852048f16aeb00df36cc9975 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * LoadableModule.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * LoadableModule.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET\r
+namespace FreeSwitch\r
 {\r
     /*\r
      * SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)\r
index fa1315a245531af28db7c69a874edd7d7bb663aa..0f8a4ea3842703b65713e690d153e4adce477200 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * LoadableModule.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * LoadableModule.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Types;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET\r
+namespace FreeSwitch\r
 {\r
     /*\r
      * SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)\r
index c3f7fd5b67899f90dcd0752a77d8159b53c790b4..a50b042e2c35533ff7ea8221c761b27e4f3c83b3 100755 (executable)
  *
  * ApplicationFunction.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    \r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    
+}
index 91a49a6f4bbf977c8a6a70a63c5eea6c1409d507..0d0b1eb12cc2d756a8922352ecd53d98ac19a1a2 100755 (executable)
@@ -34,7 +34,7 @@ using System.Collections;
 using System.Runtime.InteropServices;
 using System.Text;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     /*
     public class ApplicationInterface
index cd7a7555314654be958593d04e1b47afe1da841f..9921f2e001279b3a31870b61c658b13c961b0d5d 100755 (executable)
  *
  * Buffer.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public class Buffer\r
-    {\r
-        internal HandleRef marshaledObject;\r
-\r
-        public string Data\r
-        {\r
-            get { throw new NotImplementedException(); }\r
-        }\r
-\r
-        public int Used\r
-        {\r
-            get { throw new NotImplementedException(); }\r
-        }\r
-\r
-        public int Length\r
-        {\r
-            get { throw new NotImplementedException(); }\r
-        }\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+
+namespace FreeSwitch.Types
+{
+    public class Buffer
+    {
+        internal HandleRef marshaledObject;
+
+        public string Data
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public int Used
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public int Length
+        {
+            get { throw new NotImplementedException(); }
+        }
+    }
+}
index 274b92a0c17fa2d8323b8bf6a951a48410f78476..d03832f0dc91ff6524e43535144ed27667aab6d5 100755 (executable)
@@ -1,37 +1,37 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CallCause.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CallCause.cs -- \r
+ *\r
  */\r
 using System;\r
 \r
-namespace FreeSwitch.NET.Types\r
+namespace FreeSwitch.Types\r
 {\r
     public enum CallCause\r
     {\r
index 79f07c8cb872e746738208184a5da5f2925dfe68..86c8a5e105ea8e055748ded5004f6099f367a785 100755 (executable)
@@ -1,39 +1,39 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CallerExtension.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CallerExtension.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Types\r
+namespace FreeSwitch.Types\r
 {\r
     public class CallerExtension\r
     {\r
index bd114fccc09b32f95ef48b0fd0a0922e0157f29e..6d69c05277b912749acf4c3fd8e655f5e02d9c72 100755 (executable)
@@ -1,39 +1,39 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CallerProfile.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CallerProfile.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Types\r
+namespace FreeSwitch.Types\r
 {\r
     public class CallerProfile\r
     {\r
index 4f6baaebf3c1ce02c53883b8c60308f3da40c9be..ac9a9032d706ef2031366f6ee7a1368a0451c950 100755 (executable)
@@ -1,63 +1,63 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * Channel.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * Channel.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Types\r
+namespace FreeSwitch.Types\r
 {\r
     /*\r
-     *         char *name;
-       switch_buffer_t *dtmf_buffer;
-       switch_mutex_t *dtmf_mutex;
-       switch_mutex_t *flag_mutex;
-       switch_mutex_t *profile_mutex;
-       switch_core_session_t *session;
-       switch_channel_state_t state;
-       uint32_t flags;
-       switch_caller_profile_t *caller_profile;
-       switch_caller_profile_t *originator_caller_profile;
-       switch_caller_profile_t *originatee_caller_profile;
-       switch_caller_extension_t *caller_extension;
-       const switch_state_handler_table_t *state_handlers[SWITCH_MAX_STATE_HANDLERS];
-       int state_handler_index;
-       switch_hash_t *variables;
-       switch_channel_timetable_t *times;
-       void *private_info;
-       switch_call_cause_t hangup_cause;
-       int freq;
-       int bits;
-       int channels;
-       int ms;
+     *         char *name;\r
+       switch_buffer_t *dtmf_buffer;\r
+       switch_mutex_t *dtmf_mutex;\r
+       switch_mutex_t *flag_mutex;\r
+       switch_mutex_t *profile_mutex;\r
+       switch_core_session_t *session;\r
+       switch_channel_state_t state;\r
+       uint32_t flags;\r
+       switch_caller_profile_t *caller_profile;\r
+       switch_caller_profile_t *originator_caller_profile;\r
+       switch_caller_profile_t *originatee_caller_profile;\r
+       switch_caller_extension_t *caller_extension;\r
+       const switch_state_handler_table_t *state_handlers[SWITCH_MAX_STATE_HANDLERS];\r
+       int state_handler_index;\r
+       switch_hash_t *variables;\r
+       switch_channel_timetable_t *times;\r
+       void *private_info;\r
+       switch_call_cause_t hangup_cause;\r
+       int freq;\r
+       int bits;\r
+       int channels;\r
+       int ms;\r
        int kbps;\r
      */\r
     public class Channel\r
index 78c9e6432852f30c2396522f61b397a2f77f2078..2e9ef55b1f902475c7d64f967125a6e51e20ef83 100755 (executable)
  *
  * ChannelFlag.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public enum ChannelFlag\r
-    {\r
-        CF_SEND_AUDIO,\r
-        CF_RECV_AUDIO,\r
-        CF_ANSWERED,\r
-        CF_OUTBOUND,\r
-        CF_EARLY_MEDIA,\r
-        CF_ORIGINATOR,\r
-        CF_TRANSFER\r
-    }\r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum ChannelFlag
+    {
+        CF_SEND_AUDIO,
+        CF_RECV_AUDIO,
+        CF_ANSWERED,
+        CF_OUTBOUND,
+        CF_EARLY_MEDIA,
+        CF_ORIGINATOR,
+        CF_TRANSFER
+    }
+}
index 52e688707e4ec0758cca76906a87db67c1ca4744..b07f3b505bd2cdef333f8385b24ae7beae49e1a6 100755 (executable)
  *
  * ChannelState.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public enum ChannelState\r
-    {\r
-        CS_NEW,\r
-        CS_INIT,\r
-        CS_RING,\r
-        CS_TRANSMIT,\r
-        CS_EXECUTE,\r
-        CS_LOOPBACK,\r
-        CS_HANGUP,\r
-        CS_DONE \r
-    }\r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum ChannelState
+    {
+        CS_NEW,
+        CS_INIT,
+        CS_RING,
+        CS_TRANSMIT,
+        CS_EXECUTE,
+        CS_LOOPBACK,
+        CS_HANGUP,
+        CS_DONE 
+    }
+}
index 1e3cdcb0c7b45ebad2307723f117279e7d200b83..ea7e4dbb5c20cf0b5314f32f8f8796836ae4f17a 100755 (executable)
  *
  * ChannelTimetable.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public class ChannelTimetable\r
-    {\r
-        internal HandleRef marshaledObject;\r
-\r
-        public Int64 Created\r
-        {\r
-            get { throw new NotImplementedException(); }\r
-        }\r
-\r
-        public Int64 Answered\r
-        {\r
-            get { throw new NotImplementedException(); }\r
-        }\r
-\r
-        public Int64 Hungup\r
-        {\r
-            get { throw new NotImplementedException(); }\r
-        }\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+
+namespace FreeSwitch.Types
+{
+    public class ChannelTimetable
+    {
+        internal HandleRef marshaledObject;
+
+        public Int64 Created
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public Int64 Answered
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public Int64 Hungup
+        {
+            get { throw new NotImplementedException(); }
+        }
+    }
+}
index 6c9165fe32a0cd64cd7d867b555ca55b588eb0c1..b8083ed0094bfe3791cba9296e05468e9ce8bbba 100755 (executable)
@@ -1,80 +1,80 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * CoreSession.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * CoreSession.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Collections;\r
 using System.Runtime.InteropServices;\r
 using System.Text;\r
-using FreeSwitch.NET.Marshaling.Types;\r
+using FreeSwitch.Marshaling.Types;\r
 \r
-namespace FreeSwitch.NET.Types\r
+namespace FreeSwitch.Types\r
 {\r
     /*\r
-     *         uint32_t id;
-       char name[80];
-       int thread_running;
-       switch_memory_pool_t *pool;
-       switch_channel_t *channel;
-       switch_thread_t *thread;
-       const switch_endpoint_interface_t *endpoint_interface;
-       switch_io_event_hooks_t event_hooks;
-       switch_codec_t *read_codec;
-       switch_codec_t *write_codec;
-
-       switch_buffer_t *raw_write_buffer;
-       switch_frame_t raw_write_frame;
-       switch_frame_t enc_write_frame;
-       uint8_t raw_write_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];
-       uint8_t enc_write_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];
-
-       switch_buffer_t *raw_read_buffer;
-       switch_frame_t raw_read_frame;
-       switch_frame_t enc_read_frame;
-       uint8_t raw_read_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];
-       uint8_t enc_read_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];
-
-
-       switch_audio_resampler_t *read_resampler;
-       switch_audio_resampler_t *write_resampler;
-
-       switch_mutex_t *mutex;
-       switch_thread_cond_t *cond;
-
-       switch_thread_rwlock_t *rwlock;
-
-       void *streams[SWITCH_MAX_STREAMS];
-       int stream_count;
-
-       char uuid_str[SWITCH_UUID_FORMATTED_LENGTH + 1];
-       void *private_info;
+     *         uint32_t id;\r
+       char name[80];\r
+       int thread_running;\r
+       switch_memory_pool_t *pool;\r
+       switch_channel_t *channel;\r
+       switch_thread_t *thread;\r
+       const switch_endpoint_interface_t *endpoint_interface;\r
+       switch_io_event_hooks_t event_hooks;\r
+       switch_codec_t *read_codec;\r
+       switch_codec_t *write_codec;\r
+\r
+       switch_buffer_t *raw_write_buffer;\r
+       switch_frame_t raw_write_frame;\r
+       switch_frame_t enc_write_frame;\r
+       uint8_t raw_write_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];\r
+       uint8_t enc_write_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];\r
+\r
+       switch_buffer_t *raw_read_buffer;\r
+       switch_frame_t raw_read_frame;\r
+       switch_frame_t enc_read_frame;\r
+       uint8_t raw_read_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];\r
+       uint8_t enc_read_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];\r
+\r
+\r
+       switch_audio_resampler_t *read_resampler;\r
+       switch_audio_resampler_t *write_resampler;\r
+\r
+       switch_mutex_t *mutex;\r
+       switch_thread_cond_t *cond;\r
+\r
+       switch_thread_rwlock_t *rwlock;\r
+\r
+       void *streams[SWITCH_MAX_STREAMS];\r
+       int stream_count;\r
+\r
+       char uuid_str[SWITCH_UUID_FORMATTED_LENGTH + 1];\r
+       void *private_info;\r
        switch_queue_t *event_queue;\r
      */\r
     public class CoreSession\r
index 53c41eb3df38f2cb7db6732e453125be6a25a328..d63788fbf2128cf44ec8eef7e28c32577b60005e 100755 (executable)
  *
  * DtmfCallbackFunction.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public delegate Status DtmfCallbackFunction(CoreSession session, string dtmf);\r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public delegate Status DtmfCallbackFunction(CoreSession session, string dtmf);
+}
index de064fbb49de950634da4711d61b4d5a3428b00e..d2800e992c835cac7fcda002c16a639467c2e2b3 100755 (executable)
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * Event.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * Event.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Collections;\r
 using System.Text;\r
 using System.Runtime.InteropServices;\r
 \r
-namespace FreeSwitch.NET.Types\r
+namespace FreeSwitch.Types\r
 {\r
     public enum Priority\r
     {\r
index 707e496aadcfc040f0b40a6c524a9b616ad50768..99cec4f6fcfd5287693b50f94e5ade99081cb0d6 100755 (executable)
  *
  * FileHandle.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling.Types;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public class FileHandle\r
-    {\r
-        internal HandleRef marshaledObject;\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Marshaling.Types;
+
+namespace FreeSwitch.Types
+{
+    public class FileHandle
+    {
+        internal HandleRef marshaledObject;
+    }
+}
index e233eef07c25177278d935f4bf667fea8c512ea8..c4d8aa50afbd88c9bc75b7e63dd8a138d943db77 100755 (executable)
  *
  * DtmfCallbackFunction.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public delegate Status InputCallbackFunction(\r
-        [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]\r
-        CoreSession session,\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        string input,\r
-        InputType inputType,\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        string buffer,\r
-        int bufferLength);\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Marshaling;
+
+namespace FreeSwitch.Types
+{
+    public delegate Status InputCallbackFunction(
+        [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]
+        CoreSession session,
+        [MarshalAs(UnmanagedType.LPStr)]
+        string input,
+        InputType inputType,
+        [MarshalAs(UnmanagedType.LPStr)]
+        string buffer,
+        int bufferLength);
+}
index 170aaabd00de81fbdca7b2db3c8bf2682f0dac8b..fed6270cd74ce06a952a1160a9a632256ec5b7fd 100755 (executable)
  *
  * ChannelState.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public enum InputType\r
-    {\r
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum InputType
+    {
            INPUT_TYPE_DTMF,
            INPUT_TYPE_EVENT
-    }\r
-}\r
+    }
+}
index 72535777e39067c8034b3c84d5cf8c2fb4d2efd7..7d6cc24964020fc312f89fccd557f869a4948802 100755 (executable)
@@ -1,38 +1,38 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>
- *
- * Version: MPL 1.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- *
- * The Initial Developer of the Original Code is
- * James Martelletti <james@nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james@nerdc0re.com>
- *
- *
- * Channel.cs -- 
- *
+/* \r
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ * Copyright (C) 2006, James Martelletti <james@nerdc0re.com>\r
+ *\r
+ * Version: MPL 1.1\r
+ *\r
+ * The contents of this file are subject to the Mozilla Public License Version\r
+ * 1.1 (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ * http://www.mozilla.org/MPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS IS" basis,\r
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
+ * for the specific language governing rights and limitations under the\r
+ * License.\r
+ *\r
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application\r
+ *\r
+ * The Initial Developer of the Original Code is\r
+ * James Martelletti <james@nerdc0re.com>\r
+ * Portions created by the Initial Developer are Copyright (C)\r
+ * the Initial Developer. All Rights Reserved.\r
+ *\r
+ * Contributor(s):\r
+ * \r
+ * James Martelletti <james@nerdc0re.com>\r
+ *\r
+ *\r
+ * Channel.cs -- \r
+ *\r
  */\r
 using System;\r
 using System.Runtime.InteropServices;\r
 \r
-namespace FreeSwitch.NET.Types\r
+namespace FreeSwitch.Types\r
 {\r
     public class LoadableModule\r
     {\r
index f0832f11bf779ab10589e51dcc58ec1e69c6db3a..8bb5bbc5fd1bdb4332186e556403b4581f39cc48 100755 (executable)
  *
  * LoadableModuleInterfaces.cs -- 
  *
- */\r
-using System;\r
-using System.Collections;\r
-using System.Runtime.InteropServices;\r
-using System.Text;\r
-using FreeSwitch.NET.Marshaling;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public delegate Status WriteFunction(\r
-        [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]\r
-        StreamHandle streamHandle,\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        string fmt);\r
-\r
-    //public delegate void ModuleLoad();\r
-\r
-    public class LoadableModuleInterface\r
-    {\r
-        private string module_name;\r
-        //private EndpointInterface endpoint_interface;\r
-        //private TimerInterface timer_interface;\r
-        //private DialplanInterface dialplan_interface;\r
-        //private CodecInterface codec_interface;\r
-        //private ApplicationInterface application_interface;\r
-        //private ApiInterface api_interface;\r
-        //private FileInterface file_interface;\r
-        //private SpeechInterface speech_interface;\r
-        //private DirectoryInterface directory_interface;\r
-    }\r
+ */
+using System;
+using System.Collections;
+using System.Runtime.InteropServices;
+using System.Text;
+using FreeSwitch.Marshaling;
+
+namespace FreeSwitch.Types
+{
+    public delegate Status WriteFunction(
+        [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]
+        StreamHandle streamHandle,
+        [MarshalAs(UnmanagedType.LPStr)]
+        string fmt);
+
+    //public delegate void ModuleLoad();
+
+    public class LoadableModuleInterface
+    {
+        private string module_name;
+        //private EndpointInterface endpoint_interface;
+        //private TimerInterface timer_interface;
+        //private DialplanInterface dialplan_interface;
+        //private CodecInterface codec_interface;
+        //private ApplicationInterface application_interface;
+        //private ApiInterface api_interface;
+        //private FileInterface file_interface;
+        //private SpeechInterface speech_interface;
+        //private DirectoryInterface directory_interface;
+    }
 }
index 5b0aad3ff855bc40ac5d1788e5d99a981f94dc87..51db5a420d4b533f2f9639a99f03bd35c3288cd3 100755 (executable)
@@ -1,7 +1,7 @@
 using System;\r
 using System.Runtime.InteropServices;\r
 \r
-namespace FreeSwitch.NET.Types\r
+namespace FreeSwitch.Types\r
 {\r
     public class MemoryPool\r
     {\r
index 1d313c80d9b2447e6624ac738d5ef15c1f66d8d5..a8cd2060dd72bd35f4a71f8512b20efe8e308a89 100755 (executable)
  *
  * Module.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public delegate Status ModuleReload();\r
-    public delegate bool   ModulePause();\r
-    public delegate bool   ModuleResume();\r
-    public delegate bool   ModuleStatus();\r
-    public delegate Status ModuleRuntime();\r
-    public delegate bool   ModuleShutdown();\r
-    public delegate Status ModuleLoad(ref IntPtr module, string name);\r
-\r
-    public delegate void\r
-        ApplicationFunction(\r
-            [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CoreSessionMarshaler))]\r
-            CoreSession session,\r
-            [MarshalAs(UnmanagedType.LPStr)]\r
-            string data);\r
-\r
-    public delegate Status\r
-        ApiFunction(\r
-            [MarshalAs(UnmanagedType.LPStr)]\r
-            string command,\r
-            [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(StreamHandleMarshaler))]\r
-            StreamHandle streamHandle);\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Marshaling;
+
+namespace FreeSwitch.Types
+{
+    public delegate Status ModuleReload();
+    public delegate bool   ModulePause();
+    public delegate bool   ModuleResume();
+    public delegate bool   ModuleStatus();
+    public delegate Status ModuleRuntime();
+    public delegate bool   ModuleShutdown();
+    public delegate Status ModuleLoad(ref IntPtr module, string name);
+
+    public delegate void
+        ApplicationFunction(
+            [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CoreSessionMarshaler))]
+            CoreSession session,
+            [MarshalAs(UnmanagedType.LPStr)]
+            string data);
+
+    public delegate Status
+        ApiFunction(
+            [MarshalAs(UnmanagedType.LPStr)]
+            string command,
+            [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(StreamHandleMarshaler))]
+            StreamHandle streamHandle);
+}
index 5bff3ff0e5dd83f24b47a93604e6010e607d93fe..46022bce7f3a5b6c0ccd75ffe3a13ec43edebf23 100755 (executable)
@@ -34,7 +34,7 @@ using System.Collections;
 using System.Runtime.InteropServices;
 using System.Text;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     /*
     public class ApplicationInterface
@@ -44,26 +44,26 @@ namespace FreeSwitch.NET.Types
            private string long_desc;
            private string short_desc;
            private     string syntax;
-           //const struct switch_application_interface *next;\r
-\r
-        public string InterfaceName\r
-        {\r
-            get { return interface_name; }\r
-        }\r
-\r
-        public ApplicationFunction ApplicationFunction\r
-        {\r
-            get { return application_function; }\r
-        }\r
-\r
-        public string LongDesc\r
-        {\r
-            get { return long_desc; }\r
-        }\r
-\r
-        public string ShortDesc\r
-        {\r
-            get { return short_desc; }\r
+           //const struct switch_application_interface *next;
+
+        public string InterfaceName
+        {
+            get { return interface_name; }
+        }
+
+        public ApplicationFunction ApplicationFunction
+        {
+            get { return application_function; }
+        }
+
+        public string LongDesc
+        {
+            get { return long_desc; }
+        }
+
+        public string ShortDesc
+        {
+            get { return short_desc; }
         }
     }*/
 }
index bc7314b222b8bf5e2fd2e4da941f357c29f1dce2..22e5a00f54af593208aa8498e55b2505c230207f 100755 (executable)
  *
  * Status.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public enum Status\r
-    {\r
-        Success,\r
-        False, \r
-        Timeout,       \r
-        Restart,       \r
-        Terminate,\r
-        NotImplemented,\r
-        MemoryError,   \r
-        NoOp,  \r
-        Resample,      \r
-        GeneralError,  \r
-        InUse,         \r
-        Break \r
-    }\r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum Status
+    {
+        Success,
+        False, 
+        Timeout,       
+        Restart,       
+        Terminate,
+        NotImplemented,
+        MemoryError,   
+        NoOp,  
+        Resample,      
+        GeneralError,  
+        InUse,         
+        Break 
+    }
+}
index 2c7ed33baf1986356673b1237ea77bdc27d01775..72306d607b42a9123864ccacec2dcf4ab76a273f 100755 (executable)
  *
  * StreamHandle.cs -- 
  *
- */\r
-using System;\r
-using System.Runtime.InteropServices;\r
-using FreeSwitch.NET.Marshaling.Types;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public class StreamHandle\r
-    {\r
-        internal HandleRef     marshaledObject;\r
-        internal WriteFunction writeFunction;\r
-\r
-        public void Write(string data)\r
-        {\r
-            StreamHandleMarshal streamHandleMarshal = (StreamHandleMarshal)marshaledObject.Wrapper;\r
-            WriteFunction       writeFunction       = (WriteFunction)Marshal.GetDelegateForFunctionPointer(streamHandleMarshal.write_function, typeof(WriteFunction));\r
-\r
-            writeFunction(this, data);\r
-        }\r
-    }\r
-}\r
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Marshaling.Types;
+
+namespace FreeSwitch.Types
+{
+    public class StreamHandle
+    {
+        internal HandleRef     marshaledObject;
+        internal WriteFunction writeFunction;
+
+        public void Write(string data)
+        {
+            StreamHandleMarshal streamHandleMarshal = (StreamHandleMarshal)marshaledObject.Wrapper;
+            WriteFunction       writeFunction       = (WriteFunction)Marshal.GetDelegateForFunctionPointer(streamHandleMarshal.write_function, typeof(WriteFunction));
+
+            writeFunction(this, data);
+        }
+    }
+}
index 2e45fc1636f999dde8eb7ca14f48bd509ea2cb47..925fb6036190803dd2d34bac342fdd89a267a154 100755 (executable)
  *
  * TextChannel.cs -- 
  *
- */\r
-using System;\r
-\r
-namespace FreeSwitch.NET.Types\r
-{\r
-    public enum TextChannel\r
-    {\r
-        ChannelIdConsole,\r
-        ChannelIdConsoleClean,\r
-        ChannelIdEvent\r
-    }\r
-}\r
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum TextChannel
+    {
+        ChannelIdConsole,
+        ChannelIdConsoleClean,
+        ChannelIdEvent
+    }
+}