[asterisk-bugs] [JIRA] (ASTERISK-30175) Channels in ConfbridgeWelcome contains wrong information

Oskar Nyberg (JIRA) noreply at issues.asterisk.org
Thu Aug 11 03:07:09 CDT 2022


Oskar Nyberg created ASTERISK-30175:
---------------------------------------

             Summary: Channels in ConfbridgeWelcome contains wrong information
                 Key: ASTERISK-30175
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30175
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_confbridge
    Affects Versions: 18.8.0
         Environment: AlmaLinux 8.4
            Reporter: Oskar Nyberg


When using ConfBridge the ConfbridgeWelcome message will contain incorrect channel information for channels of other participants in the conference.

How to reproduce:
1. Join a conference (Which is configured to have events enabled)
2. Mute yourself (Can be done easily through the CLI with the confbridge command)
3. Join the same conference with another participant.
4. Observe the ConfbridgeWelcome MESSAGE that is sent to the new participant. The muted attributed of the channel json will be "false" for the first participant even though it is muted.

The issue lies in /apps/confbridge/confbridge_manager.c. The method "conf_send_event_to_participants" incorrectly uses the "extras" variable to create JSON data for all active channels in the conference. The problem is that the extras variable contains data specific to the joining channel, which means all channels in the conference will show whatever values the joining channel has stored in the extras variable. At the moment the extras variable also includes the "admin" value.





--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list