FreeCalypso > hg > themwi-interim
annotate include/gsm48_const.h @ 1:b161dbfffdaa
include, libutil: port from old ThemWi
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 08 Jun 2024 23:06:53 +0000 |
parents | |
children |
rev | line source |
---|---|
1
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * This header file contains some GSM 04.08 constants pulled from |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * Osmocom header file <osmocom/gsm/protocol/gsm_04_08.h>, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * beyond those included in mncc.h essential interface definition. |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 #ifndef __GSM48_CONST_H |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 #define __GSM48_CONST_H |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 enum gsm48_chan_mode { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 GSM48_CMODE_SIGN = 0x00, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 GSM48_CMODE_SPEECH_V1 = 0x01, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 GSM48_CMODE_SPEECH_EFR = 0x21, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 GSM48_CMODE_SPEECH_AMR = 0x41, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 GSM48_CMODE_DATA_14k5 = 0x0f, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 GSM48_CMODE_DATA_12k0 = 0x03, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 GSM48_CMODE_DATA_6k0 = 0x0b, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 GSM48_CMODE_DATA_3k6 = 0x13, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 GSM48_CMODE_SPEECH_V1_VAMOS = 0xc1, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 GSM48_CMODE_SPEECH_V2_VAMOS = 0xc2, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 GSM48_CMODE_SPEECH_V3_VAMOS = 0xc3, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 GSM48_CMODE_SPEECH_V5_VAMOS = 0xc5, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 /* Section 10.5.4.21 / Table 10.5.127 */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 enum gsm48_progress_desc { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 GSM48_PROGR_NOT_E2E = 0x00, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 GSM48_PROGR_DEST_NOT_PLMN = 0x02, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 GSM48_PROGR_ORIG_NOT_PLMN = 0x03, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 GSM48_PROGR_RETURNED = 0x04, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 GSM48_PROGR_IN_BAND_AVAIL = 0x08, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 GSM48_PROGR_CALL_E2E = 0x20, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 GSM48_PROGR_QUEUEING = 0x40, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 /* Section 10.5.4.23 / Table 10.5.130 */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 enum gsm48_signal_val { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 GSM48_SIGNAL_DIALTONE = 0x00, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 GSM48_SIGNAL_RINGBACK = 0x01, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 GSM48_SIGNAL_INTERCEPT = 0x02, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 GSM48_SIGNAL_NET_CONG = 0x03, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 GSM48_SIGNAL_BUSY = 0x04, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 GSM48_SIGNAL_CONFIRM = 0x05, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 GSM48_SIGNAL_ANSWER = 0x06, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 GSM48_SIGNAL_CALL_WAIT = 0x07, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 GSM48_SIGNAL_OFF_HOOK = 0x08, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 GSM48_SIGNAL_OFF = 0x3f, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 GSM48_SIGNAL_ALERT_OFF = 0x4f, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 /* Section 10.5.4.11 / Table 10.5.122 */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 enum gsm48_cause_coding { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 GSM48_CAUSE_CODING_CCITT_Q931 = 0x00, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 GSM48_CAUSE_CODING_RESERVED = 0x01, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 GSM48_CAUSE_CODING_NATIONAL = 0x02, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 GSM48_CAUSE_CODING_GSM = 0x03, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 enum gsm48_cause_loc { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 GSM48_CAUSE_LOC_USER = 0x00, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 GSM48_CAUSE_LOC_PRN_S_LU = 0x01, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 GSM48_CAUSE_LOC_PUN_S_LU = 0x02, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 GSM48_CAUSE_LOC_TRANS_NET = 0x03, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 GSM48_CAUSE_LOC_PUN_S_RU = 0x04, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 GSM48_CAUSE_LOC_PRN_S_RU = 0x05, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 /* not defined */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 GSM48_CAUSE_LOC_INN_NET = 0x07, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 GSM48_CAUSE_LOC_NET_BEYOND = 0x0a, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 /* Section 10.5.4.11 CC Cause / Table 10.5.123 */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 enum gsm48_cc_cause { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 GSM48_CC_CAUSE_UNASSIGNED_NR = 1, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 GSM48_CC_CAUSE_NO_ROUTE = 3, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 GSM48_CC_CAUSE_CHAN_UNACCEPT = 6, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 GSM48_CC_CAUSE_OP_DET_BARRING = 8, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 GSM48_CC_CAUSE_NORM_CALL_CLEAR = 16, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 GSM48_CC_CAUSE_USER_BUSY = 17, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 GSM48_CC_CAUSE_USER_NOTRESPOND = 18, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 GSM48_CC_CAUSE_USER_ALERTING_NA = 19, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 GSM48_CC_CAUSE_CALL_REJECTED = 21, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 GSM48_CC_CAUSE_NUMBER_CHANGED = 22, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 GSM48_CC_CAUSE_PRE_EMPTION = 25, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 GSM48_CC_CAUSE_NONSE_USER_CLR = 26, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 GSM48_CC_CAUSE_DEST_OOO = 27, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 GSM48_CC_CAUSE_INV_NR_FORMAT = 28, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 GSM48_CC_CAUSE_FACILITY_REJ = 29, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 GSM48_CC_CAUSE_RESP_STATUS_INQ = 30, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 GSM48_CC_CAUSE_NORMAL_UNSPEC = 31, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 GSM48_CC_CAUSE_NO_CIRCUIT_CHAN = 34, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 GSM48_CC_CAUSE_NETWORK_OOO = 38, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 GSM48_CC_CAUSE_TEMP_FAILURE = 41, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 GSM48_CC_CAUSE_SWITCH_CONG = 42, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 GSM48_CC_CAUSE_ACC_INF_DISCARD = 43, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 GSM48_CC_CAUSE_REQ_CHAN_UNAVAIL = 44, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 GSM48_CC_CAUSE_RESOURCE_UNAVAIL = 47, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 GSM48_CC_CAUSE_QOS_UNAVAIL = 49, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 GSM48_CC_CAUSE_REQ_FAC_NOT_SUBSC= 50, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 GSM48_CC_CAUSE_INC_BARRED_CUG = 55, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 GSM48_CC_CAUSE_BEARER_CAP_UNAUTH= 57, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 GSM48_CC_CAUSE_BEARER_CA_UNAVAIL= 58, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 GSM48_CC_CAUSE_SERV_OPT_UNAVAIL = 63, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 GSM48_CC_CAUSE_BEARERSERV_UNIMPL= 65, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 GSM48_CC_CAUSE_ACM_GE_ACM_MAX = 68, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 GSM48_CC_CAUSE_REQ_FAC_NOTIMPL = 69, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 GSM48_CC_CAUSE_RESTR_BCAP_AVAIL = 70, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 GSM48_CC_CAUSE_SERV_OPT_UNIMPL = 79, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 GSM48_CC_CAUSE_INVAL_TRANS_ID = 81, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 GSM48_CC_CAUSE_USER_NOT_IN_CUG = 87, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 GSM48_CC_CAUSE_INCOMPAT_DEST = 88, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 GSM48_CC_CAUSE_INVAL_TRANS_NET = 91, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 GSM48_CC_CAUSE_SEMANTIC_INCORR = 95, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 GSM48_CC_CAUSE_INVAL_MAND_INF = 96, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 GSM48_CC_CAUSE_MSGTYPE_NOTEXIST = 97, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 GSM48_CC_CAUSE_MSGTYPE_INCOMPAT = 98, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 GSM48_CC_CAUSE_IE_NOTEXIST = 99, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 GSM48_CC_CAUSE_COND_IE_ERR = 100, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 GSM48_CC_CAUSE_MSG_INCOMP_STATE = 101, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 GSM48_CC_CAUSE_RECOVERY_TIMER = 102, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 GSM48_CC_CAUSE_PROTO_ERR = 111, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 GSM48_CC_CAUSE_INTERWORKING = 127, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 /* Table 10.5.118 / 3GPP TS 24.008 Section 10.5.4.7 */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 enum gsm48_type_of_number { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 GSM48_TON_UNKNOWN = 0, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 GSM48_TON_INTERNATIONAL = 1, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 GSM48_TON_NATIONAL = 2, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 GSM48_TON_NET_SPEC = 3, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 GSM48_TON_SHORT_CODE = 4, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 /* reserved */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 /* Table 10.5.118 / 3GPP TS 24.008 Section 10.5.4.7 */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 enum gsm48_numbering_plan { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 GSM48_NPI_UNKNOWN = 0, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 GSM48_NPI_ISDN_E164 = 1, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 GSM48_NPI_DATA_X121 = 3, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 GSM48_NPI_TELEX_F69 = 4, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 GSM48_NPI_NATIONAL = 8, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 GSM48_NPI_PRIVATE = 9, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 GSM48_NPI_CTS = 11, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 /* reserved */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 /* local addition, not from Osmocom: Table 10.5.120 from same spec as above */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 enum gsm48_present_ind { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 GSM48_PRES_ALLOW = 0, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 GSM48_PRES_RESTR = 1, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 GSM48_PRES_UNAVAIL = 2, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 /* reserved */ |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 enum gsm48_screen_ind { |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 GSM48_SCRN_USER_NS = 0, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 GSM48_SCRN_USER_PASS = 1, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 GSM48_SCRN_USER_FAIL = 2, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 GSM48_SCRN_NETWORK = 3, |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 }; |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 |
b161dbfffdaa
include, libutil: port from old ThemWi
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
163 #endif /* include guard */ |