public List<MakeCall> GetListToCall(MakeCall extras)
        {
            List<CallingRecord> callingRecords = new List<CallingRecord>();
            PatientRecords patientRecords = new PatientRecords();
            List<MakeCall> makeCalls = new List<MakeCall>();

            if (extras.Type == "R")
            {
                callingRecords = patientRecords.GetListOfCallingRecords();
            }
            else if (extras.Type == "M")
            {
                callingRecords = patientRecords.GetListOfCallingRecordsMonitor();
            }

            for (int i = 0; i < callingRecords.Count; i++)
            {
                MakeCall makeCall = new MakeCall();
                makeCall.CallerName = callingRecords[i].TelephoneID.ToString();
                makeCall.AnswerMethod = "GET";
                makeCall.FromNumber = extras.FromNumber;
                makeCall.ToNumber = callingRecords[i].TelephoneNumber1;
                makeCall.AnswerURL = extras.AnswerURL;
                makeCall.HangUpURL = extras.HangUpURL;
                makeCalls.Add(makeCall);
            }
            return makeCalls;
        }