internal CCallEmail(UDScreenPop pCall) : base(pCall) { this.forwardToMBox = pCall.callInfo.emailData.forwardToMBox; this.mailQueId = pCall.callInfo.emailData.mailQueId; this.messageId = pCall.callInfo.emailData.messageId; }
internal CCallAOD(UDScreenPop pCall) : base(pCall) { 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 = false; }
internal CCall CreateCall(UDScreenPop pCall) { switch (pCall.callInfo.otherData.callType) { case (int)AgentCallType.acAOD: return(new CCallAOD(pCall)); case (int)AgentCallType.acCHAT: return(new CCallChat(pCall)); case (int)AgentCallType.acEMAIL_SELECT: return(new CCallEmail(pCall)); case (int)AgentCallType.acEMAIL_CDREVIEW: return(new CCallEmail(pCall)); case (int)AgentCallType.acEMAIL_SELF_SERV: return(new CCallEmail(pCall)); default: return(new CCallVoice(pCall)); } }
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; }
internal CCallChat(UDScreenPop pCall) : base(pCall) { }
internal CCallVoice(UDScreenPop pCall) : base(pCall) { Initialize(); }