aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMychaela N. Falconia <falcon@freecalypso.org>2023-09-21 01:55:51 +0000
committerMychaela N. Falconia <falcon@freecalypso.org>2023-09-21 01:56:21 +0000
commitff7c7ea0857af84357ca9a05ebeb3c0304ff6a9c (patch)
treee9cf3416cb71b0f1fdf7e6f8e48fa776a623c7e9 /tests
parentfa6af8872f8a8ce27266c42a6b5bd854d7412723 (diff)
SMS over GSUP: implement vty config of SMSC routing
At the user-visible level (advanced settings menus on phones, GSM 07.05 AT commands, SIM programming) each SMSC is identified by a numeric address that looks like a phone number, originally meant to be a Global Title. OsmoMSC passes these SMSC addresses through as-is to MO-forwardSM.req GSUP message - however, SMSCs that connect to OsmoHLR via GSUP identify themselves by their IPA names instead. Hence we need a mapping mechanism in OsmoHLR config. To accommodate different styles of network design ranging from strict recreation of classic GSM architecture to guest roaming arrangements, a two-level configuration is implemented, modeled after EUSE/USSD configuration: first one defines which SMSCs exist as entities, identified only by their IPA names, and then one defines which numeric SMSC address (in SM-RP-DA) should go to which configured SMSC, with the additional possibility of a default route. Related: OS#6135 Change-Id: I1624dcd9d22b4efca965ccdd1c74f0063a94a33c
Diffstat (limited to 'tests')
-rw-r--r--tests/test_nodes.vty7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
index 8c7e95d..4aea638 100644
--- a/tests/test_nodes.vty
+++ b/tests/test_nodes.vty
@@ -47,6 +47,7 @@ OsmoHLR(config-hlr)# ?
no Negate a command or set its defaults
ussd USSD Configuration
ncss-guard-timeout Set guard timer for NCSS (call independent SS) session activity
+ smsc Configuration of GSUP routing to SMSCs
reject-cause GSUP/GMM cause to be sent
store-imei Save the IMEI in the database when receiving Check IMEI requests. Note that an MSC does not necessarily send Check IMEI requests (for OsmoMSC, you may want to set 'check-imei-rqd 1').
subscriber-create-on-demand Make a new record when a subscriber is first seen.
@@ -63,6 +64,12 @@ OsmoHLR(config-hlr)# list
ussd default-route external EUSE
no ussd default-route
ncss-guard-timeout <0-255>
+ smsc entity NAME
+ no smsc entity NAME
+ smsc route NUMBER NAME
+ no smsc route NUMBER
+ smsc default-route NAME
+ no smsc default-route
reject-cause (not-found|no-proxy) (imsi-unknown|illegal-ms|plmn-not-allowed|la-not-allowed|roaming-not-allowed|no-suitable-cell-in-la|net-fail|congestion|auth-unacceptable|proto-error-unspec)
store-imei
no store-imei