aboutsummaryrefslogtreecommitdiff
path: root/csta/source-files/asn1-source/get-agent-state.asn1
blob: 7e26fb0a5657fc316913ede415063a2e3f9f7c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
CSTA-get-agent-state
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) get-agent-state( 304) }

DEFINITIONS ::=
BEGIN

IMPORTS
OPERATION, ERROR FROM Remote-Operations-Information-Objects 
	{joint-iso-itu-t remote-operations(4) informationObjects(5) version1(0) }

-- Data Types --
universalFailure FROM CSTA-error-definition
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) error-definition( 120) }
DeviceID FROM CSTA-device-identifiers
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) device-identifiers( 123) }
AgentID, AgentState, PendingAgentState FROM CSTA-device-feature-types
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) device-feature-types( 127) }
CSTACommonArguments FROM CSTA-extension-types
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) extension-types( 129) };

getAgentState OPERATION ::=
{	ARGUMENT 		GetAgentStateArgument
	RESULT 			GetAgentStateResult
	ERRORS 			{universalFailure }
	CODE			local: 304 }

GetAgentStateArgument ::= SEQUENCE
{	device 				DeviceID,
	acdGroup			DeviceID	 			OPTIONAL,
	extensions			CSTACommonArguments			OPTIONAL }

GetAgentStateResult ::= SEQUENCE
{	agentStateList 			AgentStateList,
	extensions 			CSTACommonArguments		 	OPTIONAL }

AgentStateList ::= SEQUENCE SIZE (1..32) OF AgentStateEntry

AgentStateEntry ::= SEQUENCE
{	agentID				AgentID					OPTIONAL,
	loggedOn			BOOLEAN,
	agentInfo			SEQUENCE OF AgentInfo 			OPTIONAL }

AgentInfo ::= SEQUENCE
{	acdGroup			DeviceID				OPTIONAL,
	agentState			AgentState,
	pendingAgentState		[0] IMPLICIT PendingAgentState		OPTIONAL,
	agentStateCondition		[1] IMPLICIT AgentStateCondition	OPTIONAL }

AgentStateCondition ::= ENUMERATED
{	forcedPause			(0),
	other				(1) }

END -- of CSTA-get-agent-state