diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-01-19 23:19:34 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-19 23:19:34 +0100 |
commit | e5014374e942b3ada05302c8695204162a0e9ecd (patch) | |
tree | 13fbb4fa00c61e96d4fd72890fe62deb40295bcf /src | |
parent | b064a92e1ce8ed4ae589c6b91dc47b2e019b59b6 (diff) |
MTP2 LSC: ignore SIOS in out_of_service state
Diffstat (limited to 'src')
-rw-r--r-- | src/mtp2_lsc.erl | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ out_of_service(What, LoopDat) when What == local_processor_outage; 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}}. |