Skip to content
Snippets Groups Projects
Commit 91b4a30b authored by Jeff Peeler's avatar Jeff Peeler
Browse files

(closes issue #13669)

Reported by: pj

Delete file recording if recording terminated from a hangup.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 2e59fce6
No related branches found
No related tags found
No related merge requests found
......@@ -356,6 +356,7 @@ static int record_exec(struct ast_channel *chan, void *data)
if (!f) {
ast_debug(1, "Got hangup\n");
res = -1;
ast_filedelete(args.filename, NULL);
}
if (gotsilence) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment