mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Merge "app_stream_echo: Don't echo declined streams"
This commit is contained in:
@@ -249,6 +249,11 @@ static struct ast_stream_topology *stream_echo_topology_alloc(
|
||||
continue;
|
||||
}
|
||||
|
||||
if (ast_stream_get_state(stream) == AST_STREAM_STATE_REMOVED) {
|
||||
/* Don't copy removed/declined streams */
|
||||
continue;
|
||||
}
|
||||
|
||||
do {
|
||||
stream = ast_stream_clone(stream, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user