[Freeswitch-svn] [commit] r2720 - in freeswitch/trunk/src/dotnet: . Marshaling Marshaling/Types Modules Switch Types

Freeswitch SVN james at freeswitch.org
Sat Sep 16 23:30:32 EDT 2006


Author: james
Date: Sat Sep 16 23:30:31 2006
New Revision: 2720

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

Log:
Changed namespace.


Modified: freeswitch/trunk/src/dotnet/Makefile
==============================================================================
--- freeswitch/trunk/src/dotnet/Makefile	(original)
+++ freeswitch/trunk/src/dotnet/Makefile	Sat Sep 16 23:30:31 2006
@@ -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 @@
 	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 @@
 	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 @@
 	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/

Modified: freeswitch/trunk/src/dotnet/Marshaling/BufferMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/BufferMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/BufferMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -31,10 +31,10 @@
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling.Types;
-using FreeSwitch.NET.Types;
+using FreeSwitch.Marshaling.Types;
+using FreeSwitch.Types;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class BufferMarshaler : ICustomMarshaler
     {
@@ -60,14 +60,14 @@
 
         public IntPtr MarshalManagedToNative(object obj)
         {
-            FreeSwitch.NET.Types.Buffer buffer = (FreeSwitch.NET.Types.Buffer)obj;
+            FreeSwitch.Types.Buffer buffer = (FreeSwitch.Types.Buffer)obj;
 
             return buffer.marshaledObject.Handle;
         }
 
         public object MarshalNativeToManaged(IntPtr bufferPtr)
         {
-            FreeSwitch.NET.Types.Buffer buffer        = new FreeSwitch.NET.Types.Buffer();
+            FreeSwitch.Types.Buffer buffer        = new FreeSwitch.Types.Buffer();
             BufferMarshal           bufferMarshal = new BufferMarshal();
 
             Marshal.PtrToStructure(bufferPtr, bufferMarshal);

Modified: freeswitch/trunk/src/dotnet/Marshaling/CallerExtensionMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/CallerExtensionMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/CallerExtensionMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CallerExtensionMarshaler.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CallerExtensionMarshaler.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class CallerExtensionMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/CallerProfileMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/CallerProfileMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/CallerProfileMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CallerProfileMarshaler.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CallerProfileMarshaler.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class CallerProfileMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/ChannelMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/ChannelMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/ChannelMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * ChannelMarshaler.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * ChannelMarshaler.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class ChannelMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/ChannelTimetableMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/ChannelTimetableMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/ChannelTimetableMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * ChannelTimetableMarshaler.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * ChannelTimetableMarshaler.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class ChannelTimetableMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/CoreSessionMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/CoreSessionMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/CoreSessionMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CoreSessionMarshaler.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CoreSessionMarshaler.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class CoreSessionMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/EventMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/EventMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/EventMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -1,41 +1,41 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * EventMarshaler.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * EventMarshaler.cs -- 
+ *
  */
 using System;
 using System.Collections;
-using FreeSwitch.NET.Marshaling.Types;
-using FreeSwitch.NET.Types;
+using FreeSwitch.Marshaling.Types;
+using FreeSwitch.Types;
 using System.Runtime.InteropServices;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class EventMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/FileHandleMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/FileHandleMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/FileHandleMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * FileHandleMarshaler.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * FileHandleMarshaler.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class FileHandleMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/MemoryPoolMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/MemoryPoolMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/MemoryPoolMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * MemoryPoolMarshaler.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * MemoryPoolMarshaler.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class MemoryPoolMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/StreamHandleMarshaler.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/StreamHandleMarshaler.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/StreamHandleMarshaler.cs	Sat Sep 16 23:30:31 2006
@@ -31,11 +31,11 @@
  */
 using System;
 using System.Collections;
-using FreeSwitch.NET.Marshaling.Types;
-using FreeSwitch.NET.Types;
+using FreeSwitch.Marshaling.Types;
+using FreeSwitch.Types;
 using System.Runtime.InteropServices;
 
-namespace FreeSwitch.NET.Marshaling
+namespace FreeSwitch.Marshaling
 {
     class StreamHandleMarshaler : ICustomMarshaler
     {

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/ApiInterfaceMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/ApiInterfaceMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/ApiInterfaceMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,21 +28,21 @@
  *
  * ApiInterfaceMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/ApplicationInterfaceMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/ApplicationInterfaceMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/ApplicationInterfaceMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,25 +28,25 @@
  *
  * ApplicationInterfaceMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-    }
+ */
+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

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/BufferMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/BufferMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/BufferMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,19 +28,19 @@
  *
  * BufferMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-
-namespace FreeSwitch.NET.Marshaling.Types
-{
-    [StructLayout(LayoutKind.Sequential)]
-    internal class BufferMarshal
-    {
-        [MarshalAs(UnmanagedType.LPStr)]
-        internal string data;
-        internal int    used;
-        internal int    datalen;
-        internal UInt32 id;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/CallerExtensionMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/CallerExtensionMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/CallerExtensionMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,19 +28,19 @@
  *
  * CallerExtensionMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/CallerProfileMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/CallerProfileMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/CallerProfileMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -1,38 +1,38 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CallerProfileMarshal.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CallerProfileMarshal.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
 
-namespace FreeSwitch.NET.Marshaling.Types
+namespace FreeSwitch.Marshaling.Types
 {
     [StructLayout(LayoutKind.Sequential)]
     internal class CallerProfileMarshal

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelFlagMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelFlagMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelFlagMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,19 +28,19 @@
  *
  * ChannelFlagMarshal.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Marshaling.Types
-{
-    internal enum ChannelFlagMarshal
-    {
-        CF_SEND_AUDIO,
-        CF_RECV_AUDIO,
-        CF_ANSWERED,
-        CF_OUTBOUND,
-        CF_EARLY_MEDIA,
-        CF_ORIGINATOR,
-        CF_TRANSFER
-    }
-}
+ */
+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
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -1,39 +1,39 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * ChannelMarshal.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * ChannelMarshal.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
+using FreeSwitch.Types;
 
-namespace FreeSwitch.NET.Marshaling.Types
+namespace FreeSwitch.Marshaling.Types
 {
     [StructLayout(LayoutKind.Sequential)]
     internal class ChannelMarshal

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelStateMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelStateMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelStateMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,20 +28,20 @@
  *
  * ChannelStateMarshal.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Marshaling.Types
-{
-    internal enum ChannelStateMarshal
-    {
-        CS_NEW,
-        CS_INIT,
-        CS_RING,
-        CS_TRANSMIT,
-        CS_EXECUTE,
-        CS_LOOPBACK,
-        CS_HANGUP,
-        CS_DONE 
-    }
-}
+ */
+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 
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelTimetableMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelTimetableMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/ChannelTimetableMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,17 +28,17 @@
  *
  * ChannelTimetableMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-
-namespace FreeSwitch.NET.Marshaling.Types
-{
-    [StructLayout(LayoutKind.Sequential)]
-    internal class ChannelTimetableMarshal
-    {
-        internal Int64 created;
-        internal Int64 answered;
-        internal Int64 hungup;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/CodecImplementationMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/CodecImplementationMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/CodecImplementationMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,27 +28,27 @@
  *
  * CodecImplementationMarshal.cs -- 
  *
- */
-using System;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/CodecInterfaceMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/CodecInterfaceMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/CodecInterfaceMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,36 +28,36 @@
  *
  * CodecInterfaceMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-}
-
-
+ */
+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;
-};*/
-    }
+};*/
+    }
 }
\ No newline at end of file

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/CodecMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/CodecMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/CodecMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,19 +28,19 @@
  *
  * CodecMarshal.cs -- 
  *
- */
-using System;
-using System.Text;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/CodecTypeMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/CodecTypeMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/CodecTypeMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,16 +28,16 @@
  *
  * CodecTypeMarshal.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Marshaling.Types
-{
-    internal enum CodecTypesMarshal
-    {
-        SWITCH_CODEC_TYPE_AUDIO,
-        SWITCH_CODEC_TYPE_VIDEO,
-        SWITCH_CODEC_TYPE_T38,
-        SWITCH_CODEC_TYPE_APP
-    }
-}
+ */
+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
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/CoreSessionMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/CoreSessionMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/CoreSessionMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,41 +28,41 @@
  *
  * CoreSessionMarshal.cs -- 
  *
- */
-using System;
-using System.Text;
-using System.Runtime.InteropServices;
-
-namespace FreeSwitch.NET.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;
+ */
+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 @@
         internal int                 stream_count;
         /* 36 + 1 char string, but need to grab 40 bytes */
         [MarshalAs(UnmanagedType.ByValArray, SizeConst=40)]
-        internal byte[]              uuid_str;
+        internal byte[]              uuid_str;
         internal IntPtr              private_info;
         internal IntPtr              event_queue;
-    }
-}
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/EventMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/EventMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/EventMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,32 +28,32 @@
  *
  * EventMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/FileHandleMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/FileHandleMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/FileHandleMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,30 +28,30 @@
  *
  * FileHandleMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-
-namespace FreeSwitch.NET.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;
-    }
-
-}
+ */
+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;
+    }
+
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/FrameMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/FrameMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/FrameMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,27 +28,27 @@
  *
  * FrameMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/IOEventHooksMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/IOEventHooksMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/IOEventHooksMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,24 +28,24 @@
  *
  * IOEventHooksMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/LoadableModuleInterfaceMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/LoadableModuleInterfaceMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/LoadableModuleInterfaceMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,25 +28,25 @@
  *
  * LoadableModuleInterfaceMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/LoadableModuleMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/LoadableModuleMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/LoadableModuleMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,27 +28,27 @@
  *
  * LoadableModuleMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/StreamHandleMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/StreamHandleMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/StreamHandleMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,21 +28,21 @@
  *
  * StreamHandleMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.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;
-    }
-}
+ */
+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;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Marshaling/Types/TypesMarshal.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Marshaling/Types/TypesMarshal.cs	(original)
+++ freeswitch/trunk/src/dotnet/Marshaling/Types/TypesMarshal.cs	Sat Sep 16 23:30:31 2006
@@ -28,18 +28,18 @@
  *
  * TypesMarshal.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-
-namespace FreeSwitch.NET.Marshaling.Types
-{
-    public delegate
-        Status DtmfCallbackFunctionMarshal(
-            [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CoreSessionMarshaler))]
-            CoreSession session,
-            string dtmf,
-            IntPtr buf,
-            uint buflen);
-}
+ */
+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);
+}

Modified: freeswitch/trunk/src/dotnet/Module.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Module.cs	(original)
+++ freeswitch/trunk/src/dotnet/Module.cs	Sat Sep 16 23:30:31 2006
@@ -1,50 +1,50 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * Module.cs -- 
- *
- */
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * Module.cs -- 
+ *
+ */
 using System;
 using System.Collections;
 using System.Reflection;
 using System.Runtime.InteropServices;
 using System.Text;
 using FreeSwitch.NET;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Modules;
-using FreeSwitch.NET.Marshaling.Types;
-
-namespace FreeSwitch.NET
-{
+using FreeSwitch.Types;
+using FreeSwitch.Modules;
+using FreeSwitch.Marshaling.Types;
+
+namespace FreeSwitch.NET
+{
     /// <summary>
     /// Base class for all Freeswitch.NET modules
-    /// </summary>
-    /// <example>
+    /// </summary>
+    /// <example>
     /// public class Example : Module
     /// {
     ///     public Example()
@@ -54,9 +54,9 @@
     ///                  
     ///         Register();
     ///     }    
-    /// }
-    /// </example>
-	public class Module
+    /// }
+    /// </example>
+	public class Module
 	{
         private LoadableModuleInterfaceMarshal module_interface = new LoadableModuleInterfaceMarshal();
         private LoadableModuleMarshal          module           = new LoadableModuleMarshal();
@@ -71,19 +71,19 @@
         /// <summary>
         /// Module constructor
         /// </summary>
-		public Module()
+		public Module()
 		{
-            Console.WriteLine("*** Creating new module object");
-
-            load = new ModuleLoad(Load);
-		}
-
+            Console.WriteLine("*** Creating new module object");
+
+            load = new ModuleLoad(Load);
+		}
+
         /// <summary>
         /// Implementation of ModuleLoad Delegate
         /// </summary>
         /// <param name="module"></param>
         /// <param name="name"></param>
-        /// <returns></returns>
+        /// <returns></returns>
         public Status Load(ref IntPtr module, string name)
         {
             /* Allocate some unmanaged mem for the ModuleInterface */
@@ -110,13 +110,13 @@
             Marshal.StructureToPtr(module_interface, module, true);
                         
             return Status.Success;
-        }
-
+        }
+
         /// <summary>
         /// AddApiInterface
         /// </summary>
-        /// <param name="apiInterface"></param>
-        public void AddApiInterface(Api apiInterface)
+        /// <param name="apiInterface"></param>
+        public void AddApiInterface(Api apiInterface)
         {
             /* Create a new ApiInterface type and allocate unmanaged mem */
             ApiInterfaceMarshal apiInterfaceMarshal = new ApiInterfaceMarshal();
@@ -185,21 +185,21 @@
 
             /* Finally, add our new interface to the array */
             applicationInterfaces.Add(applicationInterface);
-        }
-
+        }
+
         /// <summary>
         /// Register
