aboutsummaryrefslogtreecommitdiffstats
path: root/src/hlr_ussd.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-12-01 00:03:39 +0700
committerHarald Welte <laforge@gnumonks.org>2018-12-05 19:45:34 +0000
commitd157a56361c9b42bc63dc998183b2c4471a5ef04 (patch)
tree0c6355920452124c7195ecf7aa2397571f7f9e28 /src/hlr_ussd.h
parent9c8806acf537fec0cec279da19185e857ac39470 (diff)
SS/USSD: make NCSS session timeout configurable
It may happen that either the MS or an ESME would become unresponsive, e.g. due to a bug, or a dropped message. This is why we have SS session timeout, that prevents keeping 'stalled' sessions forever. Let's introduce a VTY option, which can be used to configure this timer (by default it's set to 30 seconds): hlr ... ! Use 0 to disable this timer ncss-guard-timeout 30 Change-Id: I971fc2cee6fd46d4d5d6dac6c634e0b22fff183d Related: OS#3717
Diffstat (limited to 'src/hlr_ussd.h')
-rw-r--r--src/hlr_ussd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hlr_ussd.h b/src/hlr_ussd.h
index 0414924..393ca6c 100644
--- a/src/hlr_ussd.h
+++ b/src/hlr_ussd.h
@@ -7,6 +7,8 @@
#include "gsup_server.h"
+#define NCSS_GUARD_TIMEOUT_DEFAULT 30
+
struct hlr_ussd_route {
/* g_hlr.routes */
struct llist_head list;