mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "res_stasis: Add control ref to playback and recording structs." into 13
This commit is contained in:
@@ -1179,6 +1179,11 @@ int stasis_app_control_is_done(struct stasis_app_control *control)
|
||||
return control_is_done(control);
|
||||
}
|
||||
|
||||
void stasis_app_control_flush_queue(struct stasis_app_control *control)
|
||||
{
|
||||
control_flush_queue(control);
|
||||
}
|
||||
|
||||
struct ast_datastore_info set_end_published_info = {
|
||||
.type = "stasis_end_published",
|
||||
};
|
||||
@@ -1371,6 +1376,8 @@ int stasis_app_exec(struct ast_channel *chan, const char *app_name, int argc,
|
||||
remove_stasis_end_published(chan);
|
||||
}
|
||||
|
||||
control_flush_queue(control);
|
||||
|
||||
/* Stop any lingering silence generator */
|
||||
control_silence_stop_now(control);
|
||||
|
||||
|
Reference in New Issue
Block a user