falconia has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/44194?usp=email ) ( 2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: gsm_04_08.h: add presentation and screening indicators of calling number ...................................................................... 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(-) Approvals: pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Jenkins Builder: Verified 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 https://gerrit.osmocom.org/c/libosmocore/+/44194?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I0f7228d763dc8eb163ebef940eee9cff7cfc8b70 Gerrit-Change-Number: 44194 Gerrit-PatchSet: 3 Gerrit-Owner: falconia <falcon@freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: falconia <falcon@freecalypso.org> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>