fix E-Routing-Error: both session state / ID IEs are optional

If a message that has triggered the E-Routing-Error contains no
session related IEs, they will also be absent in the error message.

Change-Id: I0c0c84c9dbd2e53e7d1720868cc157f9e21749c2
changes/64/17864/2
Vadim Yanitskiy 3 years ago
parent 8c724025e8
commit ee15ee2b44
  1. 2
      include/gsup_protocol.hrl

@ -219,7 +219,7 @@
16#44 => #{message_type => e_forward_access_signalling_req, mandatory => [message_class, source_name, destination_name, an_apdu, session_id, session_state]},
16#47 => #{message_type => e_close, mandatory => [message_class, source_name, destination_name, session_id, session_state]},
16#4b => #{message_type => e_abort, mandatory => [message_class, session_id, session_state, bssap_cause]},
16#4e => #{message_type => e_routing_err, mandatory => [message_class, source_name, destination_name, session_id, session_state]}
16#4e => #{message_type => e_routing_err, mandatory => [message_class, source_name, destination_name], optional => [session_id, session_state]}
}).
-define(AUTH_TUPLE_MANDATORY, [rand, sres, kc]).

Loading…
Cancel
Save