mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
synced 2025-11-02 13:13:29 +00:00
own-msisdn: say "Your phone number is %s"
The own-msisdn internal USSD handler in OsmoHLR traditionally says "Your extension is %s", where %s is the MSISDN in the subscriber db. However, Themyscira Wireless does not use private extensions, instead we assign a real, globally routable E.164 number (in the North American Numbering Plan, beginning with 1) to every subscriber, and our MSISDNs in OsmoHLR subscriber db are these real E.164 numbers. Therefore, the wording "Your extension is 1xxxxxxxxxx" looks very wrong to an end user, instead it is much better to say "Your phone number is ". Change-Id: I45f637c532a0397de69e1e385402e42a9a0b3ed2
This commit is contained in:
@@ -386,7 +386,7 @@ static int handle_ussd_own_msisdn(struct ss_session *ss,
|
||||
if (strlen(subscr.msisdn) == 0)
|
||||
snprintf(buf, sizeof(buf), "You have no MSISDN!");
|
||||
else
|
||||
snprintf(buf, sizeof(buf), "Your extension is %s", subscr.msisdn);
|
||||
snprintf(buf, sizeof(buf), "Your phone number is %s", subscr.msisdn);
|
||||
ss_tx_to_ms_ussd_7bit(ss, req->invoke_id, buf);
|
||||
break;
|
||||
case -ENOENT:
|
||||
|
||||
Reference in New Issue
Block a user