[S] Change in libosmocore[master]: gsm_04_08.h: add presentation and screening indicators of calling number
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/44194?usp=email ) 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(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/94/44194/1 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: newchange Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I0f7228d763dc8eb163ebef940eee9cff7cfc8b70 Gerrit-Change-Number: 44194 Gerrit-PatchSet: 1 Gerrit-Owner: falconia <falcon@freecalypso.org>
participants (1)
-
falconia