aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nodes.vty
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-07-29 16:14:48 +0200
committerHarald Welte <laforge@gnumonks.org>2018-07-30 17:43:10 +0200
commitdab544e14bedb990a3cbcc0df53a97d1bb24e973 (patch)
tree5a892918ab5c4e1c001c2361f8957b63ac615082 /tests/test_nodes.vty
parent7d29d59292c5357537665fdf3a1f2022c79ae604 (diff)
USSD: Add support for internal USSD handlers
There are some requests that are best served inside the HLR, as it has access to subscriber information such as MSISDN and IMSI. This unfortunately required quite some restructuring of the USSD related structures including the VTY syntax for adding routes. The default config file has been updated to replicate the *#100# built-in behavior of old OsmoNITB. Closes: OS#2566 Change-Id: I1d09fab810a6bb9ab02904de72dbc9e8a414f9f9
Diffstat (limited to 'tests/test_nodes.vty')
-rw-r--r--tests/test_nodes.vty6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
index 4badad5..58f5c61 100644
--- a/tests/test_nodes.vty
+++ b/tests/test_nodes.vty
@@ -72,6 +72,11 @@ OsmoHLR(config-hlr)# list
gsup
euse NAME
no euse NAME
+ ussd route prefix PREFIX internal (own-msisdn|own-imsi)
+ ussd route prefix PREFIX external EUSE
+ no ussd route prefix PREFIX
+ ussd default-route external EUSE
+ no ussd default-route
OsmoHLR(config-hlr)# gsup
OsmoHLR(config-hlr-gsup)# list
@@ -122,4 +127,5 @@ ctrl
hlr
gsup
bind ip 127.0.0.1
+ ussd route prefix *#100# internal own-msisdn
end