Default AppFunction to not hanging up main session automatically.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8788 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Giagnocavo 2008-06-08 23:53:08 +00:00
parent aa4d0fec93
commit 66948098d8
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@ namespace FreeSWITCH
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);