mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 19:38:22 +00:00
app_confbridge: Add the Muted header to ConfbridgeJoin AMI event.
ASTERISK-27651 Change-Id: Idef2ca54d242d1b894efd3fc7b360bc6fd5bdc34
This commit is contained in:
@@ -528,9 +528,9 @@ static void send_join_event(struct confbridge_user *user, struct confbridge_conf
|
||||
{
|
||||
struct ast_json *json_object;
|
||||
|
||||
json_object = ast_json_pack("{s: b}",
|
||||
"admin", ast_test_flag(&user->u_profile, USER_OPT_ADMIN)
|
||||
);
|
||||
json_object = ast_json_pack("{s: b, s: b}",
|
||||
"admin", ast_test_flag(&user->u_profile, USER_OPT_ADMIN),
|
||||
"muted", user->muted);
|
||||
if (!json_object) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user