As stated in the title, the muted attribute for channels in ConfbridgeWelcome is always false.
I have checked in the asterisk CLI with “confbridge list <confbridge_name>” and even though a channel has the m-flag (which is changing based on ConfbridgeMute/ConfbridgeUnmute), ConbridgeWelcome does not reflect it.
Am I correct in assuming that the muted attribute of ConfbridgeWelcome is supposed to reflect the muted state of a channel in the confbridge?
I had a look through the source code myself to see if I could spot an issue.
Looks like the method conf_send_event_to_participants(…) in /apps/confbridge/confbridge_manager.c receives an argument “struct stasis_message *msg” which contains a blob of data for the channel that is joining the conference. The blob contains the state of muted and some other data.
The issue seems to be that there is a loop that uses this blob(variable named extras) of data to create json for ALL active channels in the conference. (Will be used in the welcome message). Which means every channel has the same blob/json data as the joining participant.
I made a quick fix to solve the issue I had but there are other variables in the blob that will still be wrong.