mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-18 10:11:56 +00:00
MODAPP-280
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13382 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -860,7 +860,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
|
||||
char *argv[128] = { 0 };
|
||||
int argc;
|
||||
int cur;
|
||||
|
||||
int done = 0;
|
||||
|
||||
switch_core_session_get_read_impl(session, &read_impl);
|
||||
|
||||
if ((play_delimiter_val = switch_channel_get_variable(channel, "playback_delimiter"))) {
|
||||
@@ -898,7 +899,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
|
||||
argv[0] = (char *)file;
|
||||
}
|
||||
|
||||
for(cur = 0; switch_channel_ready(channel) && cur < argc; cur++) {
|
||||
for(cur = 0; switch_channel_ready(channel) && !done && cur < argc; cur++) {
|
||||
file = argv[cur];
|
||||
asis = 0;
|
||||
eof = 0;
|
||||
@@ -1125,7 +1126,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
|
||||
ilen = samples;
|
||||
|
||||
for (;;) {
|
||||
int done = 0;
|
||||
int do_speed = 1;
|
||||
int last_speed = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user