Skip to content

Conversation

@tuluxmu
Copy link
Contributor

@tuluxmu tuluxmu commented Aug 29, 2018

No description provided.

@tuluxmu tuluxmu requested review from huanhulan and unadlib August 29, 2018 01:39
@huanhulan
Copy link
Contributor

is this module designed for ringout calls?

@tuluxmu
Copy link
Contributor Author

tuluxmu commented Aug 29, 2018

This is a module for active call control for ringout

sessionId
});
}
case types.startRecord: {
Copy link
Contributor

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,
Copy link
Contributor

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) => {
Copy link
Contributor

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.
@tuluxmu tuluxmu merged commit 0884542 into ringcentral:master Sep 3, 2018
@tuluxmu tuluxmu deleted the active-call-control-module branch September 6, 2018 03:00
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

Successfully merging this pull request may close these issues.

3 participants