(VoiceChatMessage) message);
return;
}
if (message instanceof PlayTreatmentRequestMessage) {
PlayTreatmentRequestMessage msg = (PlayTreatmentRequestMessage) message;
Call call = vm.getCall(msg.getCallID());
if (call == null) {
logger.warning("No call for " + msg.getCallID());
return;
}
try {
call.playTreatment(msg.getTreatment());
} catch (IOException e) {
logger.warning("Unable to play treatment " + msg.getTreatment()
+ " to call " + call + ": " + e.getMessage());
}
return;
}