Skip to content

fix(widgets): fixed-outbound-fail-error - #555

Merged
adhmenon merged 2 commits into
webex:ccwidgetsfrom
adhmenon:outdial-fix
Nov 25, 2025
Merged

fix(widgets): fixed-outbound-fail-error#555
adhmenon merged 2 commits into
webex:ccwidgetsfrom
adhmenon:outdial-fix

Conversation

@adhmenon

Copy link
Copy Markdown
Contributor

COMPLETES #< AD-HOC >

This pull request addresses

  • EPIC team reported an issue that was happening with the widgets.
  • Whenever a user got the AgentOutboundFailed event, the widgets was not properly cleaning up the call and so the user was not able to do further outdials.
  • Further triaging found that this was because the SDK was clearing the task object on receiving this event and hence subsequent wrapup was not being shown.

by making the following changes

  • Now we simply emit TASK_REJECT on receiving the AgentOutboundFailed event and on subsequent events from the backend, we end task and show wrapup.
  • Code was also added to ensure that rejecting the outdial event clears up the task and older flows remain unaffected.
  • Other task clear ups also work.

Vidcast - https://app.vidcast.io/share/fa6a278d-863a-492d-8c66-ff42e4e42ac3

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

  • Tested outdial on both EXTENSION and BROWSER
  • Tested for both working outdial and failing.
  • Tested user rejecting outdial call.
  • Tested basic call to see all flows worked.

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
    • Cursor
  • 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.

@adhmenon adhmenon added validated Indicates that the PR is ready for actions run_e2e Add this label to run E2E test for meeting and CC widgets labels Nov 24, 2025
@aws-amplify-us-east-2

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-555.d1b38q61t1z947.amplifyapp.com

@mkesavan13 mkesavan13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix, @adhmenon

Looks good to me.

@adhmenon adhmenon removed the run_e2e Add this label to run E2E test for meeting and CC widgets label Nov 25, 2025
@adhmenon
adhmenon merged commit 58a2219 into webex:ccwidgets Nov 25, 2025
6 of 8 checks passed
@adhmenon
adhmenon deleted the outdial-fix branch November 25, 2025 06:39
github-actions Bot pushed a commit that referenced this pull request Nov 25, 2025
# [1.28.0-ccwidgets.126](v1.28.0-ccwidgets.125...v1.28.0-ccwidgets.126) (2025-11-25)

### Bug Fixes

* **widgets:** fixed-outbound-fail-error ([#555](#555)) ([58a2219](58a2219))
@mkesavan13

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.28.0-ccwidgets.126 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released on @ccwidgets validated Indicates that the PR is ready for actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants