public void UpdateDialogData(string dialogID) { _Dialog = _FinAgent.FindDialog(dialogID); _DialogID = dialogID; if (_Dialog != null) { if (((CallVariableClass)_Dialog.MediaProperties.CallVariables[6]).Value != null) { _CallVariable7 = ((CallVariableClass)_Dialog.MediaProperties.CallVariables[6]).Value;//Read the value of Call Variable 7 } else { _CallVariable7 = ""; } } }
public IVROptions(FinAgent finAgent, string dialogID) { _FinAgent = finAgent; _Dialog = _FinAgent.FindDialog(dialogID); _DialogID = dialogID; if (_Dialog != null) { if (((CallVariableClass)_Dialog.MediaProperties.CallVariables[6]).Value != null) { _CallVariable7 = ((CallVariableClass)_Dialog.MediaProperties.CallVariables[6]).Value;//Read the value of Call Variable 7 } else { _CallVariable7 = ""; } } }
public void LoadInteraction(string dialogId) { if (FinAgent == null) { return; } if (FinAgent.AgentInformation == null) { return; } Dialog = FinAgent.FindDialog(dialogId); if (Dialog == null) { Dialog = new Dialog(FinAgent); } //new Dialog(FinAgent); //foreach (Dialog searchDialog in FinAgent.AgentInformation.Dialogs) //{ // if (searchDialog.ID.Equals(dialogId)) // Dialog = searchDialog; //} }
public ExtraServlets(FinAgent finAgent, string dialogID, string ctiwebserver) { _FinAgent = finAgent; _Dialog = finAgent.FindDialog(dialogID); _CTIWebServer = ctiwebserver; }