Skip to content

Conversation

@akulakum
Copy link
Contributor

@akulakum akulakum commented Oct 31, 2025

COMPLETES #< INSERT LINK TO ISSUE >

This pull request addresses

Fixed two issues:

When an agent performs a switch call during a consult or conference, and then adds another agent to the conference, the "add agent to conference" operation was failing because the ToAddress parameter was being sent as null.

When refreshing one window during multi-login via extension mode, if the agent is in conference mode, the conference-related call controls were not being retained.

by making the following changes

< DESCRIBE YOUR CHANGES >

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios were tested

< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >

The GAI Coding Policy And Copyright Annotation Best Practices

  • GAI was not used (or, no additional notation is required)
  • Code was generated entirely by GAI
  • GAI was used to create a draft that was subsequently customized or modified
  • Coder created a draft manually that was non-substantively modified by GAI (e.g., refactoring was performed by GAI on manually written code)
  • Tool used for AI assistance (GitHub Copilot / Other - specify)
    • Github Copilot
    • Other - Please Specify
  • This PR is related to
    • Feature
    • Defect fix
    • Tech Debt
    • Automation

I certified that

  • I have read and followed contributing guidelines
  • I discussed changes with code owners prior to submitting this pull request
  • I have not skipped any automated checks
  • All existing and new tests passed
  • I have updated the documentation accordingly

Make sure to have followed the contributing guidelines before submitting.

@akulakum akulakum requested a review from a team as a code owner October 31, 2025 13:44
@akulakum akulakum added the validated If the pull request is validated for automation. label Oct 31, 2025
Copy link
Contributor

@adhmenon adhmenon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM.
Approving with 2 minor comments

});
switch (payload.data.type) {
case CC_EVENTS.AGENT_CONTACT:
case CC_EVENTS.AGENT_CONTACT: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Not sure if we need this bracket here.

});

// Pre-calculate isConferenceInProgress for the initial task data
const simulatedTaskForAgentContact = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this constant? Can we not use payload.data directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because isConferenceInProgress is taking task object as an parameter, so we needed an updated task object. We can pass payload data, but we wanted to keep it consistent with all other utils(task object as parameter)

@akulakum akulakum merged commit ebeba5f into webex:next Nov 3, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

validated If the pull request is validated for automation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants