aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_chanspy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_chanspy.c')
-rw-r--r--apps/app_chanspy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c
index 7510c68e9..34db4f7be 100644
--- a/apps/app_chanspy.c
+++ b/apps/app_chanspy.c
@@ -432,6 +432,8 @@ static int chanspy_exec(struct ast_channel *chan, void *data)
volfactor = vol;
}
}
+ else
+ ast_clear_flag(&flags, AST_FLAGS_ALL);
if (recbase) {
char filename[512];