-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: ensure outbound call creation only if outbound object exists - Add conditional check for outbound object before calling `createOutboundCall` in `useConnectFirst.ts` - Expand Axios error handling to include status codes 408, 409, 422, and 502 in `main.ts` * commit: feat(phone-system) and refactor(general-stats) - **PhoneSystem** - Add new state properties `isTakingCalls` and `isTransitioning`. - Update the `onLoggedIn` function to accept a parameter `forceOutbound`. - Implement logic to handle forced outbound calls when `isTakingCalls`, `!isOnCall`, and `!isTransitioning`. - Set an interval to trigger `onLoggedIn` every 20 seconds if conditions are met. - **GeneralStats** - Comment out the display of the number of people waiting in each language queue. - Update the `agentsOnline` calculation to use `stats.value.active`.
- Loading branch information
Showing
4 changed files
with
48 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters