[Freeswitch-svn] [commit] r10469 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Wed Nov 19 14:27:17 PST 2008
Author: anthm
Date: Wed Nov 19 17:27:17 2008
New Revision: 10469
Log:
fix for FSCORE-221
Modified:
freeswitch/trunk/src/switch_core_session.c
Modified: freeswitch/trunk/src/switch_core_session.c
==============================================================================
--- freeswitch/trunk/src/switch_core_session.c (original)
+++ freeswitch/trunk/src/switch_core_session.c Wed Nov 19 17:27:17 2008
@@ -489,7 +489,29 @@
message->_line = 0;
- switch_core_session_kill_channel(session, SWITCH_SIG_BREAK);
+ switch (message->message_id) {
+ case SWITCH_MESSAGE_REDIRECT_AUDIO:
+ case SWITCH_MESSAGE_INDICATE_ANSWER:
+ case SWITCH_MESSAGE_INDICATE_PROGRESS:
+ case SWITCH_MESSAGE_INDICATE_BRIDGE:
+ case SWITCH_MESSAGE_INDICATE_UNBRIDGE:
+ case SWITCH_MESSAGE_INDICATE_TRANSFER:
+ case SWITCH_MESSAGE_INDICATE_RINGING:
+ case SWITCH_MESSAGE_INDICATE_MEDIA:
+ case SWITCH_MESSAGE_INDICATE_NOMEDIA:
+ case SWITCH_MESSAGE_INDICATE_HOLD:
+ case SWITCH_MESSAGE_INDICATE_UNHOLD:
+ case SWITCH_MESSAGE_INDICATE_REDIRECT:
+ case SWITCH_MESSAGE_INDICATE_RESPOND:
+ case SWITCH_MESSAGE_INDICATE_BROADCAST:
+ case SWITCH_MESSAGE_INDICATE_MEDIA_REDIRECT:
+ case SWITCH_MESSAGE_INDICATE_DEFLECT:
+ switch_core_session_kill_channel(session, SWITCH_SIG_BREAK);
+ break;
+ default:
+ break;
+ }
+
switch_core_session_rwunlock(session);
return status;
More information about the Freeswitch-svn
mailing list