add WERR_INVALID_STATE
[wireshark-wip.git] / idl / parlay / gcc_interfaces.idl
blob726307bd1316bacaf6c396d09446e7dcddd91f43
1 //Source file: gcc_interfaces.idl
2 //Date: 7 October 2004
3 //Generic Call Control Interfaces for ES 203 915-4-2 V1.1.1, DES/TISPAN-01005-04-2-OSA, Parlay 5.0
6 #ifndef __GCC_INTERFACES_DEFINED
7 #define __GCC_INTERFACES_DEFINED
10 #include "osa.idl"
11 #include "common_cc_data.idl"
12 #include "gcc_data.idl"
14 module org {
16 module csapi {
18 module cc {
20 module gccs {
22 interface IpCall;
24 struct TpCallIdentifier {
25 IpCall CallReference;
26 TpSessionID CallSessionID;
31 interface IpAppCall : IpInterface {
32 void routeRes (
33 in TpSessionID callSessionID,
34 in TpCallReport eventReport,
35 in TpSessionID callLegSessionID
38 void routeErr (
39 in TpSessionID callSessionID,
40 in TpCallError errorIndication,
41 in TpSessionID callLegSessionID
44 void getCallInfoRes (
45 in TpSessionID callSessionID,
46 in TpCallInfoReport callInfoReport
49 void getCallInfoErr (
50 in TpSessionID callSessionID,
51 in TpCallError errorIndication
54 void superviseCallRes (
55 in TpSessionID callSessionID,
56 in TpCallSuperviseReport report,
57 in TpDuration usedTime
60 void superviseCallErr (
61 in TpSessionID callSessionID,
62 in TpCallError errorIndication
65 void callFaultDetected (
66 in TpSessionID callSessionID,
67 in TpCallFault fault
70 void getMoreDialledDigitsRes (
71 in TpSessionID callSessionID,
72 in TpString digits
75 void getMoreDialledDigitsErr (
76 in TpSessionID callSessionID,
77 in TpCallError errorIndication
80 void callEnded (
81 in TpSessionID callSessionID,
82 in TpCallEndedReport report
88 interface IpCall : IpService {
89 TpSessionID routeReq (
90 in TpSessionID callSessionID,
91 in TpCallReportRequestSet responseRequested,
92 in TpAddress targetAddress,
93 in TpAddress originatingAddress,
94 in TpAddress originalDestinationAddress,
95 in TpAddress redirectingAddress,
96 in TpCallAppInfoSet appInfo
98 raises (TpCommonExceptions,P_INVALID_SESSION_ID,P_INVALID_ADDRESS,P_UNSUPPORTED_ADDRESS_PLAN,P_INVALID_NETWORK_STATE,P_INVALID_CRITERIA,P_INVALID_EVENT_TYPE);
100 void release (
101 in TpSessionID callSessionID,
102 in TpCallReleaseCause cause
104 raises (TpCommonExceptions,P_INVALID_SESSION_ID,P_INVALID_NETWORK_STATE);
106 void deassignCall (
107 in TpSessionID callSessionID
109 raises (TpCommonExceptions,P_INVALID_SESSION_ID);
111 void getCallInfoReq (
112 in TpSessionID callSessionID,
113 in TpCallInfoType callInfoRequested
115 raises (TpCommonExceptions,P_INVALID_SESSION_ID);
117 void setCallChargePlan (
118 in TpSessionID callSessionID,
119 in TpCallChargePlan callChargePlan
121 raises (TpCommonExceptions,P_INVALID_SESSION_ID);
123 void setAdviceOfCharge (
124 in TpSessionID callSessionID,
125 in TpAoCInfo aOCInfo,
126 in TpDuration tariffSwitch
128 raises (TpCommonExceptions,P_INVALID_SESSION_ID);
130 void getMoreDialledDigitsReq (
131 in TpSessionID callSessionID,
132 in TpInt32 length
134 raises (TpCommonExceptions,P_INVALID_SESSION_ID);
136 void superviseCallReq (
137 in TpSessionID callSessionID,
138 in TpDuration time,
139 in TpCallSuperviseTreatment treatment
141 raises (TpCommonExceptions,P_INVALID_SESSION_ID);
143 void continueProcessing (
144 in TpSessionID callSessionID
146 raises (TpCommonExceptions,P_INVALID_SESSION_ID,P_INVALID_NETWORK_STATE);
151 interface IpAppCallControlManager : IpInterface {
152 void callAborted (
153 in TpSessionID callReference
156 IpAppCall callEventNotify (
157 in TpCallIdentifier callReference,
158 in TpCallEventInfo eventInfo,
159 in TpAssignmentID assignmentID
162 void callNotificationInterrupted ();
164 void callNotificationContinued ();
166 void callOverloadEncountered (
167 in TpAssignmentID assignmentID
170 void callOverloadCeased (
171 in TpAssignmentID assignmentID
174 void abortMultipleCalls (
175 in TpSessionIDSet callReferenceSet
181 interface IpCallControlManager : IpService {
182 TpCallIdentifier createCall (
183 in IpAppCall appCall
185 raises (TpCommonExceptions,P_INVALID_INTERFACE_TYPE);
187 TpAssignmentID enableCallNotification (
188 in IpAppCallControlManager appCallControlManager,
189 in TpCallEventCriteria eventCriteria
191 raises (TpCommonExceptions,P_INVALID_CRITERIA,P_INVALID_INTERFACE_TYPE,P_INVALID_EVENT_TYPE);
193 void disableCallNotification (
194 in TpAssignmentID assignmentID
196 raises (TpCommonExceptions,P_INVALID_ASSIGNMENT_ID);
198 TpAssignmentID setCallLoadControl (
199 in TpDuration duration,
200 in TpCallLoadControlMechanism mechanism,
201 in TpCallTreatment treatment,
202 in TpAddressRange addressRange
204 raises (TpCommonExceptions,P_INVALID_ADDRESS,P_UNSUPPORTED_ADDRESS_PLAN);
206 void changeCallNotification (
207 in TpAssignmentID assignmentID,
208 in TpCallEventCriteria eventCriteria
210 raises (TpCommonExceptions,P_INVALID_ASSIGNMENT_ID,P_INVALID_CRITERIA,P_INVALID_EVENT_TYPE);
212 TpCallEventCriteriaResultSet getCriteria ()
213 raises (TpCommonExceptions);
225 #endif