/// <summary> /// Hàm này dùng để get thông tin về cuộc gọi dựa vào callid (ws dạng web link) /// </summary> /// <param name="ip_call_id">Call id dùng để get thông tin cuộc gọi</param> /// <returns>Đối tượng lưu toàn bộ thông tin cuộc gọi</returns> public static CallInfor get_call_infor(string ip_call_id) { string v_str_result = ""; v_str_result = get_content_from_weburl(f002_main_form.m_str_web_service_url + WEB_URL_CALL_CENTER.GET_CALL_INFOR(ip_call_id)); CLichSuCuocGoi v_obj_infor = JsonConvert.DeserializeObject <CLichSuCuocGoi>(v_str_result); return(v_obj_infor.data); }
/// <summary> /// Hàm này dùng để get thông tin về cuộc gọi dựa vào callid (ws dạng web link) /// </summary> /// <param name="ip_call_id">Call id dùng để get thông tin cuộc gọi</param> /// <returns>Đối tượng lưu toàn bộ thông tin cuộc gọi</returns> public static CallInfor get_call_infor(string ip_call_id) { string v_str_result = ""; v_str_result = get_content_from_weburl("http://203.162.121.70:8080/TPCServer/tpc/DoAction.jsp?event=" + WEB_URL_CALL_CENTER.GET_CALL_INFOR(ip_call_id)); CLichSuCuocGoi v_obj_infor = JsonConvert.DeserializeObject <CLichSuCuocGoi>(v_str_result); return(v_obj_infor.data); }