From 4d08a71c986e66e126c66ceb71bad605af8e63d3 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 19 Jan 2012 22:30:17 +0100 Subject: MTP2 IAC: ignore SIOS in not_aligned state --- src/mtp2_iac.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mtp2_iac.erl b/src/mtp2_iac.erl index d23aaf0..1b756b7 100644 --- a/src/mtp2_iac.erl +++ b/src/mtp2_iac.erl @@ -146,6 +146,10 @@ not_aligned(What, LoopDat) when What == si_o; What == si_n -> not_aligned(emergency, LoopDat) -> % mark emergency {next_state, not_aligned, LoopDat#iac_state{emergency=1}}; +not_aligned(si_os, LoopDat) -> + % ignore SIOS in this state, as some implementations (notably + % yate) seem to send it in violation of the spec + {next_state, not_aligned, LoopDat}; not_aligned({timer_expired, t2}, LoopDat) -> % send 'alignment not possible' to LSC send_to_lsc(alignment_not_possible, LoopDat), -- cgit v1.2.3