summaryrefslogtreecommitdiff
path: root/main/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index e37d66525..dbf235499 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -10909,7 +10909,8 @@ enum ast_channel_error ast_channel_errno(void)
return ast_channel_internal_errno();
}
-int ast_channel_request_stream_topology_change(struct ast_channel *chan, struct ast_stream_topology *topology)
+int ast_channel_request_stream_topology_change(struct ast_channel *chan,
+ struct ast_stream_topology *topology, void *change_source)
{
ast_assert(chan != NULL);
ast_assert(topology != NULL);
@@ -10918,6 +10919,8 @@ int ast_channel_request_stream_topology_change(struct ast_channel *chan, struct
return -1;
}
+ ast_channel_internal_set_stream_topology_change_source(chan, change_source);
+
return ast_channel_tech(chan)->indicate(chan, AST_CONTROL_STREAM_TOPOLOGY_REQUEST_CHANGE, topology, sizeof(topology));
}