diff --git a/main/manager.c b/main/manager.c index 3cd884a97c..69bfd8e5d3 100644 --- a/main/manager.c +++ b/main/manager.c @@ -7229,6 +7229,13 @@ static int action_coreshowchannelmap(struct mansession *s, const struct message return 0; } + if (ast_strlen_zero(channel_snapshot->bridge->id)) { + astman_send_listack(s, m, "Channel map will follow", "start"); + astman_send_list_complete_start(s, m, "CoreShowChannelMapComplete", 0); + astman_send_list_complete_end(s); + return 0; + } + bridge_snapshot = ast_bridge_get_snapshot_by_uniqueid(channel_snapshot->bridge->id); if (!bridge_snapshot) { astman_send_listack(s, m, "Channel map will follow", "start");