diff options
author | George Joseph <gjoseph@digium.com> | 2017-11-15 11:10:16 -0700 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2017-11-15 15:03:14 -0500 |
commit | 89997cc003dd322100ff0d3ea3764a7dbc1ffe41 (patch) | |
tree | e0312792c61dc8bc37849a2434c7ade7483e5664 /main/plc.c | |
parent | b8fafd6806ab2684d547074b25a56dd152097341 (diff) |
app_record: Don't set RECORD_STATUS chan var until file is closed
We've been calling pbx_builtin_setvar_helper to set the
RECORD_STATUS variable before actually closing the recorded file.
If a client is watching VarSet events and tries to do something with
the file when a RECORD_STATUS event is seen, they might attempt to
do so while the file it's still open.
We now delay calling pbx_builtin_setvar_helper until after we close
the file.
ASTERISK-27423
Change-Id: I7fe9de99953e46b4bafa2b38cf151fe8f6488254
Diffstat (limited to 'main/plc.c')
0 files changed, 0 insertions, 0 deletions