aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-05-17 19:01:43 +0200
committerlaforge <laforge@osmocom.org>2022-05-19 19:34:41 +0000
commita3c639ff5fe3c127ec000904840f0fd0bf1b221b (patch)
treeddf757363438cf461fb75c5b57827f910f3a2763 /tests
parent2765a18450bd4ff960a438e9717fed4f876301c8 (diff)
sms: Introduce VTY-configurable minimum SMS validity period
This is meant as a safeguard against users or user equipment which doesn't set a reasonable validity period. Using this setting, the SMSC administrator can set a minimum SMS validity period. Any SMS submitted with lower validity period will be extended to that minimum. Change-Id: I192528a6f9059d158fa12876a247d61bd7edaec8 Related: OS#5567
Diffstat (limited to 'tests')
-rw-r--r--tests/test_nodes.vty1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
index cb617fc7c..8ffb2bdf9 100644
--- a/tests/test_nodes.vty
+++ b/tests/test_nodes.vty
@@ -183,6 +183,7 @@ smsc
queue max-failure 1
database delete-delivered 1
database delete-expired 1
+ validity-period minimum 1
validity-period default 10080
end