osmo-ttcn3-hacks/msc
Neels Hofmeyr c47ce855c1 msc: detect RTP to CN failure in call tests
When CN RTP is missing, the X2 timer will fire after all other call
signalling looks successful. So far we establish an MT call, wait three
seconds and directly disconnect, long before X2 or X2427 can fire.

Make X2 shorter. (By means of f_vty_config() from ttcn, so that we don't
need to edit various osmo-msc.cfg in various repositories. The short
timer is always critical for the test to be accurate.)

Add proper function to detect premature disconnect. Otherwise we just
get a cryptic message like "Couldn't find MnccExpect for incoming call"
because of MNCC messaging after the unexpected release event.

Change-Id: I3ccf541360cc8440e664f0e29494b9ce7b6f8943
2023-03-14 20:19:48 +00:00
..
BSC_ConnectionHandler.ttcn msc: detect RTP to CN failure in call tests 2023-03-14 20:19:48 +00:00
MSC_Tests.cfg msc: add MSC_Tests_Iu.control to MSC_Tests.cfg 2022-08-07 15:48:17 +02:00
MSC_Tests.default msc: Add RANAP to msc tests 2019-04-30 19:07:47 +02:00
MSC_Tests.ttcn msc: detect RTP to CN failure in call tests 2023-03-14 20:19:48 +00:00
MSC_Tests_Iu.ttcn msc: add tests for SMS and voice call while Paging 2020-05-11 17:33:05 +00:00
README.md Update README.md of several TTCN3 test suites 2019-11-15 18:49:09 +00:00
expected-results.xml update various expected-results.xml 2022-08-12 02:31:23 +00:00
gen_links.sh msc: add first a5/4 tests 2021-05-19 17:49:52 +00:00
osmo-msc.cfg msc/osmo-{msc,stp}.cfg: enable extended timestamp in logging 2021-12-14 12:59:04 +00:00
osmo-stp.cfg msc/osmo-{msc,stp}.cfg: enable extended timestamp in logging 2021-12-14 12:59:04 +00:00
regen_makefile.sh regen_makefile.sh: set executable name explicitly 2021-10-13 11:12:22 +02:00

README.md

MSC_Tests.ttcn

  • external interfaces
    • A: BSSAP/SCCP/M3UA (emulates BSC-side)
    • IuCS: RANAP/SCCP/M3UA (emulates HNBGW-side)
    • MNCC: MNCC/unix-domain (emulates ext. MNCC side)
    • MGW: MGCP (emulates MGW side)
    • GSUP (emulates HLR side)
    • SMPP (emulates ESME side)
    • VTY
    • CTRL

{% dot msc_tests.svg digraph G { rankdir=LR; MSC [label="IUT\nosmo-msc",shape="box"]; ATS [label="ATS\nMSC_Tests.ttcn"]; STP [label="STP\nosmo-stp"];

ATS -> MSC [label="MNCC"]; ATS -> MSC [label="SMPP",style="dashed"]; ATS -> MSC [label="CTRL"]; ATS -> MSC [label="VTY"]; MSC -> ATS [label="GSUP"]; MSC -> ATS [label="MGCP"]; ATS -> STP [label="A BSSAP\nSCCP/M3UA"]; MSC -> STP [label="A BSSAP\nSCCP/M3UA"]; ATS -> STP [label="IuCS RANAP\nSCCP/M3UA"]; MSC -> STP [label="IuCS RANAP\nSCCP/M3UA"]; } %}