260727_02_ENH: 통화중 이동 최대한 막기

This commit is contained in:
2026-07-27 17:13:58 +09:00
parent 157ba6155d
commit ce5a402253
5 changed files with 82 additions and 37 deletions

View File

@@ -1,9 +1,12 @@
import type {CtiCallPhase} from "@/lib/cti/ctiClient";
export const CTI_AGENT_GROUP = "KRI_CONTACT";
export const CTI_AGENT_STATUS = {
READY: "1",
BREAK: "11",
} as const;
export const CTI_CALL_PHASE: CtiCallPhase[] = [
'dialing',
'active'
] as const;
// WS 서버가 보내는 CTIAgentStatus 값 중 통화 중 또는 통화 중 재로그인 대기로 간주할 값들
export const CTI_ON_CALL_STATUSES = ["0", "2", "3"] as const;