osmith has uploaded this change for review.
hlr: pyhss: add ussd configuration
Configure the same strings for returning MSISDN and IMSI as in OsmoHLR,
because this is what the tests expect.
Related: https://github.com/nickvsnetworking/pyhss/pull/302
Change-Id: I7d2f62e6c034e3fd3c5dce048ccb297f4dea7825
---
M hlr/pyhss/config.yaml
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/46/43146/1
diff --git a/hlr/pyhss/config.yaml b/hlr/pyhss/config.yaml
index 61b819e..fab36e9 100644
--- a/hlr/pyhss/config.yaml
+++ b/hlr/pyhss/config.yaml
@@ -75,6 +75,13 @@
gsup:
bind_ip: "127.0.0.1"
bind_port: 4222
+ ussd:
+ unknown_code_msg: "The USSD code you have entered is not recognized."
+ codes:
+ - code: "*#100#"
+ msg: "Your extension is %msisdn%"
+ - code: "*#101#"
+ msg: "Your IMSI is %imsi%"
api:
page_size: 200
To view, visit change 43146. To unsubscribe, or for help writing mail filters, visit settings.