via: 69d1d984feff8bf616ba8a0c7c921ccfe07d3b16 (commit)
from: 62d000ed20305dcccefd5ac8b9ddbb40016e879b (commit)
= COMMIT LOG ===========================================================
committer: Anthony Minessale
comments:
sleep 2 seconds on confernece outcall at the end to prevent auto-answer race
diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c
index 71ed1ed..35412af 100644
--- a/src/mod/applications/mod_conference/mod_conference.c
+++ b/src/mod/applications/mod_conference/mod_conference.c
@@ -1396,6 +1396,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
if (switch_test_flag(conference, CFLAG_OUTCALL)) {
conference->cancel_cause = SWITCH_CAUSE_ORIGINATOR_CANCEL;
+ switch_yield(2000000);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Ending pending outcall channels for Conference: '%s'\n", conference->name);
while(conference->originating) {
switch_yield(200000);
Summary of changes: .../applications/mod_conference/mod_conference.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630
--
FreeSWITCH Source