Commit a9393127 authored by mogos's avatar mogos
Browse files

diferatiating between undecoded MSD and incorrect value

parent 819d4ccf
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -579,9 +579,14 @@ module LibItsECall_Functions {
                repeat;
            }

            [] modem.receive(mw_inbandMsdReceived(p_worker := PX_WORKERS[0].id)) {
            [] modem.receive(mw_inbandMsdReceived(p_worker := PX_WORKERS[0].id)) -> value v_modemEvent {
                if (ischosen(v_modemEvent.inbandMsdReceived.encoded)) {
                    f_stopPsapTestcase(fail, "Invalid MSD received, could not decode");
                }
                else {
                    f_stopPsapTestcase(fail, "Invalid MSD received");
                }
            }

            [] modem.receive(mw_callVoiceConnectionEstablished(p_worker := PX_WORKERS[0].id)) {
                f_stopPsapTestcase(fail, "Switch to voice communication was not expected");