[Freeswitch-svn] [commit] r8235 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Thu May 1 14:09:05 EDT 2008


Author: anthm
Date: Thu May  1 14:09:05 2008
New Revision: 8235

Modified:
   freeswitch/trunk/src/switch_cpp.cpp

Log:
fix

Modified: freeswitch/trunk/src/switch_cpp.cpp
==============================================================================
--- freeswitch/trunk/src/switch_cpp.cpp	(original)
+++ freeswitch/trunk/src/switch_cpp.cpp	Thu May  1 14:09:05 2008
@@ -320,7 +320,7 @@
 
 	if (session) {
 		channel = switch_core_session_get_channel(session);
-		if (switch_test_flag(this, S_HUP)) {
+		if (switch_test_flag(this, S_HUP) && !switch_channel_test_flag(channel, CF_TRANSFER)) {
 			switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
 		}
 		switch_core_session_rwunlock(session);



More information about the Freeswitch-svn mailing list