path: root/include
diff options
authorPau Espin Pedrol <>2019-10-16 16:27:16 +0200
committerPau Espin Pedrol <>2019-10-24 13:23:09 +0200
commit2b139a65f07bd3afd6fb5c551b8eae2babea978c (patch)
treeb540285b02ab4f1bdb1d7d87ea2353f0d090f8e5 /include
parentb775d634f3632c4738dc4060384588e6b1cd5228 (diff)
ss7: Only override traffic mode from recv REG REQ if not set by VTY
RFC 4666 (SS7/MTP3/M3UA) states in isection ASP Active Procedures: """ If the traffic handling mode of the Application Server is not already known via configuration data, then the traffic handling mode indicated in the first ASP Active message causing the transition of the Application Server state to AS-ACTIVE MAY be used to set the mode. """ In section 3.6.1 Registration Request (REG REQ), no related information is provided on how to handle it, but still makes sense to apply same behavior as in Related: OS#4220 Change-Id: Iaebe3a93ad8d2d84ae01e41b02674f8ece9dfc95
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index 4f3d6f5..1b5fc31 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -314,6 +314,7 @@ struct osmo_ss7_as {
enum osmo_ss7_asp_protocol proto;
struct osmo_ss7_routing_key routing_key;
enum osmo_ss7_as_traffic_mode mode;
+ bool mode_set_by_vty;
uint32_t recovery_timeout_msec;
uint8_t qos_class;
struct {