freeswitch
freeswitch copied to clipboard
[Core] Delete recording files if media bug creation fails
The recording file is created before media bug is added.
If media_bug creation fails, empty files will not be deleted and the RECORD_MIN_SEC
parameter will not take effect.
So this PR puts the file deletion into record_helper_destroy
.