aboutsummaryrefslogtreecommitdiff
path: root/csta/source-files/asn1-source/CSTA-set-agent-state.asn1
blob: b74e039591134eb4a676fe7a9963b7136d994fd9 (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
CSTA-set-agent-state
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) set-agent-state( 312) }

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, AgentPassword, 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) };

setAgentState OPERATION ::=
{	ARGUMENT 		SetAgentStateArgument
	RESULT 			SetAgentStateResult
	ERRORS 			{universalFailure }
	CODE			local: 312 }

SetAgentStateArgument ::= SEQUENCE
{	device 				DeviceID,
	requestedAgentState		ReqAgentState,
	agentID				[2] IMPLICIT AgentID			OPTIONAL,
	password			[3] IMPLICIT AgentPassword		OPTIONAL,
	group				DeviceID				OPTIONAL,
	extensions			CSTACommonArguments			OPTIONAL }

SetAgentStateResult ::= SEQUENCE
{	pendingAgentState		PendingAgentState			OPTIONAL,
	extensions	 		CSTACommonArguments			OPTIONAL }

ReqAgentState ::= ENUMERATED
{	loggedOn			(0),
	loggedOff			(1),
	notReady			(2),
	ready				(3),
	workingAfterCall		(4) }

END -- of CSTA-set-agent-state