aboutsummaryrefslogtreecommitdiffstats
path: root/idl/parlay/gcc_interfaces.idl
blob: 726307bd1316bacaf6c396d09446e7dcddd91f43 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
//Source file: gcc_interfaces.idl
//Date:  7 October 2004
//Generic Call Control Interfaces for ES 203 915-4-2 V1.1.1, DES/TISPAN-01005-04-2-OSA, Parlay 5.0


#ifndef __GCC_INTERFACES_DEFINED
#define __GCC_INTERFACES_DEFINED


#include "osa.idl"
#include "common_cc_data.idl"
#include "gcc_data.idl"

module org {
	
	module csapi {
		
		module cc {
			
			module gccs {
				
				interface IpCall;

				struct TpCallIdentifier {
					IpCall CallReference;
					TpSessionID CallSessionID;
				};
				
				
				
				interface IpAppCall : IpInterface {
					void routeRes (
						in TpSessionID callSessionID,	
						in TpCallReport eventReport,	
						in TpSessionID callLegSessionID	
						);
						
					void routeErr (
						in TpSessionID callSessionID,	
						in TpCallError errorIndication,	
						in TpSessionID callLegSessionID	
						);
						
					void getCallInfoRes (
						in TpSessionID callSessionID,	
						in TpCallInfoReport callInfoReport	
						);
						
					void getCallInfoErr (
						in TpSessionID callSessionID,	
						in TpCallError errorIndication	
						);
						
					void superviseCallRes (
						in TpSessionID callSessionID,	
						in TpCallSuperviseReport report,	
						in TpDuration usedTime	
						);
						
					void superviseCallErr (
						in TpSessionID callSessionID,	
						in TpCallError errorIndication	
						);
						
					void callFaultDetected (
						in TpSessionID callSessionID,	
						in TpCallFault fault	
						);
						
					void getMoreDialledDigitsRes (
						in TpSessionID callSessionID,	
						in TpString digits	
						);
						
					void getMoreDialledDigitsErr (
						in TpSessionID callSessionID,	
						in TpCallError errorIndication	
						);
						
					void callEnded (
						in TpSessionID callSessionID,	
						in TpCallEndedReport report	
						);
						
				};
				
				
				interface IpCall : IpService {
					TpSessionID routeReq (
						in TpSessionID callSessionID,	
						in TpCallReportRequestSet responseRequested,	
						in TpAddress targetAddress,	
						in TpAddress originatingAddress,	
						in TpAddress originalDestinationAddress,	
						in TpAddress redirectingAddress,	
						in TpCallAppInfoSet appInfo	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID,P_INVALID_ADDRESS,P_UNSUPPORTED_ADDRESS_PLAN,P_INVALID_NETWORK_STATE,P_INVALID_CRITERIA,P_INVALID_EVENT_TYPE);
						
					void release (
						in TpSessionID callSessionID,	
						in TpCallReleaseCause cause	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID,P_INVALID_NETWORK_STATE);
						
					void deassignCall (
						in TpSessionID callSessionID	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID);
						
					void getCallInfoReq (
						in TpSessionID callSessionID,	
						in TpCallInfoType callInfoRequested	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID);
						
					void setCallChargePlan (
						in TpSessionID callSessionID,	
						in TpCallChargePlan callChargePlan	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID);
						
					void setAdviceOfCharge (
						in TpSessionID callSessionID,	
						in TpAoCInfo aOCInfo,	
						in TpDuration tariffSwitch	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID);
						
					void getMoreDialledDigitsReq (
						in TpSessionID callSessionID,	
						in TpInt32 length	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID);
						
					void superviseCallReq (
						in TpSessionID callSessionID,	
						in TpDuration time,	
						in TpCallSuperviseTreatment treatment	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID);
						
					void continueProcessing (
						in TpSessionID callSessionID	
						)						
						raises (TpCommonExceptions,P_INVALID_SESSION_ID,P_INVALID_NETWORK_STATE);
						
				};
				
				
				interface IpAppCallControlManager : IpInterface {
					void callAborted (
						in TpSessionID callReference	
						);
						
					IpAppCall callEventNotify (
						in TpCallIdentifier callReference,	
						in TpCallEventInfo eventInfo,	
						in TpAssignmentID assignmentID	
						);
						
					void callNotificationInterrupted ();
						
					void callNotificationContinued ();
						
					void callOverloadEncountered (
						in TpAssignmentID assignmentID	
						);
						
					void callOverloadCeased (
						in TpAssignmentID assignmentID	
						);
						
					void abortMultipleCalls (
						in TpSessionIDSet callReferenceSet	
						);
						
				};
				
				
				interface IpCallControlManager : IpService {
					TpCallIdentifier createCall (
						in IpAppCall appCall	
						)						
						raises (TpCommonExceptions,P_INVALID_INTERFACE_TYPE);
						
					TpAssignmentID enableCallNotification (
						in IpAppCallControlManager appCallControlManager,	
						in TpCallEventCriteria eventCriteria	
						)						
						raises (TpCommonExceptions,P_INVALID_CRITERIA,P_INVALID_INTERFACE_TYPE,P_INVALID_EVENT_TYPE);
						
					void disableCallNotification (
						in TpAssignmentID assignmentID	
						)						
						raises (TpCommonExceptions,P_INVALID_ASSIGNMENT_ID);
						
					TpAssignmentID setCallLoadControl (
						in TpDuration duration,	
						in TpCallLoadControlMechanism mechanism,	
						in TpCallTreatment treatment,	
						in TpAddressRange addressRange	
						)						
						raises (TpCommonExceptions,P_INVALID_ADDRESS,P_UNSUPPORTED_ADDRESS_PLAN);
						
					void changeCallNotification (
						in TpAssignmentID assignmentID,	
						in TpCallEventCriteria eventCriteria	
						)						
						raises (TpCommonExceptions,P_INVALID_ASSIGNMENT_ID,P_INVALID_CRITERIA,P_INVALID_EVENT_TYPE);
						
					TpCallEventCriteriaResultSet getCriteria ()						
						raises (TpCommonExceptions);
						
				};
				
			};
			
		};
		
	};
	
};

#endif