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

FreeSWITCH SVN anthm at freeswitch.org
Wed Nov 26 18:41:08 PST 2008


Author: anthm
Date: Wed Nov 26 21:41:08 2008
New Revision: 10555

Log:
update

Modified:
   freeswitch/trunk/src/switch_channel.c

Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c	(original)
+++ freeswitch/trunk/src/switch_channel.c	Wed Nov 26 21:41:08 2008
@@ -1688,6 +1688,15 @@
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s execute on answer: %s(%s)", channel->name, app, switch_str_nil(arg));
 		switch_core_session_execute_application(channel->session, app, arg);
 	}
+
+
+	if (switch_channel_media_ready(channel)) {
+		switch_core_session_message_t msg;
+		msg.message_id = SWITCH_MESSAGE_INDICATE_AUDIO_SYNC;
+		msg.from = channel->name;
+		switch_core_session_receive_message(channel->session, &msg);
+	}
+
 	return SWITCH_STATUS_SUCCESS;
 }
 



More information about the Freeswitch-svn mailing list