1 PACKAGE CCT_MEDIA_CMD_PKG AUTHID CURRENT_USER AS
2
3 G_PKG_NAME CONSTANT VARCHAR2(30) := 'CCT_MEDIA_CMD_PKG';
4 G_SERVER_DOWN CONSTANT VARCHAR2(30) := 'SERVER_DOWN';
5 G_AGENT_NOT_LOGGED_IN CONSTANT VARCHAR2(30) := 'AGENT_NOT_LOGGED_IN';
6
7 -- OCCT_DIAL
8 -- Execute the dial telephony command.
9 -- The new call will be placed on the first available
10 -- line of the teleset. Please make sure there is no
11 -- outstanding calls at the agent when executing the dial command.
12 --
13 -- @param in p_agent_id the agent id
14 -- @param in p_destination the number to dial in dialable format
15 PROCEDURE OCCT_DIAL
16 (
17 p_api_version IN NUMBER,
18 p_init_msg_list IN VARCHAR2 Default FND_API.G_FALSE,
19 p_commit IN VARCHAR2 Default FND_API.G_FALSE,
20
21 p_agent_id IN NUMBER,
22 p_destination IN VARCHAR2,
23
24 x_return_status OUT NOCOPY VARCHAR2,
25 x_msg_count OUT NOCOPY NUMBER,
26 x_msg_data OUT NOCOPY VARCHAR2
27 );
28
29
30 -- OCCT_INIT_TRANSFER
31 -- Initiate the consultation call in preparation for transfering
32 -- the call.
33 -- Please make sure the call that the agent
34 -- want to transfer is the only call that the agent is
35 -- currently involved in.
36 --
37 -- @param in p_agent_id the agent id
38 -- @param in p_destination the number to dial in dialable format
39 PROCEDURE OCCT_INIT_TRANSFER
40 (
41 p_api_version IN NUMBER,
42 p_init_msg_list IN VARCHAR2 Default FND_API.G_FALSE,
43 p_commit IN VARCHAR2 Default FND_API.G_FALSE,
44
45 p_agent_id IN NUMBER,
46 p_destination IN VARCHAR2,
47
48 x_return_status OUT NOCOPY VARCHAR2,
49 x_msg_count OUT NOCOPY NUMBER,
50 x_msg_data OUT NOCOPY VARCHAR2
51 );
52
53 -- OCCT_INIT_CONFERENCE
54 -- Initiate the consultation call in preparation for conferencing.
55 -- Please make sure the call that the agent
56 -- want to conference is the only call that the agent is
57 -- currently involved in.
58 --
59 -- @param in p_agent_id the agent id
60 -- @param in p_destination the number to dial in dialable format
61 PROCEDURE OCCT_INIT_CONFERENCE
62 (
63 p_api_version IN NUMBER,
64 p_init_msg_list IN VARCHAR2 Default FND_API.G_FALSE,
65 p_commit IN VARCHAR2 Default FND_API.G_FALSE,
66
67 p_agent_id IN NUMBER,
68 p_destination IN VARCHAR2,
69
70 x_return_status OUT NOCOPY VARCHAR2,
71 x_msg_count OUT NOCOPY NUMBER,
72 x_msg_data OUT NOCOPY VARCHAR2
73 );
74
75 END CCT_MEDIA_CMD_PKG;