|
@@ -1089,6 +1089,18 @@ public class CallingHostFragment extends BaseFragment implements DoctorHostAdapt
|
|
if (lastSelectCall == position) {
|
|
if (lastSelectCall == position) {
|
|
callingEntity = MyApplication.callEntityList.get(position);
|
|
callingEntity = MyApplication.callEntityList.get(position);
|
|
if (callingEntity != null) {
|
|
if (callingEntity != null) {
|
|
|
|
+ //护士主机转接过来的呼叫
|
|
|
|
+ String type = callingEntity.getType();
|
|
|
|
+ if(!TextUtils.isEmpty(callingEntity.getDeviceMAC())&&callingEntity.getDeviceMAC().length()<3
|
|
|
|
+ &&!callingEntity.getDeviceMAC().equals("0")){
|
|
|
|
+ type = loopingUdpentity.getDeviceMAC();
|
|
|
|
+ }
|
|
|
|
+ if (Constants.WSHROOM_CALL.equals(type)) {
|
|
|
|
+ //不支持紧急呼叫通话
|
|
|
|
+ ToastUtil.showToast("不支持紧急呼叫通话");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
//清除语音播报
|
|
//清除语音播报
|
|
if (null != loopVoice) {
|
|
if (null != loopVoice) {
|
|
loopVoice.setPalyDismiss(true);
|
|
loopVoice.setPalyDismiss(true);
|