提交 66948098 authored 作者: Michael Giagnocavo's avatar Michael Giagnocavo

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
上级 aa4d0fec
...@@ -227,6 +227,7 @@ namespace FreeSWITCH ...@@ -227,6 +227,7 @@ namespace FreeSWITCH
if (fType == null) return false; if (fType == null) return false;
using (var session = new Native.MonoSession(new Native.SWIGTYPE_p_switch_core_session(sessionHandle, false))) { using (var session = new Native.MonoSession(new Native.SWIGTYPE_p_switch_core_session(sessionHandle, false))) {
session.setAutoHangup(false);
try { try {
var f = (AppFunction)Activator.CreateInstance(fType); var f = (AppFunction)Activator.CreateInstance(fType);
f.RunInternal(session, args); f.RunInternal(session, args);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论