falconia submitted this change.
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
gsm_04_08.h: add presentation and screening indicators of calling number
Calling party BCD number IE of 3GPP TS 24.008 section 10.5.4.9
includes not only the usual TON and NPI fields of number metadata,
but also optional presentation and screening indicators. Existing
struct gsm_mncc_number has fields for these indicators, and the
existing encoding and decoding functions handle them correctly -
but code point definitions for these fields are missing. Fill that
omission.
Change-Id: I0f7228d763dc8eb163ebef940eee9cff7cfc8b70
---
M include/osmocom/gsm/protocol/gsm_04_08.h
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index b54d75c..be3275d 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -2324,3 +2324,19 @@
GSM48_NPI_CTS = 11,
/* reserved */
};
+
+/* Table 10.5.120 / 3GPP TS 24.008 Section 10.5.4.9 */
+enum gsm48_present_ind {
+ GSM48_PRES_ALLOW = 0,
+ GSM48_PRES_RESTR = 1,
+ GSM48_PRES_UNAVAIL = 2,
+ /* reserved */
+};
+
+/* Table 10.5.120 / 3GPP TS 24.008 Section 10.5.4.9 */
+enum gsm48_screen_ind {
+ GSM48_SCRN_USER_NS = 0,
+ GSM48_SCRN_USER_PASS = 1,
+ GSM48_SCRN_USER_FAIL = 2,
+ GSM48_SCRN_NETWORK = 3,
+};
To view, visit change 44194. To unsubscribe, or for help writing mail filters, visit settings.