Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vicidial_statuses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovicidial_statuses(vicidial_statuses vicidial_statuses)
 {
     base.AddObject("vicidial_statuses", vicidial_statuses);
 }
		static vicidial_statuses()
		{

			MainFacade mf = new MainFacade(ConfigManager.ConnectionStrings.VicidialEntities);
			foreach (vicidial_statuses status in mf.GetStatuses())
			{
				switch (status.status)
				{
					case "NEW":
						NewLead = status;
						break;

					case "QUEUE":
						LeadToBeCalled = status;
						break;

					case "INCALL":
						LeadBeingCalled = status;
						break;

					case "DROP":
						AgentNotAvailable = status;
						break;

					case "XDROP":
						AgentNotAvailableIn = status;
						break;

					case "NA":
						NoAnswerAutoDial = status;
						break;

					case "CALLBK":
						CallBack = status;
						break;

					case "CBHOLD":
						CallBackHold = status;
						break;

					case "A":
						AnswerMachine = status;
						break;

					case "AA":
						AnswerMachineAuto = status;
						break;

					case "AM":
						AnswerMachineSentToMesg = status;
						break;

					case "AL":
						AnswerMachineMsgPlayed = status;
						break;

					case "AFAX":
						FaxMachineAuto = status;
						break;

					case "B":
						Busy = status;
						break;

					case "DC":
						DisconnectedNumber = status;
						break;

					case "DNC":
						DoNotCall = status;
						break;

					case "DNCL":
						DoNotCallHopperMatch = status;
						break;

					case "SALE":
						SaleMade = status;
						break;

					case "N":
						NoAnswer = status;
						break;

					case "NI":
						NotInterested = status;
						break;

					case "PU":
						CallPickedUp = status;
						break;

					case "PM":
						PlayedMessage = status;
						break;

					case "XFER":
						CallTransferred = status;
						break;

					case "ERI":
						AgentError = status;
						break;

					case "SVYEXT":
						SurveySentToExtension = status;
						break;

					case "SVYVM":
						SurveySentToVoiceMail = status;
						break;

					case "SVYHU":
						SurveyHangUp = status;
						break;

					case "SVYREC":
						SurveySentToRecord = status;
						break;

					case "QVMAIL":
						QueueAbandonVoicemailLeft = status;
						break;

					case "AB":
						BusyAuto = status;
						break;

					case "ADC":
						DisconnectedNumberAuto = status;
						break;

					case "TIMEOT":
						InboundQueueTimeoutDrop = status;
						break;

					case "AFTHRS":
						InboundAfterHoursDrop = status;
						break;

					case "NANQUE":
						InboundNoAgentNoQueueDrop = status;
						break;



				}
			}
		}
Example #3
0
 /// <summary>
 /// Create a new vicidial_statuses object.
 /// </summary>
 /// <param name="status">Initial value of the status property.</param>
 public static vicidial_statuses Createvicidial_statuses(global::System.String status)
 {
     vicidial_statuses vicidial_statuses = new vicidial_statuses();
     vicidial_statuses.status = status;
     return vicidial_statuses;
 }