Skip to content

Issue2480 Record refactoring#2569

Merged
gvagenas merged 13 commits intomasterfrom
issue2480
Oct 11, 2017
Merged

Issue2480 Record refactoring#2569
gvagenas merged 13 commits intomasterfrom
issue2480

Conversation

@gvagenas
Copy link
Copy Markdown
Contributor

@gvagenas gvagenas commented Oct 11, 2017

Patch to properly modify VI, Call, IvrEndpoint to handle recording NTFY requests from RMS or handle failures on recording.
Patch to modify MockMediaGateway to actually create recording file for test purposes.
This close Restcomm-1086
This close Restcomm-1089
This close Restcomm-1088
# Conflicts:
#	restcomm/restcomm.mgcp/src/main/java/org/restcomm/connect/mgcp/MockMediaGateway.java
#	restcomm/restcomm.telephony/src/main/java/org/restcomm/connect/telephony/Call.java
#	restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/telephony/DialRecordingAnswerDelayTest.java
#	restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/telephony/DialRecordingTest.java
#	restcomm/restcomm.testsuite/src/test/resources/log4j.xml
This refer to #2480
duration = 0.0;
}
if (duration.equals(0.0)) {
if (!duration.equals(0.0)) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

we just flipped the check here and did nothing further.
dont we want to add recording record inside this check to make sure its added only when recording duration is not 0


}
}
// if (testing) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lets remove this block instead of commenting

logger.error("Problem while trying to touch recording file for testing", e);
return false;
}
// catch (IOException e) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lets remove this block instead of commenting

@SuppressWarnings("unchecked")
@Override
public void execute(final Object message) throws Exception {
logger.info("##### At FinishRecording, message: "+message.getClass());
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lets add guarded loging

} else if (is(playing)) {
fsm.transition(message, ready);
} else if (is(creatingRecording)) {
logger.info("Will move to finishRecording because of MediaGroupResponse");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

need guarded loging

@gvagenas gvagenas merged commit 9fb2169 into master Oct 11, 2017
@jaimecasero jaimecasero deleted the issue2480 branch April 11, 2018 20:13
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.

2 participants