Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error thrown when a task is not reserved and callback / voicemail is requested #35

Open
vernig opened this issue Aug 25, 2021 · 0 comments

Comments

@vernig
Copy link
Contributor

vernig commented Aug 25, 2021

Test procedure:

  • Make sure no agents are available in Flex
  • Place a phone call
  • Press 1 to access the menu
  • Press 3 to leave a voice message

Result:
In the log for the serverless you should see the following:

Cannot cancel task WTxxxxxxxxxx in workspace WSxxxxxxxxxx for account ACxxxxxxxxxxxx because it is not pending or reserved.

Proposed fix:
Check the status of the task before attempting to cancel it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant