comparison cdg-hybrid/cdginc/p_mncc.val @ 9:6da1d56a96a3

cdg-hybrid: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 21:08:11 +0000
parents
children
comparison
equal deleted inserted replaced
8:ed162c9cd29f 9:6da1d56a96a3
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_mncc.val |
5 | SOURCE : "sap\mncc.pdf" |
6 | LastModified : "2003-07-03" |
7 | IdAndVersion : "6147.101.96.116" |
8 | SrcFileTime : "Thu Nov 29 09:47:40 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : MNCC
16 * COMPATIBILITY_DEFINES : NO
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 _Thu_Nov_29_09_47_40_2007
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 MNCC_TI_RES_1 (0x7) /* reserved */
47 #define MNCC_TI_RES_2 (0xf) /* reserved */
48
49 /*
50 * Value constants for VAL_progress_desc
51 */
52 #define MNCC_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 MNCC_PROG_DEST_NON_PLMN (0x2) /* destination address in non-PLMN/ISDN */
54 #define MNCC_PROG_ORIGIN_NON_PLMN (0x3) /* origination address in non-PLMN/ISDN */
55 #define MNCC_PROG_RETURN_TO_PLMN (0x4) /* call has returned to the PLMN/ISDN */
56 #define MNCC_PROG_INBAND_AVAIL (0x8) /* in-band information or appropriate pattern now available */
57 #define MNCC_PROG_END_TO_END_PLMN (0x20) /* call is end-to-end PLMN/ISDN */
58 #define MNCC_PROG_QUEUEING (0x40) /* queueing */
59 #define MNCC_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 MNCC_PROG_NOT_PRES (0xff) /* not present */
61
62 /*
63 * Value constants for VAL_fac_context
64 */
65 #define MNCC_FAC_IN_ALERT (0x0) /* Facility information in ALERT message */
66 #define MNCC_FAC_IN_CALL_PROCEED (0x1) /* Facility information in CALL PROCEEDING message */
67 #define MNCC_FAC_IN_DISCONNECT (0x2) /* Facility information in DISCONNECT message */
68 #define MNCC_FAC_IN_RELEASE (0x3) /* Facility information in RELEASE message */
69 #define MNCC_FAC_IN_CONNECT (0x4) /* Facility information in CONNECT message */
70 #define MNCC_FAC_IN_SETUP (0x5) /* Facility information in SETUP message */
71 #define MNCC_FAC_IN_FACILITY (0x6) /* Facility information in USER INFORMATION message */
72 #define MNCC_FAC_IN_RELEASE_COMP (0x7) /* Facility information in RELEASE COMPLETE message */
73 #define MNCC_FAC_IN_RECALL (0x8) /* Facility information in RECALL message */
74
75 /*
76 * Value constants for VAL_info_context
77 */
78 #define MNCC_USER_IN_ALERT (0x0) /* User information in ALERT message */
79 #define MNCC_USER_IN_DISCONNECT (0x1) /* User information in DISCONNECT message */
80 #define MNCC_USER_IN_PROGRESS (0x2) /* User information in PROGRESS message */
81 #define MNCC_USER_IN_RELEASE (0x3) /* User information in RELEASE message */
82 #define MNCC_USER_IN_CONNECT (0x4) /* User information in CONNECT message */
83 #define MNCC_USER_IN_SETUP (0x5) /* User information in SETUP message */
84 #define MNCC_USER_IN_USER (0x6) /* User information in USER INFORMATION message */
85
86 /*
87 * Value constants for VAL_pd
88 */
89 #define MNCC_PD_USER (0x0) /* user specific protocol */
90 #define MNCC_PD_HIGH_LAYER (0x1) /* OSI high layer protocols */
91 #define MNCC_PD_X244 (0x2) /* X.244 */
92 #define MNCC_PD_SYS_MANAGE (0x3) /* reserved for system management convergence function */
93 #define MNCC_PD_IA5 (0x4) /* IA5 characters */
94 #define MNCC_PD_V120 (0x7) /* Rec.V.120 rate adaption */
95 #define MNCC_PD_Q931 (0x8) /* Q.931 (I.451) user-network call control messages */
96
97 /*
98 * Value constants for VAL_serv
99 */
100 #define MNCC_SERV_SPEECH (0x0) /* speech */
101 #define MNCC_SERV_DATA (0x1) /* data */
102 #define MNCC_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 MNCC_ND_USER_SUSPEND (0x0) /* user suspended */
185 #define MNCC_ND_USER_RESUME (0x1) /* user resumed */
186 #define MNCC_ND_BEAR_CHANGE (0x2) /* bearer change */
187 #define MNCC_ND_NOT_PRES (0xff) /* not present */
188
189 /*
190 * Value constants for VAL_tos
191 */
192 #define MNCC_TOS_NSAP (0x0) /* NSAP (X.213/ISO 8348 AD2) */
193 #define MNCC_TOS_USER_SPEC (0x2) /* user specified */
194 #define MNCC_TOS_NOT_PRES (0xff) /* not present */
195
196 /*
197 * Value constants for VAL_odd_even
198 */
199 #define MNCC_OE_EVEN (0x0) /* even number of address signals */
200 #define MNCC_OE_ODD (0x1) /* odd number of address signals */
201
202 /*
203 * Value constants for VAL_key
204 */
205 #define MNCC_DIG_0 (0x30) /* digit '0' */
206 #define MNCC_DIG_1 (0x31) /* digit '1' */
207 #define MNCC_DIG_2 (0x32) /* digit '2' */
208 #define MNCC_DIG_3 (0x33) /* digit '3' */
209 #define MNCC_DIG_4 (0x34) /* digit '4' */
210 #define MNCC_DIG_5 (0x35) /* digit '5' */
211 #define MNCC_DIG_6 (0x36) /* digit '6' */
212 #define MNCC_DIG_7 (0x37) /* digit '7' */
213 #define MNCC_DIG_8 (0x38) /* digit '8' */
214 #define MNCC_DIG_9 (0x39) /* digit '9' */
215 #define MNCC_DIG_A (0x41) /* 'A' */
216 #define MNCC_DIG_B (0x42) /* 'B' */
217 #define MNCC_DIG_C (0x43) /* 'C' */
218 #define MNCC_DIG_D (0x44) /* 'D' */
219 #define MNCC_DIG_STAR (0x2a) /* '(' */
220 #define MNCC_DIG_HASH (0x23) /* '#' */
221 #define MNCC_DIG_RES (0x7f) /* reserved */
222
223 /*
224 * Value constants for VAL_ch_mode
225 */
226 #define MNCC_CHM_SIG_ONLY (0x0) /* signalling only */
227 #define MNCC_CHM_SPEECH (0x1) /* speech full rate or half rate version 1 */
228 #define MNCC_CHM_SPEECH_V2 (0x21) /* speech full rate or half rate version 2 */
229 #define MNCC_CHM_SPEECH_V3 (0x41) /* speech full rate or half rate version 3 */
230 #define MNCC_CHM_DATA_9_6 (0x3) /* data 9.6 kBit/s */
231 #define MNCC_CHM_DATA_4_8 (0xb) /* data 4.8 kBit/s */
232 #define MNCC_CHM_DATA_2_4 (0x13) /* data 2.4 kBit/s */
233 #define MNCC_CHM_DATA_14_4 (0xf) /* data 2.4 kBit/s */
234
235 /*
236 * Value constants for VAL_ch_type
237 */
238 #define MNCC_CH_SDCCH (0x0) /* SDCCH channel */
239 #define MNCC_CH_TCH_F (0x1) /* TCH Fullrate */
240 #define MNCC_CH_TCH_H (0x2) /* TCH Halfrate */
241
242 /*
243 * Value constants for VAL_more_data
244 */
245 #define MNCC_MD_NO_MORE_DATA (0x0) /* no more data */
246 #define MNCC_MD_MORE_DATA (0x1) /* more data */
247 #define MNCC_MD_NOT_PRES (0xff) /* not present */
248
249 /*
250 * Value constants for VAL_prio
251 */
252 #define MNCC_PRIO_NORM_CALL (0x0) /* normal call */
253 #define MNCC_PRIO_EMERG_CALL (0x1) /* emergency call */
254
255 /*
256 * Value constants for VAL_clir_sup
257 */
258 #define MNCC_CLR_SUP (0x0) /* CLIR suppressed */
259 #define MNCC_CLR_SUP_NOT (0x1) /* CLIR not suppressed */
260 #define MNCC_CLR_NOT_PRES (0xff) /* CLIR not present */
261
262 /*
263 * Value constants for VAL_sig
264 */
265 #define MNCC_SIG_DIAL_TONE_ON (0x0) /* dial tone on */
266 #define MNCC_SIG_RING_BACK_TONE_ON (0x1) /* ring back tone on */
267 #define MNCC_SIG_INT_TONE_ON (0x2) /* intercept tone on */
268 #define MNCC_SIG_NET_CONG_TONE_ON (0x3) /* network congestion tone on */
269 #define MNCC_SIG_BUSY_TONE_ON (0x4) /* busy tone on */
270 #define MNCC_SIG_CONF_TONE_ON (0x5) /* confirm tone on */
271 #define MNCC_SIG_ANS_TONE_ON (0x6) /* answer tone on */
272 #define MNCC_SIG_CALL_WAIT_TONE_ON (0x7) /* call waiting tone on */
273 #define MNCC_SIG_OFF_HOOK_WARN_TONE_ON (0x8) /* off-hook warning tone on */
274 #define MNCC_SIG_TONES_OFF (0x3f) /* tones off */
275 #define MNCC_SIG_ALERT_OFF (0x4f) /* alerting off */
276 #define MNCC_SIG_NOT_PRES (0xff) /* not present */
277
278 /*
279 * Value constants for VAL_congest_lev
280 */
281 #define MNCC_CL_RECEIVER_READY (0x0) /* receiver ready */
282 #define MNCC_CL_RECEIVER_NOT_READY (0xf) /* receiver not ready */
283 #define MNCC_CL_NOT_PRES (0xff) /* not present */
284
285 /*
286 * Value constants for VAL_ss_version
287 */
288 #define MNCC_SS_VERSION_2 (0x0) /* phase 2 service, ellipsis notation and phase 2 error handling */
289 #define MNCC_SS_VERSION_3 (0x1) /* SS-Protocol version 3 and phase 2 error handling */
290 #define MNCC_SS_VER_NOT_PRES (0xff) /* not present */
291
292 /*
293 * Value constants for VAL_ri
294 */
295 #define MNCC_RI_CIRCULAR (0x1) /* circular */
296 #define MNCC_RI_FALLBACK (0x2) /* fallback */
297 #define MNCC_RI_SEQUENTIAL (0x3) /* sequential */
298 #define MNCC_RI_NOT_PRES (0xff) /* not present */
299
300 /*
301 * Value constants for VAL_transfer_cap
302 */
303 #define MNCC_ITC_NONE (0x0) /* No ITC - i.e. 3,1 kHz Audio */
304 #define MNCC_ITC_UDI (0x1) /* Unrestricted Digital */
305 #define MNCC_ITC_RDI (0x2) /* Restricted Digital */
306
307 /*
308 * Value constants for VAL_parity
309 */
310 #define MNCC_PARITY_ODD (0x0) /* odd parity */
311 #define MNCC_PARITY_EVEN (0x2) /* even parity */
312 #define MNCC_PARITY_NONE (0x3) /* no parity */
313 #define MNCC_PARITY_FORCED_TO_0 (0x4) /* parity forced to zero */
314 #define MNCC_PARITY_FORCED_TO_1 (0x5) /* parity forced to one */
315
316 /*
317 * Value constants for VAL_bearer_serv
318 */
319 #define MNCC_BEARER_SERV_SYNC (0x0) /* synchronous */
320 #define MNCC_BEARER_SERV_ASYNC (0x1) /* asynchronous */
321 #define MNCC_BEARER_SERV_PAD_ACCESS (0x2) /* PAD access (async) */
322 #define MNCC_BEARER_SERV_PACKET_ACCESS (0x3) /* packet access (sync) */
323 #define MNCC_BEARER_SERV_FAX (0x4) /* fax */
324 #define MNCC_BEARER_SERV_SPEECH (0x5) /* Speech */
325 #define MNCC_BEARER_SERV_AUX_SPEECH (0x6) /* Auxiliary Speech */
326 #define MNCC_BEARER_SERV_SPEECH_CTM (0x7) /* Speech with CTM (TTY) support */
327 #define MNCC_BEARER_SERV_AUX_SPEECH_CTM (0x8) /* Auxiliary Speech CTM (TTY) support */
328 #define MNCC_BEARER_SERV_NOT_PRES (0xff) /* not present */
329
330 /*
331 * Value constants for VAL_modem_type
332 */
333 #define MNCC_MT_NONE (0x0) /* modem type none */
334 #define MNCC_MT_V21 (0x1) /* modem type V.21 */
335 #define MNCC_MT_V22 (0x2) /* modem type V.22 */
336 #define MNCC_MT_V22_BIS (0x3) /* modem type V.22bis */
337 #define MNCC_MT_V23 (0x4) /* modem type V.23 */
338 #define MNCC_MT_V26_TER (0x5) /* modem type V.26ter */
339 #define MNCC_MT_V32 (0x6) /* modem type V.32 */
340 #define MNCC_MT_UNDEF (0x7) /* modem type for undefined interface */
341 #define MNCC_MT_AUTOBAUD (0x8) /* modem type autobauding type 1 */
342 #define MNCC_MT_V32_BIS (0x9) /* modem type V.32bis */
343 #define MNCC_MT_V34 (0xa) /* modem type V.34 */
344
345 /*
346 * Value constants for VAL_rate
347 */
348 #define MNCC_UR_0_3_KBIT (0x1) /* rate : 0.3 kbit/s Recommendation X.1 and V.110 */
349 #define MNCC_UR_1_2_KBIT (0x2) /* rate : 1.2 kbit/s Recommendation X.1 and V.110 */
350 #define MNCC_UR_2_4_KBIT (0x3) /* rate : 2.4 kbit/s Recommendation X.1 and V.110 */
351 #define MNCC_UR_4_8_KBIT (0x4) /* rate : 4.8 kbit/s Recommendation X.1 and V.110 */
352 #define MNCC_UR_9_6_KBIT (0x5) /* rate : 9.6 kbit/s Recommendation X.1 and V.110 */
353 #define MNCC_UR_12_0_KBIT_TRANS (0x6) /* rate : 12.0 kbit/s transparent */
354 #define MNCC_UR_1_2_KBIT_V23 (0x7) /* rate : 1.2 kbit/s/75 bit/s Recommendation V.23, X.1,V.110. */
355 #define MNCC_UR_14_4_KBIT (0x8) /* rate : 14.4 kbit/s */
356 #define MNCC_UR_NOT_PRES (0xff) /* not present */
357
358 /*
359 * Value constants for VAL_flow_control
360 */
361 #define MNCC_INBAND_FLOW_CONTROL (0x8) /* inband flow control (ISO 6429) */
362 #define MNCC_NO_FLOW_CONTROL (0xc) /* no flow control (COPnoFLCT) */
363 #define MNCC_OUTBAND_FLOW_CONTROL (0xff) /* outband flow control */
364
365 /*
366 * Value constants for VAL_conn_elem
367 */
368 #define MNCC_CONN_ELEM_TRANS (0x0) /* transparent */
369 #define MNCC_CONN_ELEM_NON_TRANS (0x1) /* non transparent (RLP) */
370 #define MNCC_CONN_ELEM_TRANS_PREF (0x2) /* both, transparent preferred */
371 #define MNCC_CONN_ELEM_NON_TRANS_PREF (0x3) /* both, non transparent (RLP) preferred */
372 #define MNCC_CONN_ELEM_NOT_PRES (0xff) /* not present */
373
374 /*
375 * Value constants for VAL_stop_bits
376 */
377 #define MNCC_STOP_1_BIT (0x0) /* one stop bit */
378 #define MNCC_STOP_2_BIT (0x1) /* two stop bits */
379
380 /*
381 * Value constants for VAL_rate_adaption
382 */
383 #define MNCC_RATE_ADAPT_NONE (0x0) /* No rate adaption */
384 #define MNCC_RATE_ADAPT_V110 (0x1) /* Information transfer capability for ISDN Asynchronous */
385 #define MNCC_RATE_ADAPT_X31 (0x2) /* X.31 Flag stuffing */
386 #define MNCC_RATE_ADAPT_V120 (0x3) /* Information transfer capability for ISDN Synchronous */
387 #define MNCC_RATE_ADAPT_H223_H245 (0x4) /* H.223 and H.245 */
388 #define MNCC_RATE_ADAPT_PIAFS (0x5) /* PIAFS */
389
390 /*
391 * Value constants for VAL_data_bits
392 */
393 #define MNCC_DATA_7_BIT (0x0) /* seven data bits */
394 #define MNCC_DATA_8_BIT (0x1) /* eight data bits */
395
396 /*
397 * Value constants for VAL_diagnostic
398 */
399 #define MNCC_DIAG_MOC_BAR_CUG (0x81) /* Outgoing calls barred within CUG */
400 #define MNCC_DIAG_NO_CUG_SELECTED (0x82) /* No CUG selected */
401 #define MNCC_DIAG_UNKNOWN_CUG_INDEX (0x83) /* Unknown CUG index */
402 #define MNCC_DIAG_INCOMPAT_CUG_INDEX (0x84) /* CUG index incompatible with requested basic service */
403 #define MNCC_DIAG_CUG_FAIL_UNSPEC (0x85) /* CUG call Failure unspecified */
404 #define MNCC_DIAG_CLIR_NOT_SUBSCRIBED (0x86) /* CLIR not subscribed */
405 #define MNCC_DIAG_CCBS_POSSIBLE (0x87) /* CCBS possible */
406 #define MNCC_DIAG_CCBS_NOT_POSSIBLE (0x88) /* CCBS not possible */
407
408 /*
409 * Value constants for VAL_ss_diag
410 */
411 #define MNCC_SS_DIAG_MOC_BAR_CUG (0x1) /* Outgoing calls barred within CUG */
412 #define MNCC_SS_DIAG_NO_CUG_SELECTED (0x2) /* No CUG selected */
413 #define MNCC_SS_DIAG_UNKNOWN_CUG_INDEX (0x3) /* Unknown CUG index */
414 #define MNCC_SS_DIAG_INCOMPAT_CUG_INDEX (0x4) /* CUG index incompatible with requested basic service */
415 #define MNCC_SS_DIAG_CUG_FAIL_UNSPEC (0x5) /* CUG call Failure unspecified */
416 #define MNCC_SS_DIAG_CLIR_NOT_SUBSCRIBED (0x6) /* CLIR not subscribed */
417 #define MNCC_SS_DIAG_CCBS_POSSIBLE (0x7) /* CCBS possible */
418 #define MNCC_SS_DIAG_CCBS_NOT_POSSIBLE (0x8) /* CCBS not possible */
419 #define MNCC_SS_DIAG_NOT_PROVIDED (0xff) /* Not Provided */
420
421 /*
422 * Value constants for VAL_sns_mode
423 */
424 #define MNCC_SNS_MODE_VOICE (0x0) /* voice calls */
425 #define MNCC_SNS_MODE_VAF_VOICE (0x1) /* voice alternating FAX, voice first */
426 #define MNCC_SNS_MODE_FAX (0x2) /* FAX calls */
427 #define MNCC_SNS_MODE_VAD_VOICE (0x3) /* voice alternating data, voice first */
428 #define MNCC_SNS_MODE_DATA (0x4) /* data calls */
429 #define MNCC_SNS_MODE_VAF_FAX (0x5) /* voice alternating FAX, FAX first */
430 #define MNCC_SNS_MODE_VAD_DATA (0x6) /* voice alternating data, data first */
431 #define MNCC_SNS_MODE_VFD (0x7) /* voice followed by data */
432
433 /*
434 * Value constants for VAL_dtmf_mod
435 */
436 #define MNCC_DTMF_MOD_AUTO (0x0) /* automatic mode with fixed duration */
437 #define MNCC_DTMF_MOD_MAN_START (0x1) /* manual mode start sending DTMF digit */
438 #define MNCC_DTMF_MOD_MAN_STOP (0x2) /* manual mode stop sending DTMF digit */
439
440 /*
441 * Value constants for VAL_bc_mod
442 */
443 #define MNCC_BC_MOD_CODE (0x0) /* code bearer capabilities */
444 #define MNCC_BC_MOD_DECODE (0x1) /* decode bearer capabilities */
445
446 /*
447 * Value constants for VAL_rcl_type
448 */
449 #define MNCC_RCL_CCBS (0x0) /* CCBS */
450 #define MNCC_RCL_CCBS_1 (0x1) /* treated as CCBS */
451 #define MNCC_RCL_CCBS_2 (0x2) /* treated as CCBS */
452 #define MNCC_RCL_CCBS_3 (0x3) /* treated as CCBS */
453 #define MNCC_RCL_CCBS_4 (0x4) /* treated as CCBS */
454 #define MNCC_RCL_CCBS_5 (0x5) /* treated as CCBS */
455 #define MNCC_RCL_CCBS_6 (0x6) /* treated as CCBS */
456
457 /*
458 * Value constants for VAL_synccs
459 */
460 #define MNCC_SYNCCS_MPTY_EVENT (0x0) /* Multi party event */
461 #define MNCC_SYNCCS_NOT_PRESENT (0xffff) /* Synchronization cause not present */
462
463 /*
464 * Value constants for VAL_mpty_event
465 */
466 #define MNCC_MPTY_BUILD_SENT (0x0) /* BuildMPTY Invoke sent */
467 #define MNCC_MPTY_BUILD_FAIL (0x1) /* BuildMPTY Invoke failed */
468 #define MNCC_MPTY_BUILD_SUCCESS (0x2) /* BuildMPTY Invoke ok */
469 #define MNCC_MPTY_SPLIT_SENT (0x3) /* SplitMPTY Invoke sent */
470 #define MNCC_MPTY_SPLIT_FAIL (0x4) /* SplitMPTY Invoke failed */
471 #define MNCC_MPTY_SPLIT_SUCCESS (0x5) /* SplitMPTY Invoke Return Result ok */
472 #define MNCC_MPTY_HOLD_SENT (0x6) /* HoldMPTY Invoke sent */
473 #define MNCC_MPTY_HOLD_FAIL (0x7) /* HoldMPTY Invoke failed */
474 #define MNCC_MPTY_HOLD_SUCCESS (0x8) /* HoldMPTY Invoke ok */
475 #define MNCC_MPTY_RETRIEVE_SENT (0x9) /* RetrieveMPTY Invoke */
476 #define MNCC_MPTY_RETRIEVE_FAIL (0xa) /* RetrieveMPTY Invoke failed */
477 #define MNCC_MPTY_RETRIEVE_SUCCESS (0xb) /* RetrieveMPTY Invoke Return Result ok */
478 #define MNCC_MPTY_NOT_PRESENT (0xff) /* Parameter not present */
479
480 /*
481 * Value constants for VAL_ctm_ena
482 */
483 #define MNCC_CTM_DISABLED (0x0) /* CTM not supported */
484 #define MNCC_CTM_ENABLED (0x1) /* CTM supported */
485
486 /*
487 * Value constants for VAL_ton
488 */
489 #define MNCC_TON_UNKNOWN (0x0) /* unknown */
490 #define MNCC_TON_INT_NUMB (0x1) /* international number */
491 #define MNCC_TON_NAT_NUMB (0x2) /* national number */
492 #define MNCC_TON_NET_SPEC_NUMB (0x3) /* network specific number */
493 #define MNCC_TON_DED_ACC_SC (0x4) /* dedicated access, short code */
494 #define MNCC_TON_NOT_PRES (0xff) /* type of number not present */
495
496 /*
497 * Value constants for VAL_npi
498 */
499 #define MNCC_NPI_UNKNOW (0x0) /* unknown */
500 #define MNCC_NPI_ISDN_TEL_NUMB_PLAN (0x1) /* ISDN/telephony numbering plan */
501 #define MNCC_NPI_DATA_NUMB_PLAN (0x3) /* data numbering plan */
502 #define MNCC_NPI_TELEX_NUMB_PLAN (0x4) /* telex numbering plan */
503 #define MNCC_NPI_NAT_NUMB_PLAN (0x8) /* national numbering plan */
504 #define MNCC_NPI_PRIV_NUMB_PLAN (0x9) /* private numbering plan */
505 #define MNCC_NPI_NOT_PRES (0xff) /* numbering plan identification not present */
506
507 /*
508 * Value constants for VAL_present
509 */
510 #define MNCC_PRES_PRES_ALLOW (0x0) /* presentation allowed */
511 #define MNCC_PRES_PRES_REST (0x1) /* presentation restricted */
512 #define MNCC_PRES_NUMB_NOT_AVAIL (0x2) /* number not available due to interworking */
513 #define MNCC_PRES_NOT_PRES (0xff) /* not present */
514
515 /*
516 * Value constants for VAL_screen
517 */
518 #define MNCC_SCREEN_USER_PROV_NOT_SCREEN (0x0) /* user provided, not screened */
519 #define MNCC_SCREEN_USER_PROV_VER_PASS (0x1) /* user provided, verified and passed */
520 #define MNCC_SCREEN_USER_PROV_VER_FAIL (0x2) /* user provided, verified and failed */
521 #define MNCC_SCREEN_NET_PROV (0x3) /* network provided */
522 #define MNCC_SCREEN_IND_NOT_PRES (0xff) /* not present */
523
524 /*
525 * user defined constants
526 */
527 #define MNCC_FACILITY_LEN (0xfb)
528 #define MNCC_USER_LEN (0x80)
529 #define MNCC_MAX_CC_CALLING_NUMBER (0x16)
530 #define MNCC_MAX_CC_REDIR_NUMBER (0x20)
531 #define MNCC_MAX_CC_CALLED_NUMBER (0x50)
532 #define MNCC_SUB_LENGTH (0x14)
533 #define MNCC_MAX_BC_LEN (0xa)
534 #define MNCC_CC_ORIGINATING_ENTITY (0x5)
535 #define MNCC_ACI_ORIGINATING_ENTITY (0x1)
536 #define MNCC_TI_BERLIN (0x1)
537 #define MNCC_MAX_CC_CAUSE_LENGTH (0x1e)
538
539 #include "CDG_LEAVE.h"
540
541
542 #endif