git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9999 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-10-13 21:17:10 +00:00
parent 42cb2307d4
commit 4c44541e40

View File

@ -868,7 +868,11 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
if (try > 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Originate attempt %d/%d in %d ms\n", try + 1, retries, sleep_ms);
switch_yield(sleep_ms * 1000);
if (caller_channel) {
switch_ivr_sleep(session, sleep_ms, NULL);
} else {
switch_yield(sleep_ms * 1000);
}
}
p = pipe_names[r];
@ -1339,7 +1343,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
switch_size_t mlen, olen;
unsigned int pos = 0;
if (ringback.asis) {
mlen = write_frame.codec->implementation->encoded_bytes_per_frame;
} else {