mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-03 14:56:17 +00:00
FS-7656 skip main file as well as chime file when hup is called during chime
This commit is contained in:
parent
4980389bc0
commit
f107ea54a8
@ -358,10 +358,10 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
|
|||||||
flush_video_queue(source->video_q);
|
flush_video_queue(source->video_q);
|
||||||
if (use_fh == &source->chime_fh) {
|
if (use_fh == &source->chime_fh) {
|
||||||
source->chime_counter = source->rate * source->chime_freq;
|
source->chime_counter = source->rate * source->chime_freq;
|
||||||
use_fh = &fh;
|
switch_core_file_close(&fh);
|
||||||
goto retry;
|
use_fh = &fh;
|
||||||
//switch_core_file_close(&fh);
|
|
||||||
}
|
}
|
||||||
|
goto retry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user