[Freeswitch-svn] [commit] r8788 - freeswitch/trunk/src/mod/languages/mod_mono_managed

Freeswitch SVN michaelgg at freeswitch.org
Sun Jun 8 19:53:09 EDT 2008


Author: michaelgg
Date: Sun Jun  8 19:53:08 2008
New Revision: 8788

Modified:
   freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs

Log:
Default AppFunction to not hanging up main session automatically.


Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs	(original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs	Sun Jun  8 19:53:08 2008
@@ -227,6 +227,7 @@
             if (fType == null) return false;
 
             using (var session = new Native.MonoSession(new Native.SWIGTYPE_p_switch_core_session(sessionHandle, false))) {
+                session.setAutoHangup(false);
                 try {
                     var f = (AppFunction)Activator.CreateInstance(fType);
                     f.RunInternal(session, args);



More information about the Freeswitch-svn mailing list