git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7972 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-03-27 20:36:03 +00:00
parent da72bfb9f6
commit ecece5885f
6 changed files with 25 additions and 13 deletions
+4 -1
View File
@@ -160,7 +160,10 @@ static void switch_core_standard_on_execute(switch_core_session_t *session)
} else if (!switch_test_flag(application_interface, SAF_SUPPORT_NOMEDIA) && !switch_channel_media_ready(session->channel)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Application %s Requires media! pre_answering channel %s\n",
extension->current_application->application_name, switch_channel_get_name(session->channel));
switch_channel_pre_answer(session->channel);
if (switch_channel_pre_answer(session->channel) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Well, that didn't work very well did it? ...\n");
return;
}
}
if ((expanded =