]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 27 Nov 2008 02:41:08 +0000 (02:41 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 27 Nov 2008 02:41:08 +0000 (02:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10555 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_channel.c

index 90383b4fe4014248e020c7c2f4615701322a95a1..21d28f0958d96c081bc5356f5858f447f5cadda0 100644 (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;
 }