public MakeCallEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.makeCall; Att = a2.makeCall; }
protected void Cstaconfirmation(CstaConfirmationEvent data, ATTEvent_t attPd, eventTypeCSTA eventType) { if (eventType == eventTypeCSTA.CSTA_UNIVERSAL_FAILURE_CONF) { CbTaskNew.SetError(data.invokeID, data.universalFailure.error); return; } object ret; switch (eventType) { case eventTypeCSTA.CSTA_QUERY_DEVICE_INFO_CONF: ret = new QueryDeviceInfoReturn(data, attPd); break; case eventTypeCSTA.CSTA_MAKE_CALL_CONF: ret = new MakeCallEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_CONSULTATION_CALL_CONF: ret = new ConsultationCallEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_MAKE_PREDICTIVE_CALL_CONF: ret = new MakePredictiveCallEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_TRANSFER_CALL_CONF: ret = new TransferCallEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_QUERY_AGENT_STATE_CONF: ret = new QueryAgentStateEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_QUERY_LAST_NUMBER_CONF: ret = new QueryLastNumberEventReturn(data); break; case eventTypeCSTA.CSTA_MONITOR_CONF: ret = new SetupMonitorEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_CHANGE_MONITOR_FILTER_CONF: ret = new ChangeMonitorFilterEventReturn(data); break; case eventTypeCSTA.CSTA_SNAPSHOT_DEVICE_CONF: ret = new SnapshotDeviceEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_SNAPSHOT_CALL_CONF: ret = new SnapshotCallEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_QUERY_CALL_MONITOR_CONF: ret = new QueryCallMonitorEventReturn(data); break; case eventTypeCSTA.CSTA_GET_DEVICE_LIST_CONF: ret = new GetDeviceListEventReturn(data); break; case eventTypeCSTA.CSTA_GETAPI_CAPS_CONF: ret = new ApiCapsEventReturn(data, attPd); break; case eventTypeCSTA.CSTA_ESCAPE_SVC_CONF: switch (attPd.eventType) { case TypeATTEvent.ATTQueryUcidConfEvent_t_PDU: ret = new QueryUcidEventReturn(attPd); break; case TypeATTEvent.ATTQueryAcdSplitConfEvent_t_PDU: ret = new QueryAcdSplitEventReturn(attPd); break; case TypeATTEvent.ATTQueryAgentLoginConfEvent_t_PDU: ret = new QueryAgentLoginEventReturn(attPd); var task = CbTaskNew.GeTask(data.invokeID); if (task != null) { CbTaskForToPartNew.Add(((QueryAgentLoginEventReturn)ret).Att.privEventCrossRefID, task); } break; default: ret = new NullTsapiReturn(); break; } break; default: ret = new NullTsapiReturn(); break; } CbTaskNew.Set(data.invokeID, ret); }
public QueryDeviceInfoReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.queryDeviceInfo; Att = a2.queryDeviceInfo; }
public ConferenceCallEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.conferenceCall; Att = a2.conferenceCall; }
public SetupMonitorEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.monitorStart; Att = a2.monitorStart; }
public SnapshotDeviceEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.snapshotDevice; Att = a2.snapshotDevice; }
public GetDeviceListEventReturn(CstaConfirmationEvent a1) { Csta = a1.getDeviceList; }
public ApiCapsEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.getAPICaps; Att = a2.getAPICaps; }
public SnapshotCallEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.snapshotCall; Att = a2.snapshotCallConf; }
public QueryCallMonitorEventReturn(CstaConfirmationEvent a1) { Csta = a1.queryCallMonitor; }
public ChangeMonitorFilterEventReturn(CstaConfirmationEvent a1) { Csta = a1.changeMonitorFilter; }
public QueryLastNumberEventReturn(CstaConfirmationEvent a1) { Csta = a1.queryLastNumber; }
public QueryAgentStateEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.queryAgentState; Att = a2.queryAgentState; }
public QueryMsgWaitingEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.queryMwi; Att = a2.queryMwi; }
/* [DataMember] * public CSTATransferCallConfEvent_t Csta; * [DataMember] * public ATTTransferCallConfEvent_t Att;*/ public TransferCallEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { // Csta = a1.transferCall; //Att = a2.transferCall; }