[Freeswitch-svn] [commit] r1814 - freeswitch/trunk/src
Freeswitch SVN
brian at freeswitch.org
Mon Jul 10 15:51:19 EDT 2006
Author: brian
Date: Mon Jul 10 15:51:19 2006
New Revision: 1814
Modified:
freeswitch/trunk/src/switch_channel.c
Log:
dont pre_answer after actual answer
Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c (original)
+++ freeswitch/trunk/src/switch_channel.c Mon Jul 10 15:51:19 2006
@@ -849,6 +849,10 @@
return SWITCH_STATUS_FALSE;
}
+ if (switch_channel_test_flag(channel, CF_ANSWERED)) {
+ return SWITCH_STATUS_SUCCESS;
+ }
+
msg.message_id = SWITCH_MESSAGE_INDICATE_PROGRESS;
msg.from = channel->name;
status = switch_core_session_message_send(uuid, &msg);
More information about the Freeswitch-svn
mailing list