|
When in the ACCEPTED state, if the MS never sent any message, the conn would
stay open indefinitely. Introduce a new state COMMUNICATING, so that the
ACCEPTED state can timeout.
COMMUNICATING starts as soon as the MS first replies with a message for CC, SMS
or USSD negotiation. The CC/SMS/USSD code is then expected to handle timeouts
and BUMP the conn_fsm as appropriate.
Add new test in msc_vlr_test_ms_timeout.c to verify that a CM Service Request
and Paging Response without replies from the MS time out.
Explicitly test for the COMMUNICATING state in msc_vlr_test_no_authen.c, but in
the other tests just rely on the test output validation to ensure that the new
state is entered in the right places.
Change-Id: If7c9acab9ed393874f21231a0f78464c384b3d2f
|