-        /// </summary>
-        public void Register()
+        /// </summary>
+        public void Register()
         {
             module.module_load = new ModuleLoad(Load);
 
-            Switch.switch_loadable_module_build_dynamic(filename,
-                                                        module.module_load,
-                                                        module.module_runtime,
-                                                        module.module_shutdown);
+            Switch.switch_loadable_module_build_dynamic(filename,
+                                                        module.module_load,
+                                                        module.module_runtime,
+                                                        module.module_shutdown);
         }
 
-        
-	}
-}	
+        
+	}
+}	

Modified: freeswitch/trunk/src/dotnet/Modules/Api.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Modules/Api.cs	(original)
+++ freeswitch/trunk/src/dotnet/Modules/Api.cs	Sat Sep 16 23:30:31 2006
@@ -1,41 +1,41 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * Api.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * Api.cs -- 
+ *
  */
 using System;
 using System.Collections;
 using System.Text;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
+using FreeSwitch.Types;
 
-namespace FreeSwitch.NET.Modules
+namespace FreeSwitch.Modules
 {
     public class Api
     {

Modified: freeswitch/trunk/src/dotnet/Modules/Application.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Modules/Application.cs	(original)
+++ freeswitch/trunk/src/dotnet/Modules/Application.cs	Sat Sep 16 23:30:31 2006
@@ -1,43 +1,43 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * Application.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * Application.cs -- 
+ *
  */
 using System;
 using System.Collections;
 using System.Text;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Marshaling;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Modules
+namespace FreeSwitch.Modules
 {
     public class Application
     {

Modified: freeswitch/trunk/src/dotnet/Switch/CallerProfile.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Switch/CallerProfile.cs	(original)
+++ freeswitch/trunk/src/dotnet/Switch/CallerProfile.cs	Sat Sep 16 23:30:31 2006
@@ -1,42 +1,42 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CallerProfile.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CallerProfile.cs -- 
+ *
  */
 using System;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET
+namespace FreeSwitch
 {
     public partial class Switch
     {

Modified: freeswitch/trunk/src/dotnet/Switch/Channel.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Switch/Channel.cs	(original)
+++ freeswitch/trunk/src/dotnet/Switch/Channel.cs	Sat Sep 16 23:30:31 2006
@@ -1,41 +1,41 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * Channel.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * Channel.cs -- 
+ *
  */
 using System;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling;
 
-namespace FreeSwitch.NET
+namespace FreeSwitch
 {
     public partial class Switch
     {
@@ -60,14 +60,14 @@
 
         [DllImport("freeswitch")]
         public extern static
-            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(
+                [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(ChannelMarshaler))]
+                Channel channel,
+                [MarshalAs(UnmanagedType.LPStr)]
+                string file,
+                [MarshalAs(UnmanagedType.LPStr)]
+                string func,
+                int line,
                 CallCause hangup_cause);
 
         [DllImport("freeswitch")]

Modified: freeswitch/trunk/src/dotnet/Switch/Console.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Switch/Console.cs	(original)
+++ freeswitch/trunk/src/dotnet/Switch/Console.cs	Sat Sep 16 23:30:31 2006
@@ -34,7 +34,7 @@
 using System.Diagnostics;
 using System.Text;
 
-namespace FreeSwitch.NET
+namespace FreeSwitch
 {
 	public partial class Switch
 	{

Modified: freeswitch/trunk/src/dotnet/Switch/CoreSession.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Switch/CoreSession.cs	(original)
+++ freeswitch/trunk/src/dotnet/Switch/CoreSession.cs	Sat Sep 16 23:30:31 2006
@@ -1,41 +1,41 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CoreSession.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CoreSession.cs -- 
+ *
  */
 using System;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling;
 
-namespace FreeSwitch.NET
+namespace FreeSwitch
 {
     public partial class Switch
     {

Modified: freeswitch/trunk/src/dotnet/Switch/Ivr.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Switch/Ivr.cs	(original)
+++ freeswitch/trunk/src/dotnet/Switch/Ivr.cs	Sat Sep 16 23:30:31 2006
@@ -1,42 +1,42 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * Ivr.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * Ivr.cs -- 
+ *
  */
 using System;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET
+namespace FreeSwitch
 {
     public partial class Switch
     {

Modified: freeswitch/trunk/src/dotnet/Switch/LoadableModule.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Switch/LoadableModule.cs	(original)
+++ freeswitch/trunk/src/dotnet/Switch/LoadableModule.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * LoadableModule.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * LoadableModule.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET
+namespace FreeSwitch
 {
     /*
      * SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)

Modified: freeswitch/trunk/src/dotnet/Switch/StreamHandle.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Switch/StreamHandle.cs	(original)
+++ freeswitch/trunk/src/dotnet/Switch/StreamHandle.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * LoadableModule.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * LoadableModule.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Types;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET
+namespace FreeSwitch
 {
     /*
      * SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)

Modified: freeswitch/trunk/src/dotnet/Types/ApplicationFunction.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/ApplicationFunction.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/ApplicationFunction.cs	Sat Sep 16 23:30:31 2006
@@ -28,10 +28,10 @@
  *
  * ApplicationFunction.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Types
-{
-    
-}
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    
+}

Modified: freeswitch/trunk/src/dotnet/Types/ApplicationInterface.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/ApplicationInterface.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/ApplicationInterface.cs	Sat Sep 16 23:30:31 2006
@@ -34,7 +34,7 @@
 using System.Runtime.InteropServices;
 using System.Text;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     /*
     public class ApplicationInterface

Modified: freeswitch/trunk/src/dotnet/Types/Buffer.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/Buffer.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/Buffer.cs	Sat Sep 16 23:30:31 2006
@@ -28,29 +28,29 @@
  *
  * Buffer.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-
-namespace FreeSwitch.NET.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(); }
-        }
-    }
-}
+ */
+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(); }
+        }
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Types/CallCause.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/CallCause.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/CallCause.cs	Sat Sep 16 23:30:31 2006
@@ -1,37 +1,37 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CallCause.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CallCause.cs -- 
+ *
  */
 using System;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     public enum CallCause
     {

Modified: freeswitch/trunk/src/dotnet/Types/CallerExtension.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/CallerExtension.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/CallerExtension.cs	Sat Sep 16 23:30:31 2006
@@ -1,39 +1,39 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CallerExtension.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CallerExtension.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     public class CallerExtension
     {

Modified: freeswitch/trunk/src/dotnet/Types/CallerProfile.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/CallerProfile.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/CallerProfile.cs	Sat Sep 16 23:30:31 2006
@@ -1,39 +1,39 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CallerProfile.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CallerProfile.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     public class CallerProfile
     {

Modified: freeswitch/trunk/src/dotnet/Types/Channel.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/Channel.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/Channel.cs	Sat Sep 16 23:30:31 2006
@@ -1,63 +1,63 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * Channel.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * Channel.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     /*
-     * 	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;
+	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;
 	int kbps;
      */
     public class Channel

Modified: freeswitch/trunk/src/dotnet/Types/ChannelFlag.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/ChannelFlag.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/ChannelFlag.cs	Sat Sep 16 23:30:31 2006
@@ -28,19 +28,19 @@
  *
  * ChannelFlag.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Types
-{
-    public enum ChannelFlag
-    {
-        CF_SEND_AUDIO,
-        CF_RECV_AUDIO,
-        CF_ANSWERED,
-        CF_OUTBOUND,
-        CF_EARLY_MEDIA,
-        CF_ORIGINATOR,
-        CF_TRANSFER
-    }
-}
+ */
+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
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Types/ChannelState.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/ChannelState.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/ChannelState.cs	Sat Sep 16 23:30:31 2006
@@ -28,20 +28,20 @@
  *
  * ChannelState.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Types
-{
-    public enum ChannelState
-    {
-        CS_NEW,
-        CS_INIT,
-        CS_RING,
-        CS_TRANSMIT,
-        CS_EXECUTE,
-        CS_LOOPBACK,
-        CS_HANGUP,
-        CS_DONE 
-    }
-}
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum ChannelState
+    {
+        CS_NEW,
+        CS_INIT,
+        CS_RING,
+        CS_TRANSMIT,
+        CS_EXECUTE,
+        CS_LOOPBACK,
+        CS_HANGUP,
+        CS_DONE 
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Types/ChannelTimetable.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/ChannelTimetable.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/ChannelTimetable.cs	Sat Sep 16 23:30:31 2006
@@ -28,29 +28,29 @@
  *
  * ChannelTimetable.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-
-namespace FreeSwitch.NET.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(); }
-        }
-    }
-}
+ */
+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(); }
+        }
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Types/CoreSession.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/CoreSession.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/CoreSession.cs	Sat Sep 16 23:30:31 2006
@@ -1,80 +1,80 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * CoreSession.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * CoreSession.cs -- 
+ *
  */
 using System;
 using System.Collections;
 using System.Runtime.InteropServices;
 using System.Text;
-using FreeSwitch.NET.Marshaling.Types;
+using FreeSwitch.Marshaling.Types;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     /*
-     * 	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;
+	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;
 	switch_queue_t *event_queue;
      */
     public class CoreSession

Modified: freeswitch/trunk/src/dotnet/Types/DtmfCallbackFunction.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/DtmfCallbackFunction.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/DtmfCallbackFunction.cs	Sat Sep 16 23:30:31 2006
@@ -28,10 +28,10 @@
  *
  * DtmfCallbackFunction.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Types
-{
-    public delegate Status DtmfCallbackFunction(CoreSession session, string dtmf);
-}
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public delegate Status DtmfCallbackFunction(CoreSession session, string dtmf);
+}

Modified: freeswitch/trunk/src/dotnet/Types/Event.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/Event.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/Event.cs	Sat Sep 16 23:30:31 2006
@@ -1,40 +1,40 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * Event.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * Event.cs -- 
+ *
  */
 using System;
 using System.Collections;
 using System.Text;
 using System.Runtime.InteropServices;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     public enum Priority
     {

Modified: freeswitch/trunk/src/dotnet/Types/FileHandle.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/FileHandle.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/FileHandle.cs	Sat Sep 16 23:30:31 2006
@@ -28,15 +28,15 @@
  *
  * FileHandle.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling.Types;
-
-namespace FreeSwitch.NET.Types
-{
-    public class FileHandle
-    {
-        internal HandleRef marshaledObject;
-    }
-}
+ */
+using System;
+using System.Runtime.InteropServices;
+using FreeSwitch.Marshaling.Types;
+
+namespace FreeSwitch.Types
+{
+    public class FileHandle
+    {
+        internal HandleRef marshaledObject;
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Types/InputCallbackFunction.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/InputCallbackFunction.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/InputCallbackFunction.cs	Sat Sep 16 23:30:31 2006
@@ -28,20 +28,20 @@
  *
  * DtmfCallbackFunction.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling;
-
-namespace FreeSwitch.NET.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);
-}
+ */
+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);
+}

Modified: freeswitch/trunk/src/dotnet/Types/InputType.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/InputType.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/InputType.cs	Sat Sep 16 23:30:31 2006
@@ -28,14 +28,14 @@
  *
  * ChannelState.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Types
-{
-    public enum InputType
-    {
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum InputType
+    {
 	    INPUT_TYPE_DTMF,
 	    INPUT_TYPE_EVENT
-    }
-}
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Types/LoadableModule.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/LoadableModule.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/LoadableModule.cs	Sat Sep 16 23:30:31 2006
@@ -1,38 +1,38 @@
-/* 
- * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
- * Portions created by the Initial Developer are Copyright (C)
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * 
- * James Martelletti <james at nerdc0re.com>
- *
- *
- * Channel.cs -- 
- *
+/* 
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2006, James Martelletti <james at 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 at nerdc0re.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * 
+ * James Martelletti <james at nerdc0re.com>
+ *
+ *
+ * Channel.cs -- 
+ *
  */
 using System;
 using System.Runtime.InteropServices;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     public class LoadableModule
     {

Modified: freeswitch/trunk/src/dotnet/Types/LoadableModuleInterface.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/LoadableModuleInterface.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/LoadableModuleInterface.cs	Sat Sep 16 23:30:31 2006
@@ -28,34 +28,34 @@
  *
  * LoadableModuleInterfaces.cs -- 
  *
- */
-using System;
-using System.Collections;
-using System.Runtime.InteropServices;
-using System.Text;
-using FreeSwitch.NET.Marshaling;
-
-namespace FreeSwitch.NET.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;
-    }
+ */
+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;
+    }
 }

Modified: freeswitch/trunk/src/dotnet/Types/MemoryPool.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/MemoryPool.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/MemoryPool.cs	Sat Sep 16 23:30:31 2006
@@ -1,7 +1,7 @@
 using System;
 using System.Runtime.InteropServices;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     public class MemoryPool
     {

Modified: freeswitch/trunk/src/dotnet/Types/Module.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/Module.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/Module.cs	Sat Sep 16 23:30:31 2006
@@ -28,32 +28,32 @@
  *
  * Module.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling;
-
-namespace FreeSwitch.NET.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);
-}
+ */
+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);
+}

Modified: freeswitch/trunk/src/dotnet/Types/ModuleInterfaces.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/ModuleInterfaces.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/ModuleInterfaces.cs	Sat Sep 16 23:30:31 2006
@@ -34,7 +34,7 @@
 using System.Runtime.InteropServices;
 using System.Text;
 
-namespace FreeSwitch.NET.Types
+namespace FreeSwitch.Types
 {
     /*
     public class ApplicationInterface
@@ -44,26 +44,26 @@
 	    private string long_desc;
 	    private string short_desc;
 	    private	string syntax;
-	    //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; }
+	    //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; }
         }
     }*/
 }

Modified: freeswitch/trunk/src/dotnet/Types/Status.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/Status.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/Status.cs	Sat Sep 16 23:30:31 2006
@@ -28,24 +28,24 @@
  *
  * Status.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Types
-{
-    public enum Status
-    {
-        Success,
-        False,	
-        Timeout, 	
-        Restart,	
-        Terminate,
-        NotImplemented,
-        MemoryError, 	
-        NoOp, 	
-        Resample, 	
-        GeneralError, 	
-        InUse, 	
-        Break 
-    }
-}
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum Status
+    {
+        Success,
+        False,	
+        Timeout, 	
+        Restart,	
+        Terminate,
+        NotImplemented,
+        MemoryError, 	
+        NoOp, 	
+        Resample, 	
+        GeneralError, 	
+        InUse, 	
+        Break 
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Types/StreamHandle.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/StreamHandle.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/StreamHandle.cs	Sat Sep 16 23:30:31 2006
@@ -28,24 +28,24 @@
  *
  * StreamHandle.cs -- 
  *
- */
-using System;
-using System.Runtime.InteropServices;
-using FreeSwitch.NET.Marshaling.Types;
-
-namespace FreeSwitch.NET.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);
-        }
-    }
-}
+ */
+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);
+        }
+    }
+}

Modified: freeswitch/trunk/src/dotnet/Types/TextChannel.cs
==============================================================================
--- freeswitch/trunk/src/dotnet/Types/TextChannel.cs	(original)
+++ freeswitch/trunk/src/dotnet/Types/TextChannel.cs	Sat Sep 16 23:30:31 2006
@@ -28,15 +28,15 @@
  *
  * TextChannel.cs -- 
  *
- */
-using System;
-
-namespace FreeSwitch.NET.Types
-{
-    public enum TextChannel
-    {
-        ChannelIdConsole,
-        ChannelIdConsoleClean,
-        ChannelIdEvent
-    }
-}
+ */
+using System;
+
+namespace FreeSwitch.Types
+{
+    public enum TextChannel
+    {
+        ChannelIdConsole,
+        ChannelIdConsoleClean,
+        ChannelIdEvent
+    }
+}



More information about the Freeswitch-svn mailing list