140 likes | 259 Views
Distribution. ED01. English. Code : STM#340-3. CTI Message Structure. Samsung Electronics Co., Ltd. Objectives. After successful completion of the course the trainees should be able to execute the following activities. CTI Message. Two Types Command OpenTSP OfficeServ Link Switch
E N D
Distribution ED01 English Code : STM#340-3 CTI Message Structure Samsung Electronics Co., Ltd.
Objectives • After successful completion of the course the trainees should be able to execute the following activities.
CTI Message • Two Types • Command • OpenTSP OfficeServ Link Switch • To support TAPI Function Call by Application, OpenTSP makes this command • Command represents a physical implementation of application request. • Event • Switch OfficeServ Link OpenTSP • represents that there are some changes about Call state / Device Statue etc
CTI Command / Event • Call Control Command / Event • To change Call State From A To B, this call control command is used. (Make Call, Answer Call, Drop Call etc) • To represent the current call state change, CTI Event is used. • Query Command / Event • To query the current status of a specific line device like Forward, DND, Callback etc • Set / Reset Command / Event • To change the current status of a specific line device • Call Forward, DND, Vacant Message, Callback etc
Basic Format of Command/Event • Length : includes only the length of Contents. • Contents • Body of CTI Command / Event • Maximum Length less than 300 Bytes.
The Format of CTI Command • About 26 commands • CTI Command has two types • Common Part • All CTI Command has the same format as a prefix • Contents Part • According to each command id, the different contents will be filled.
The Format of CTI Event • About 45 Events • Two fields • Common Fields • Event Type, DiviceID, Seq No, Tenant No. • Content Field • According to each Event id, the different contents will be filled
IDLE DIALTONE OFFERING RINGBACK DISCONNECT CONNECT HOLD Call State Transition Diagram
Each Message Structure • See the CTI Message Specification
Lab 2 : Call Case Sample • Idle -> DialTone -> Idle • ‘I’, ‘N’ • Idle -> DialTone -> Ringback -> Idle • ‘I’, ‘D’, ‘N’ • Idle -> DialTone -> Rinbback -> Connected -> Idle • ‘I’, ‘D’, ‘E’, ‘N’ • Idle -> DialTone ->Ringback -> Connected -> Hold -> Connected -> Idle • ‘I’, ‘D’, ‘E’, ‘H’, ‘R’, ‘N’ • Other Cases
Make/Answer/Drop Call Caller Side TSP/Switch Side Called Side Make Call to Destination Idle State Crate New Call Dial tone Event Idle State Crate New Call Dial Tone State Offering Event Ringback Event Offering State Ringback State Answer This Call Connected Event Connect State Connected Event Connect State Drop This call (Hook On) Drop Event Disconnect State Hook On Event Disconnect/idle State Deallocate Current Call IDLE State Deallocate Current Call
Hold / Retrieve Call Caller Side TSP/Switch Side Called Side Connect Connect State (Call 1) Connect State (Call 1) Hold Command Hold Event Connect State (Call 1) Hold On State (Call 1) Dial tone Event Timeout Dial tone State (Call 2) Hook On Event IDLE State (Call 2) Retrieve Command Retrieved Event Connect State (Call 1) Connect State (Call 1)
Transfer Call Caller Side(201) TSP/ Switch Side Called Side(202) Target Side(202) Connect Connect State (Call 1) Connect State (Call 1) Transfer Command Held Event Hold On State (Call 1) Connect State (Call 1 with 201) Dial tone Event Dial tone State (Call 2) Create New Call Dial to Destination Idle State (Call 1) Offering Event Offering State (Call 1 with 201) Answer Command Ringback State (Call 2) Connected Event Connect State (Call 2) Connect State (Call 1 with 201) Complete Transfer Command Transfered Event Completed Event Connect State (Call 1 with 202) Connect State (Call 1 with 203) Idle State (Call 1) Idle State (Call 1)