annotate include/gsm48_const.h @ 63:e5aee661e3b2

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