MTP2 LSC: ignore SIOS in out_of_service state
diff --git a/src/mtp2_lsc.erl b/src/mtp2_lsc.erl
index 9bcce0d..3cdf59a 100644
--- a/src/mtp2_lsc.erl
+++ b/src/mtp2_lsc.erl
@@ -135,6 +135,11 @@
What == level3_failure ->
{next_state, out_of_service, LoopDat#lsc_state{local_proc_out=1}};
+out_of_service(si_os, LoopDat) ->
+ % this transition is not specified in Q.703, but it makes
+ % quite a bit of sense. yate M2PA requires it, too.
+ {next_state, out_of_service, LoopDat};
+
out_of_service(local_processor_recovered, LoopDat) ->
{next_state, out_of_service, LoopDat#lsc_state{local_proc_out=0}}.