aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-04-09 19:19:33 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-09 19:19:33 +0200
commit39b5548808a7cae88ec525b8841ceff46e6cea62 (patch)
treed70feeef2344ffd4c72bcbd9b9e2a4b98c1571f5 /tests
parent0e2fa5dcb55f77f282f926570b6da0459bd3971c (diff)
Permit any Sender MSISDN when sending SMS from VTY
In the old days, OsmoNITB couldn't process any SMS that wasn't between two subscribers on the same NITB. We've long re-worked the internals in order to process SMS with arbitrary sender MSISDN (e.g. from SMPP). However, the VTY command "subscriber ... sms" was never updated, it seems. Change-Id: I62b17e0a67989484415f0df2c8cb4ff1f94dbf2b Closes: OS#3151
Diffstat (limited to 'tests')
-rw-r--r--tests/msc_vlr/msc_vlr_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c
index 7c54057ab..45ab5e113 100644
--- a/tests/msc_vlr/msc_vlr_tests.c
+++ b/tests/msc_vlr/msc_vlr_tests.c
@@ -294,7 +294,7 @@ void send_sms(struct vlr_subscr *receiver,
struct vlr_subscr *sender,
char *str)
{
- struct gsm_sms *sms = sms_from_text(receiver, sender, 0, str);
+ struct gsm_sms *sms = sms_from_text(receiver, sender->msisdn, 0, str);
gsm411_send_sms_subscr(receiver, sms);
}