internal CCallAOD(UDPreview pCall) : base(pCall) { const int ciCALLBACK_FAILED = 54; this.callTableRecordNum = pCall.callInfo.aodData.callTableRecordNum; this.storeManagerId = pCall.callInfo.aodData.storeManagerId; this.tableName = pCall.callInfo.aodData.tableName; this.targetManagerId = pCall.callInfo.aodData.targetManagerId; this.callBackFlag = pCall.callInfo.callbackData.callBackFlag; this.callbackMemo = pCall.callInfo.callbackData.callbackMemo; this.callbackDialMode = pCall.callInfo.callbackData.dialModeCode; this.callbackFailed = (this.eventCode == ciCALLBACK_FAILED); }
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 CreateCall(UDPreview pCall) { return(new CCallAOD(pCall)); }
internal CCallVoice(UDPreview pCall) : base(pCall) { Initialize(); }