mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ast_stream_get_state(stream) == AST_STREAM_STATE_REMOVED) {
|
||||||
|
/* Don't copy removed/declined streams */
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
stream = ast_stream_clone(stream, NULL);
|
stream = ast_stream_clone(stream, NULL);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user