comparison cdg211/cdginc/p_mncc.val @ 4:56abf6cf8a0b

cdg211: cdginc/mdf/pdf files from TCS211-20070608
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 01:11:35 +0000
parents
children
comparison
equal deleted inserted replaced
3:93999a60b835 4:56abf6cf8a0b
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_mncc.val |
5 | SOURCE : "__out__\g23m_dfile\prim\mncc.pdf" |
6 | LastModified : "2003-07-03" |
7 | IdAndVersion : "6147.101.96.116" |
8 | SrcFileTime : "Tue Jan 31 13:13:54 2006" |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:15 2007 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_MNCC_VAL
24 #define P_MNCC_VAL
25
26
27 #define CDG_ENTER__P_MNCC_VAL
28
29 #define CDG_ENTER__FILENAME _P_MNCC_VAL
30 #define CDG_ENTER__P_MNCC_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_MNCC_VAL__LAST_MODIFIED _2003_07_03
32 #define CDG_ENTER__P_MNCC_VAL__ID_AND_VERSION _6147_101_96_116
33
34 #define CDG_ENTER__P_MNCC_VAL__SRC_FILE_TIME _Tue_Jan_31_13_13_54_2006
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_MNCC_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_ti
45 */
46 #define TI_RES_1 (0x7) /* reserved */
47 #define TI_RES_2 (0xf) /* reserved */
48
49 /*
50 * Value constants for VAL_progress_desc
51 */
52 #define PROG_NO_END_TO_END_PLMN (0x1) /* call is not end-to-end PLMN/ISDN, further call progress information may be available in-band */
53 #define PROG_DEST_NON_PLMN (0x2) /* destination address in non-PLMN/ISDN */
54 #define PROG_ORIGIN_NON_PLMN (0x3) /* origination address in non-PLMN/ISDN */
55 #define PROG_RETURN_TO_PLMN (0x4) /* call has returned to the PLMN/ISDN */
56 #define PROG_INBAND_AVAIL (0x8) /* in-band information or appropriate pattern now available */
57 #define PROG_END_TO_END_PLMN (0x20) /* call is end-to-end PLMN/ISDN */
58 #define PROG_QUEUEING (0x40) /* queueing */
59 #define PROG_UNSPECIFIC (0xfe) /* unspecific, used when coding standard is not equal to GSM; note that the value chosen here must not collide with any defined value of the progress description IE of the air interface */
60 #define PROG_NOT_PRES (0xff) /* not present */
61
62 /*
63 * Value constants for VAL_fac_context
64 */
65 #define FAC_IN_ALERT (0x0) /* Facility information in ALERT message */
66 #define FAC_IN_CALL_PROCEED (0x1) /* Facility information in CALL PROCEEDING message */
67 #define FAC_IN_DISCONNECT (0x2) /* Facility information in DISCONNECT message */
68 #define FAC_IN_RELEASE (0x3) /* Facility information in RELEASE message */
69 #define FAC_IN_CONNECT (0x4) /* Facility information in CONNECT message */
70 #define FAC_IN_SETUP (0x5) /* Facility information in SETUP message */
71 #define FAC_IN_FACILITY (0x6) /* Facility information in USER INFORMATION message */
72 #define FAC_IN_RELEASE_COMP (0x7) /* Facility information in RELEASE COMPLETE message */
73 #define FAC_IN_RECALL (0x8) /* Facility information in RECALL message */
74
75 /*
76 * Value constants for VAL_info_context
77 */
78 #define USER_IN_ALERT (0x0) /* User information in ALERT message */
79 #define USER_IN_DISCONNECT (0x1) /* User information in DISCONNECT message */
80 #define USER_IN_PROGRESS (0x2) /* User information in PROGRESS message */
81 #define USER_IN_RELEASE (0x3) /* User information in RELEASE message */
82 #define USER_IN_CONNECT (0x4) /* User information in CONNECT message */
83 #define USER_IN_SETUP (0x5) /* User information in SETUP message */
84 #define USER_IN_USER (0x6) /* User information in USER INFORMATION message */
85
86 /*
87 * Value constants for VAL_pd
88 */
89 #define PD_USER (0x0) /* user specific protocol */
90 #define PD_HIGH_LAYER (0x1) /* OSI high layer protocols */
91 #define PD_X244 (0x2) /* X.244 */
92 #define PD_SYS_MANAGE (0x3) /* reserved for system management convergence function */
93 #define PD_IA5 (0x4) /* IA5 characters */
94 #define PD_V120 (0x7) /* Rec.V.120 rate adaption */
95 #define PD_Q931 (0x8) /* Q.931 (I.451) user-network call control messages */
96
97 /*
98 * Value constants for VAL_serv
99 */
100 #define SERV_SPEECH (0x0) /* speech */
101 #define SERV_DATA (0x1) /* data */
102 #define SERV_NOT_PRES (0xff) /* not present */
103
104 /*
105 * Value constants for VAL_cause
106 */
107 #define MNCC_CAUSE_UNASSIGN (0x501) /* unassigned (unallocated) number */
108 #define MNCC_CAUSE_NO_ROUTE (0x503) /* no route to destination */
109 #define MNCC_CAUSE_CHAN_UNACCEPT (0x506) /* channel unacceptable */
110 #define MNCC_CAUSE_BARRED (0x508) /* operator determined barring */
111 #define MNCC_CAUSE_CALL_CLEAR (0x510) /* normal call clearing */
112 #define MNCC_CAUSE_USER_BUSY (0x511) /* user busy */
113 #define MNCC_CAUSE_NO_RESPONSE (0x512) /* no user responding */
114 #define MNCC_CAUSE_ALERT_NO_ANSWER (0x513) /* user alerting, no answer */
115 #define MNCC_CAUSE_CALL_REJECT (0x515) /* call rejected */
116 #define MNCC_CAUSE_NUM_CHANGED (0x516) /* number changed */
117 #define MNCC_CAUSE_PREEMPTION (0x519) /* pre-emption */
118 #define MNCC_CAUSE_USER_CLEAR (0x51a) /* non selected user clearing */
119 #define MNCC_CAUSE_DEST_ORDER (0x51b) /* destination out of order */
120 #define MNCC_CAUSE_NUM_FORMAT (0x51c) /* invalid number format (incomplete number) */
121 #define MNCC_CAUSE_FACILITY_REJECT (0x51d) /* facility rejected */
122 #define MNCC_CAUSE_STATUS_ENQUIRY (0x51e) /* response to status enquiry */
123 #define MNCC_CAUSE_UNSPECIFIED (0x51f) /* normal, unspecified */
124 #define MNCC_CAUSE_NO_CHAN_AVAIL (0x522) /* no circuit / channel available */
125 #define MNCC_CAUSE_NETWORK_ORDER (0x526) /* network out of order */
126 #define MNCC_CAUSE_TEMP_FAIL (0x529) /* temporary failure */
127 #define MNCC_CAUSE_SWITCH_CONGEST (0x52a) /* switching equipment congestion */
128 #define MNCC_CAUSE_INFO_DISCARD (0x52b) /* access information discarded */
129 #define MNCC_CAUSE_REQ_CHAN_UNAVAIL (0x52c) /* requested circuit / channel not available */
130 #define MNCC_CAUSE_RESOURCE_UNAVAIL (0x52f) /* resources unavailable, unspecified */
131 #define MNCC_CAUSE_QOS_UNAVAIL (0x531) /* quality of service unavailable */
132 #define MNCC_CAUSE_FACILITY_UNSUBSCRIB (0x532) /* requested facility not subscribed */
133 #define MNCC_CAUSE_BARRED_IN_CUG (0x537) /* incoming calls barred within the CUG */
134 #define MNCC_CAUSE_BEARER_CAP_AUTHORIZ (0x539) /* bearer capability not authorized */
135 #define MNCC_CAUSE_BEARER_CAP_UNAVAIL (0x53a) /* bearer capability not presently available */
136 #define MNCC_CAUSE_SERVICE_UNAVAIL (0x53f) /* service or option not available, unspecified */
137 #define MNCC_CAUSE_BEARER_NOT_IMPLEM (0x541) /* bearer service not implemented */
138 #define MNCC_CAUSE_ACM_MAX (0x544) /* ACM equal or greater than ACMmax */
139 #define MNCC_CAUSE_FACILITY_NOT_IMPLEM (0x545) /* requested facility not implemented */
140 #define MNCC_CAUSE_RESTICT_BEARER_CAP (0x546) /* only restricted digital information bearer capability is available */
141 #define MNCC_CAUSE_SERVICE_NOT_IMPLEM (0x54f) /* service or option not implemented, unspecified */
142 #define MNCC_CAUSE_INVALID_TI (0x551) /* invalid transaction identifier value */
143 #define MNCC_CAUSE_USER_NOT_IN_CUG (0x557) /* user not member of CUG */
144 #define MNCC_CAUSE_INCOMPAT_DEST (0x558) /* incompatible destination (originated by net) */
145 #define MNCC_CAUSE_INVALID_TRANS_NET (0x55b) /* invalid transit network selection */
146 #define MNCC_CAUSE_INCORRECT_MESSAGE (0x55f) /* semantically incorrect message */
147 #define MNCC_CAUSE_INVALID_MAND_INFO (0x560) /* invalid mandatory information */
148 #define MNCC_CAUSE_MESSAGE_TYPE_NOT_IMPLEM (0x561)/* message type non-existent or not implemented */
149 #define MNCC_CAUSE_MESSAGE_TYPE_INCOMPAT (0x562) /* message type not compatible with protocol state */
150 #define MNCC_CAUSE_INFO_ELEM_NOT_IMPLEM (0x563) /* information element non-existent or not implemented */
151 #define MNCC_CAUSE_COND_INFO_ELEM (0x564) /* conditional information element error */
152 #define MNCC_CAUSE_MESSAGE_INCOMPAT (0x565) /* message not compatible with protocol state */
153 #define MNCC_CAUSE_TIMER (0x566) /* recovery on timer expiry */
154 #define MNCC_CAUSE_PROTOCOL (0x56f) /* protocol error, unspecified */
155 #define MNCC_CAUSE_INTERWORKING (0x57f) /* interworking, unspecified */
156 #define MNCC_CAUSE_MS_FACILITY_REJECT (0x451d) /* facility rejected (originated by MS) */
157 #define MNCC_CAUSE_MS_BEARER_NOT_IMPLEM (0x4541) /* bearer service not implemented (originated by MS) */
158 #define MNCC_CAUSE_MS_INVALID_TI (0x4551) /* invalid transaction identifier value (originated by MS) */
159 #define MNCC_CAUSE_MS_INCOMPAT_DEST (0x4558) /* incompatible destination (originated by MS) */
160 #define MNCC_CAUSE_MS_INVALID_MAND_INFO (0x4560) /* invalid mandatory information (originated by MS) */
161 #define MNCC_CAUSE_MS_COND_INFO_ELEM (0x4564) /* conditional information element error (originated by MS) */
162 #define MNCC_CAUSE_MS_MESSAGE_INCOMPAT (0x4565) /* message not compatible with protocol state (originated by MS) */
163 #define MNCC_CAUSE_MS_TIMER (0x4566) /* recovery on timer expiry (originated by MS) */
164 #define MNCC_CAUSE_MODIFY_SUCCESS (0x8500) /* in-call modification successfully performed, MODIFY COMPLETE message received */
165 #define MNCC_CAUSE_HOLD_SUCCESS (0x8502) /* hold successfully performed, HOLD ACKNOWLEDGE message received */
166 #define MNCC_CAUSE_RETRIEVE_SUCCESS (0x8503) /* retrieve successfully performed, RETRIEVE ACKNOWLEDGE message received */
167 #define MNCC_CAUSE_DTMF_START_SUCCESS (0x8504) /* start of DTMF successfully performed, START DTMF ACKNOWLEDGE message received */
168 #define MNCC_CAUSE_DTMF_STOP_SUCCESS (0x8505) /* stop of DTMF successfully performed, STOP DTMF ACKNOWLEDGE message received */
169 #define MNCC_CAUSE_NO_NET_CAUSE (0x85ff) /* network initiated without cause */
170 #define MNCC_CAUSE_SUCCESS (0xc500) /* operation successfully performed (e.g. a call establishment); this cause is used only if no more specific cause applies */
171 #define MNCC_CAUSE_DTMF_NOT_ALLOWED (0xc501) /* DTMF is currently not allowed (no speech TCH) */
172 #define MNCC_CAUSE_DTMF_BUFFER_FULL (0xc502) /* DTMF storage buffer overflow */
173 #define MNCC_CAUSE_DTMF_ABORTED (0xc503) /* DTMF was aborted (e.g. due to state change) */
174 #define MNCC_CAUSE_MAX_NO_RECALLS_REACHED (0xc504)/* maximum number of recalls (CCBS) was reached */
175 #define MNCC_CAUSE_MAX_NO_CALLS_REACHED (0xc505) /* maximum number of calls was reached */
176 #define MNCC_CAUSE_CHANNEL_SYNC (0xc506) /* channel mode or type information (changed) */
177 #define MNCC_CAUSE_REEST_STARTED (0xc507) /* call re-establishment started */
178 #define MNCC_CAUSE_REEST_FINISHED (0xc508) /* call re-establishment is finished */
179 #define MNCC_CAUSE_NO_MS_CAUSE (0xc5ff) /* MS initiated without cause */
180
181 /*
182 * Value constants for VAL_nd
183 */
184 #define ND_USER_SUSPEND (0x0) /* user suspended */
185 #define ND_USER_RESUME (0x1) /* user resumed */
186 #define ND_BEAR_CHANGE (0x2) /* bearer change */
187 #define ND_NOT_PRES (0xff) /* not present */
188
189 /*
190 * Value constants for VAL_tos
191 */
192 #define TOS_NSAP (0x0) /* NSAP (X.213/ISO 8348 AD2) */
193 #define TOS_USER_SPEC (0x2) /* user specified */
194 #define TOS_NOT_PRES (0xff) /* not present */
195
196 /*
197 * Value constants for VAL_odd_even
198 */
199 #define OE_EVEN (0x0) /* even number of address signals */
200 #define OE_ODD (0x1) /* odd number of address signals */
201
202 /*
203 * Value constants for VAL_key
204 */
205 #define DIG_0 (0x30) /* digit '0' */
206 #define DIG_1 (0x31) /* digit '1' */
207 #define DIG_2 (0x32) /* digit '2' */
208 #define DIG_3 (0x33) /* digit '3' */
209 #define DIG_4 (0x34) /* digit '4' */
210 #define DIG_5 (0x35) /* digit '5' */
211 #define DIG_6 (0x36) /* digit '6' */
212 #define DIG_7 (0x37) /* digit '7' */
213 #define DIG_8 (0x38) /* digit '8' */
214 #define DIG_9 (0x39) /* digit '9' */
215 #define DIG_A (0x41) /* 'A' */
216 #define DIG_B (0x42) /* 'B' */
217 #define DIG_C (0x43) /* 'C' */
218 #define DIG_D (0x44) /* 'D' */
219 #define DIG_STAR (0x2a) /* '(' */
220 #define DIG_HASH (0x23) /* '#' */
221 #define DIG_RES (0x7f) /* reserved */
222
223 /*
224 * Value constants for VAL_ch_mode
225 */
226 #define CHM_SIG_ONLY (0x0) /* signalling only */
227 #define CHM_SPEECH (0x1) /* speech full rate or half rate version 1 */
228 #define CHM_SPEECH_V2 (0x21) /* speech full rate or half rate version 2 */
229 #define CHM_SPEECH_V3 (0x41) /* speech full rate or half rate version 3 */
230 #define CHM_DATA_9_6 (0x3) /* data 9.6 kBit/s */
231 #define CHM_DATA_4_8 (0xb) /* data 4.8 kBit/s */
232 #define CHM_DATA_2_4 (0x13) /* data 2.4 kBit/s */
233 #define CHM_DATA_14_4 (0xf) /* data 2.4 kBit/s */
234
235 /*
236 * Value constants for VAL_ch_type
237 */
238 #define CH_SDCCH (0x0) /* SDCCH channel */
239 #define CH_TCH_F (0x1) /* TCH Fullrate */
240 #define CH_TCH_H (0x2) /* TCH Halfrate */
241
242 /*
243 * Value constants for VAL_more_data
244 */
245 #define MD_NO_MORE_DATA (0x0) /* no more data */
246 #define MD_MORE_DATA (0x1) /* more data */
247 #define MD_NOT_PRES (0xff) /* not present */
248
249 /*
250 * Value constants for VAL_prio
251 */
252 #define PRIO_NORM_CALL (0x0) /* normal call */
253 #define PRIO_EMERG_CALL (0x1) /* emergency call */
254
255 /*
256 * Value constants for VAL_clir_sup
257 */
258 #define CLR_SUP (0x0) /* CLIR suppressed */
259 #define CLR_SUP_NOT (0x1) /* CLIR not suppressed */
260 #define CLR_NOT_PRES (0xff) /* CLIR not present */
261
262 /*
263 * Value constants for VAL_sig
264 */
265 #define SIG_DIAL_TONE_ON (0x0) /* dial tone on */
266 #define SIG_RING_BACK_TONE_ON (0x1) /* ring back tone on */
267 #define SIG_INT_TONE_ON (0x2) /* intercept tone on */
268 #define SIG_NET_CONG_TONE_ON (0x3) /* network congestion tone on */
269 #define SIG_BUSY_TONE_ON (0x4) /* busy tone on */
270 #define SIG_CONF_TONE_ON (0x5) /* confirm tone on */
271 #define SIG_ANS_TONE_ON (0x6) /* answer tone on */
272 #define SIG_CALL_WAIT_TONE_ON (0x7) /* call waiting tone on */
273 #define SIG_OFF_HOOK_WARN_TONE_ON (0x8) /* off-hook warning tone on */
274 #define SIG_TONES_OFF (0x3f) /* tones off */
275 #define SIG_ALERT_OFF (0x4f) /* alerting off */
276 #define SIG_NOT_PRES (0xff) /* not present */
277
278 /*
279 * Value constants for VAL_congest_lev
280 */
281 #define CL_RECEIVER_READY (0x0) /* receiver ready */
282 #define CL_RECEIVER_NOT_READY (0xf) /* receiver not ready */
283 #define CL_NOT_PRES (0xff) /* not present */
284
285 /*
286 * Value constants for VAL_ss_version
287 */
288 #define SS_VERSION_2 (0x0) /* phase 2 service, ellipsis notation and phase 2 error handling */
289 #define SS_VERSION_3 (0x1) /* SS-Protocol version 3 and phase 2 error handling */
290 #define SS_VER_NOT_PRES (0xff) /* not present */
291
292 /*
293 * Value constants for VAL_ri
294 */
295 #define RI_CIRCULAR (0x1) /* circular */
296 #define RI_SEQUENTIAL (0x3) /* sequential */
297 #define RI_NOT_PRES (0xff) /* not present */
298
299 /*
300 * Value constants for VAL_parity
301 */
302 #define PARITY_ODD (0x0) /* odd parity */
303 #define PARITY_EVEN (0x2) /* even parity */
304 #define PARITY_NONE (0x3) /* no parity */
305 #define PARITY_FORCED_TO_0 (0x4) /* parity forced to zero */
306 #define PARITY_FORCED_TO_1 (0x5) /* parity forced to one */
307
308 /*
309 * Value constants for VAL_bearer_serv
310 */
311 #define BEARER_SERV_SYNC (0x0) /* synchronous */
312 #define BEARER_SERV_ASYNC (0x1) /* asynchronous */
313 #define BEARER_SERV_PAD_ACCESS (0x2) /* PAD access (async) */
314 #define BEARER_SERV_PACKET_ACCESS (0x3) /* packet access (sync) */
315 #define BEARER_SERV_FAX (0x4) /* fax */
316 #define BEARER_SERV_SPEECH (0x5) /* Speech */
317 #define BEARER_SERV_AUX_SPEECH (0x6) /* Auxiliary Speech */
318 #define BEARER_SERV_SPEECH_CTM (0x7) /* Speech with CTM (TTY) support */
319 #define BEARER_SERV_AUX_SPEECH_CTM (0x8) /* Auxiliary Speech CTM (TTY) support */
320 #define BEARER_SERV_NOT_PRES (0xff) /* not present */
321
322 /*
323 * Value constants for VAL_modem_type
324 */
325 #define MT_NONE (0x0) /* modem type none */
326 #define MT_V21 (0x1) /* modem type V.21 */
327 #define MT_V22 (0x2) /* modem type V.22 */
328 #define MT_V22_BIS (0x3) /* modem type V.22bis */
329 #define MT_V23 (0x4) /* modem type V.23 */
330 #define MT_V26_TER (0x5) /* modem type V.26ter */
331 #define MT_V32 (0x6) /* modem type V.32 */
332 #define MT_UNDEF (0x7) /* modem type for undefined interface */
333 #define MT_AUTOBAUD (0x8) /* modem type autobauding type 1 */
334 #define MT_V32_BIS (0x9) /* modem type V.32bis */
335 #define MT_V34 (0xa) /* modem type V.34 */
336
337 /*
338 * Value constants for VAL_rate
339 */
340 #define UR_0_3_KBIT (0x1) /* rate : 0.3 kbit/s Recommendation X.1 and V.110 */
341 #define UR_1_2_KBIT (0x2) /* rate : 1.2 kbit/s Recommendation X.1 and V.110 */
342 #define UR_2_4_KBIT (0x3) /* rate : 2.4 kbit/s Recommendation X.1 and V.110 */
343 #define UR_4_8_KBIT (0x4) /* rate : 4.8 kbit/s Recommendation X.1 and V.110 */
344 #define UR_9_6_KBIT (0x5) /* rate : 9.6 kbit/s Recommendation X.1 and V.110 */
345 #define UR_12_0_KBIT_TRANS (0x6) /* rate : 12.0 kbit/s transparent */
346 #define UR_1_2_KBIT_V23 (0x7) /* rate : 1.2 kbit/s/75 bit/s Recommendation V.23, X.1,V.110. */
347 #define UR_14_4_KBIT (0x8) /* rate : 14.4 kbit/s */
348 #define UR_NOT_PRES (0xff) /* not present */
349
350 /*
351 * Value constants for VAL_flow_control
352 */
353 #define INBAND_FLOW_CONTROL (0x8) /* inband flow control (ISO 6429) */
354 #define NO_FLOW_CONTROL (0xc) /* no flow control (COPnoFLCT) */
355 #define OUTBAND_FLOW_CONTROL (0xff) /* outband flow control */
356
357 /*
358 * Value constants for VAL_conn_elem
359 */
360 #define CONN_ELEM_TRANS (0x0) /* transparent */
361 #define CONN_ELEM_NON_TRANS (0x1) /* non transparent (RLP) */
362 #define CONN_ELEM_TRANS_PREF (0x2) /* both, transparent preferred */
363 #define CONN_ELEM_NON_TRANS_PREF (0x3) /* both, non transparent (RLP) preferred */
364 #define CONN_ELEM_NOT_PRES (0xff) /* not present */
365
366 /*
367 * Value constants for VAL_stop_bits
368 */
369 #define STOP_1_BIT (0x0) /* one stop bit */
370 #define STOP_2_BIT (0x1) /* two stop bits */
371
372 /*
373 * Value constants for VAL_data_bits
374 */
375 #define DATA_7_BIT (0x0) /* seven data bits */
376 #define DATA_8_BIT (0x1) /* eight data bits */
377
378 /*
379 * Value constants for VAL_diagnostic
380 */
381 #define DIAG_MOC_BAR_CUG (0x81) /* Outgoing calls barred within CUG */
382 #define DIAG_NO_CUG_SELECTED (0x82) /* No CUG selected */
383 #define DIAG_UNKNOWN_CUG_INDEX (0x83) /* Unknown CUG index */
384 #define DIAG_INCOMPAT_CUG_INDEX (0x84) /* CUG index incompatible with requested basic service */
385 #define DIAG_CUG_FAIL_UNSPEC (0x85) /* CUG call Failure unspecified */
386 #define DIAG_CLIR_NOT_SUBSCRIBED (0x86) /* CLIR not subscribed */
387 #define DIAG_CCBS_POSSIBLE (0x87) /* CCBS possible */
388 #define DIAG_CCBS_NOT_POSSIBLE (0x88) /* CCBS not possible */
389
390 /*
391 * Value constants for VAL_ss_diag
392 */
393 #define SS_DIAG_MOC_BAR_CUG (0x1) /* Outgoing calls barred within CUG */
394 #define SS_DIAG_NO_CUG_SELECTED (0x2) /* No CUG selected */
395 #define SS_DIAG_UNKNOWN_CUG_INDEX (0x3) /* Unknown CUG index */
396 #define SS_DIAG_INCOMPAT_CUG_INDEX (0x4) /* CUG index incompatible with requested basic service */
397 #define SS_DIAG_CUG_FAIL_UNSPEC (0x5) /* CUG call Failure unspecified */
398 #define SS_DIAG_CLIR_NOT_SUBSCRIBED (0x6) /* CLIR not subscribed */
399 #define SS_DIAG_CCBS_POSSIBLE (0x7) /* CCBS possible */
400 #define SS_DIAG_CCBS_NOT_POSSIBLE (0x8) /* CCBS not possible */
401 #define SS_DIAG_NOT_PROVIDED (0xff) /* Not Provided */
402
403 /*
404 * Value constants for VAL_sns_mode
405 */
406 #define SNS_MODE_VOICE (0x0) /* voice calls */
407 #define SNS_MODE_VAF_VOICE (0x1) /* voice alternating FAX, voice first */
408 #define SNS_MODE_FAX (0x2) /* FAX calls */
409 #define SNS_MODE_VAD_VOICE (0x3) /* voice alternating data, voice first */
410 #define SNS_MODE_DATA (0x4) /* data calls */
411 #define SNS_MODE_VAF_FAX (0x5) /* voice alternating FAX, FAX first */
412 #define SNS_MODE_VAD_DATA (0x6) /* voice alternating data, data first */
413 #define SNS_MODE_VFD (0x7) /* voice followed by data */
414
415 /*
416 * Value constants for VAL_dtmf_mod
417 */
418 #define DTMF_MOD_AUTO (0x0) /* automatic mode with fixed duration */
419 #define DTMF_MOD_MAN_START (0x1) /* manual mode start sending DTMF digit */
420 #define DTMF_MOD_MAN_STOP (0x2) /* manual mode stop sending DTMF digit */
421
422 /*
423 * Value constants for VAL_bc_mod
424 */
425 #define BC_MOD_CODE (0x0) /* code bearer capabilities */
426 #define BC_MOD_DECODE (0x1) /* decode bearer capabilities */
427
428 /*
429 * Value constants for VAL_rcl_type
430 */
431 #define RCL_CCBS (0x0) /* CCBS */
432 #define RCL_CCBS_1 (0x1) /* treated as CCBS */
433 #define RCL_CCBS_2 (0x2) /* treated as CCBS */
434 #define RCL_CCBS_3 (0x3) /* treated as CCBS */
435 #define RCL_CCBS_4 (0x4) /* treated as CCBS */
436 #define RCL_CCBS_5 (0x5) /* treated as CCBS */
437 #define RCL_CCBS_6 (0x6) /* treated as CCBS */
438
439 /*
440 * Value constants for VAL_synccs
441 */
442 #define SYNCCS_MPTY_EVENT (0x0) /* Multi party event */
443 #define SYNCCS_NOT_PRESENT (0xffff) /* Synchronization cause not present */
444
445 /*
446 * Value constants for VAL_mpty_event
447 */
448 #define MPTY_BUILD_SENT (0x0) /* BuildMPTY Invoke sent */
449 #define MPTY_BUILD_FAIL (0x1) /* BuildMPTY Invoke failed */
450 #define MPTY_BUILD_SUCCESS (0x2) /* BuildMPTY Invoke ok */
451 #define MPTY_SPLIT_SENT (0x3) /* SplitMPTY Invoke sent */
452 #define MPTY_SPLIT_FAIL (0x4) /* SplitMPTY Invoke failed */
453 #define MPTY_SPLIT_SUCCESS (0x5) /* SplitMPTY Invoke Return Result ok */
454 #define MPTY_HOLD_SENT (0x6) /* HoldMPTY Invoke sent */
455 #define MPTY_HOLD_FAIL (0x7) /* HoldMPTY Invoke failed */
456 #define MPTY_HOLD_SUCCESS (0x8) /* HoldMPTY Invoke ok */
457 #define MPTY_RETRIEVE_SENT (0x9) /* RetrieveMPTY Invoke */
458 #define MPTY_RETRIEVE_FAIL (0xa) /* RetrieveMPTY Invoke failed */
459 #define MPTY_RETRIEVE_SUCCESS (0xb) /* RetrieveMPTY Invoke Return Result ok */
460 #define MPTY_NOT_PRESENT (0xff) /* Parameter not present */
461
462 /*
463 * Value constants for VAL_ctm_ena
464 */
465 #define CTM_DISABLED (0x0) /* CTM not supported */
466 #define CTM_ENABLED (0x1) /* CTM supported */
467
468 /*
469 * Value constants for VAL_ton
470 */
471 #define TON_UNKNOWN (0x0) /* unknown */
472 #define TON_INT_NUMB (0x1) /* international number */
473 #define TON_NAT_NUMB (0x2) /* national number */
474 #define TON_NET_SPEC_NUMB (0x3) /* network specific number */
475 #define TON_DED_ACC_SC (0x4) /* dedicated access, short code */
476 #define TON_NOT_PRES (0xff) /* type of number not present */
477
478 /*
479 * Value constants for VAL_npi
480 */
481 #define NPI_UNKNOW (0x0) /* unknown */
482 #define NPI_ISDN_TEL_NUMB_PLAN (0x1) /* ISDN/telephony numbering plan */
483 #define NPI_DATA_NUMB_PLAN (0x3) /* data numbering plan */
484 #define NPI_TELEX_NUMB_PLAN (0x4) /* telex numbering plan */
485 #define NPI_NAT_NUMB_PLAN (0x8) /* national numbering plan */
486 #define NPI_PRIV_NUMB_PLAN (0x9) /* private numbering plan */
487 #define NPI_NOT_PRES (0xff) /* numbering plan identification not present */
488
489 /*
490 * Value constants for VAL_present
491 */
492 #define PRES_PRES_ALLOW (0x0) /* presentation allowed */
493 #define PRES_PRES_REST (0x1) /* presentation restricted */
494 #define PRES_NUMB_NOT_AVAIL (0x2) /* number not available due to interworking */
495 #define PRES_NOT_PRES (0xff) /* not present */
496
497 /*
498 * Value constants for VAL_screen
499 */
500 #define SCREEN_USER_PROV_NOT_SCREEN (0x0) /* user provided, not screened */
501 #define SCREEN_USER_PROV_VER_PASS (0x1) /* user provided, verified and passed */
502 #define SCREEN_USER_PROV_VER_FAIL (0x2) /* user provided, verified and failed */
503 #define SCREEN_NET_PROV (0x3) /* network provided */
504 #define SCREEN_IND_NOT_PRES (0xff) /* not present */
505
506 /*
507 * user defined constants
508 */
509 #define FACILITY_LEN (0xfb)
510 #define USER_LEN (0x83)
511 #define MAX_CC_CALLING_NUMBER (0x16)
512 #define MAX_CC_REDIR_NUMBER (0x20)
513 #define MAX_CC_CALLED_NUMBER (0x50)
514 #define SUB_LENGTH (0x14)
515 #define MAX_BC_LEN (0xa)
516 #define CC_ORIGINATING_ENTITY (0x5)
517 #define ACI_ORIGINATING_ENTITY (0x1)
518 #define MAX_CC_CAUSE_LENGTH (0x1e)
519
520 #include "CDG_LEAVE.h"
521
522
523 #endif