git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10555 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-27 02:41:08 +00:00
parent 0820d565af
commit 1576530c3e

View File

@ -1688,6 +1688,15 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_mark_answered(switch_chan
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;
}