aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nodes.vty
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-05-17 19:01:43 +0200
committerHarald Welte <laforge@osmocom.org>2022-05-17 19:30:46 +0200
commit8ceab5f076119946f5918280b1a15a4223445609 (patch)
tree5ce6440aed0b0f7981c5bf878ea6f31f17201f63 /tests/test_nodes.vty
parenta03416b80661c4fc9d4303c6a1554252dc6e3a8c (diff)
sms: Introduce VTY-configurable minimum SMS validity periodlaforge/sqlite3
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/test_nodes.vty')
-rw-r--r--tests/test_nodes.vty2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
index ac3ff1639..8ffb2bdf9 100644
--- a/tests/test_nodes.vty
+++ b/tests/test_nodes.vty
@@ -183,6 +183,8 @@ smsc
queue max-failure 1
database delete-delivered 1
database delete-expired 1
+ validity-period minimum 1
+ validity-period default 10080
end
OsmoMSC# configure terminal