mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 02:57:23 +00:00
confbridge: announce to the marked users when they join an empty conference
Currently the file sound_only_person is not played when a marked user (with announce_only_user=yes) joins an empty conference. This patch fixes it. ASTERISK-28201 #close Change-Id: I85b67687e6b220939c3af8091d83a70a7b174cf4
This commit is contained in:
@@ -56,7 +56,7 @@ static void join_unmarked(struct confbridge_user *user)
|
||||
{
|
||||
conf_add_user_active(user->conference, user);
|
||||
conf_handle_first_join(user->conference);
|
||||
conf_add_post_join_action(user, conf_handle_only_unmarked);
|
||||
conf_add_post_join_action(user, conf_handle_only_person);
|
||||
|
||||
conf_change_state(user, CONF_STATE_SINGLE);
|
||||
}
|
||||
@@ -73,6 +73,7 @@ static void join_marked(struct confbridge_user *user)
|
||||
{
|
||||
conf_add_user_marked(user->conference, user);
|
||||
conf_handle_first_join(user->conference);
|
||||
conf_add_post_join_action(user, conf_handle_only_person);
|
||||
|
||||
conf_change_state(user, CONF_STATE_SINGLE_MARKED);
|
||||
}
|
||||
|
Reference in New Issue
Block a user