internal CCall(UDPreview pCall) { this.callID = pCall.callID; this.preemptive = pCall.preemptive; this.statusReason = pCall.statusReason; this.callCategory = pCall.callInfo.otherData.callCategory; this.callType = (AgentCallType)pCall.callInfo.otherData.callType; this.eventCode = pCall.callInfo.otherData.eventCode; this.originalServiceID = pCall.callInfo.otherData.originalServiceID; this.serviceID = pCall.callInfo.otherData.serviceID; this.ani = pCall.callInfo.screenData.ani; this.callerID = pCall.callInfo.screenData.callerID; this.dnis = pCall.callInfo.screenData.dnis; this.firstName = pCall.callInfo.screenData.firstName; this.lastName = pCall.callInfo.screenData.lastName; this.phoneNumber = pCall.callInfo.screenData.phoneNumber; this.userDefinedItems = pCall.callInfo.userDefinedData.userDefinedItems; this.firstPartyCall.parentCall = this; }
internal CCall(UDScreenPop pCall) { this.callID = pCall.callID; this.preemptive = pCall.preemptive; this.statusReason = pCall.statusReason; this.callCategory = pCall.callInfo.otherData.callCategory; this.callType = (AgentCallType)pCall.callInfo.otherData.callType; this.eventCode = pCall.callInfo.otherData.eventCode; this.originalServiceID = pCall.callInfo.otherData.originalServiceID; this.serviceID = pCall.callInfo.otherData.serviceID; this.ani = pCall.callInfo.screenData.ani; this.callerID = pCall.callInfo.screenData.callerID; this.dnis = pCall.callInfo.screenData.dnis; this.firstName = pCall.callInfo.screenData.firstName; this.lastName = pCall.callInfo.screenData.lastName; this.phoneNumber = pCall.callInfo.screenData.phoneNumber; this.userDefinedItems = pCall.callInfo.userDefinedData.userDefinedItems; this.responseRequired = pCall.requiredResponse; this.rejectionReasonRequired = pCall.requiredRejectReason; this.responseTimeoutInSecs = pCall.timeoutForAcceptCall; this.playAudioAlert = pCall.playAudioAlert; this.firstPartyCall.parentCall = this; }