-
Couldn't load subscription status.
- Fork 42
add active call control module #1143
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
add active call control module #1143
Conversation
|
is this module designed for |
|
This is a module for active call control for ringout |
packages/ringcentral-integration/modules/ActiveCallControl/getDataReducer.js
Show resolved
Hide resolved
| sessionId | ||
| }); | ||
| } | ||
| case types.startRecord: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be consider merge this case with the following case, since all the procedures are the same except the isRecorded
| isToVoicemail: false, | ||
| lastHoldingTime: 0, | ||
| minimized: false, | ||
| recordStatus: isRecorded ? recordStatus.recording : recordStatus.idle, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do u think isOnRecording is a better name for the situation?
| () => this.activeSessionsStatus, | ||
| (calls, activeSessionsStatus) => { | ||
| const _activeSessions = {}; | ||
| calls.forEach((call) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reduce() it, and by using rambda
…s into active-call-control-module # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
No description provided.