twek to endless_playback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15118 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f87a53716e
commit
ee5510c243
|
@ -1922,7 +1922,9 @@ SWITCH_STANDARD_APP(endless_playback_function)
|
|||
const char *file = data;
|
||||
|
||||
while(switch_channel_ready(channel)) {
|
||||
if ((status = switch_ivr_play_file(session, NULL, file, NULL)) == SWITCH_STATUS_NOTFOUND) {
|
||||
status = switch_ivr_play_file(session, NULL, file, NULL);
|
||||
|
||||
if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue