Skip to content

Commit

Permalink
bs-357 RC with XMS, after Dial verb failed with 486 BUSY, there is Pl…
Browse files Browse the repository at this point in the history
…ay/Say verb. After finish playing pay/say verb, RC does not execute next verb.
  • Loading branch information
Hoan HL committed Jun 27, 2018
1 parent e954f44 commit 0fb996a
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -911,7 +911,8 @@ else if (is(gathering) || (is(finishGathering) && !super.dtmfReceived)) {
}

if (msStopingRingTone) {
msStopingRingTone = !(((MediaGroupResponse) message).get() instanceof CollectedResult);
Object data = ((MediaGroupResponse) message).get();
msStopingRingTone = !((data instanceof CollectedResult) || (data instanceof String && data.toString().equalsIgnoreCase("PLAY_COMPLETED"))) ;
}
} else {
fsm.transition(message, hangingUp);
Expand Down

0 comments on commit 0fb996a

Please sign in to comment.