Пример #1
0
        /// <summary>
        /// Add agent id to calldetail
        /// </summary>
        /// <param name="campaign"></param>
        /// <param name="callDetail"></param>
        /// <returns></returns>
        public static void AddResultCodeToCallList(string campDBConn, CampaignDetails callDetail, string strResultDesc)
        {
            CampaignService objCampService = null;

            try
            {
                if (callDetail != null)
                {
                    objCampService = new CampaignService();
                    objCampService.AddResultCodeToCallList(campDBConn, callDetail.UniqueKey, strResultDesc, callDetail.OffsiteTransferNumber);
                }
            }
            catch (Exception ex)
            {
                DialerEngine.Log.WriteException(ex, "Error in Add Result Code To Call List");
            }
            finally
            {
                objCampService = null;
            }
        }