示例#1
0
 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 = "";
         }
     }
 }
示例#2
0
 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 = "";
         }
     }
 }
示例#3
0
        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;
            //}
        }
示例#4
0
 public ExtraServlets(FinAgent finAgent, string dialogID, string ctiwebserver)
 {
     _FinAgent     = finAgent;
     _Dialog       = finAgent.FindDialog(dialogID);
     _CTIWebServer = ctiwebserver;
 }