diff --git a/tests/test_radio.c b/tests/test_radio.c index 4a66e8a9..8e4900b7 100644 --- a/tests/test_radio.c +++ b/tests/test_radio.c @@ -664,6 +664,18 @@ static void rad_tick(void* arg) { now - t->call_started < RADIO_CALL_RING_TB || now - t->call_started > RADIO_CALL_RING_TB + 1000) goto phone_failed; call_set_phone_state(C, 0, 0); DEBUG_INFO(DEBUG_CATEGORY_RADIO, "phone policy passed: hidden/published BGP, warn, override with loss, reject, independent blocks, 60s choice"); + radio_set_active(C, gid, 1); + call_set_phone_state(C, 2, CALL_POLICY_BLOCK_RADIO | CALL_POLICY_WARN_PHONE | CALL_POLICY_REJECT_PHONE); + g_drop_result = 1; g_drop_ack = 1; + radio_action(A, 114, RADIO_CALL_START, nc); ++t->call_step; break; + case 21: + if (!g_calls[14][IDX_A].finished) break; + if (g_calls[14][IDX_A].reason != RADIO_CALL_ALREADY_ACTIVE || g_calls[14][IDX_C].incoming || + !radio_is_active(C, gid) || radio_is_active(A, gid)) goto phone_failed; + radio_action(A, 114, RADIO_CALL_CONTINUE, 0); + radio_set_active(C, gid, 0); + call_set_phone_state(C, 0, 0); + DEBUG_INFO(DEBUG_CATEGORY_RADIO, "already-active reply delivered with RESULT/ACK loss, no incoming event and no caller radio activation"); t->phase = P_RADIO_ON; break; phone_failed: DEBUG_ERROR(DEBUG_CATEGORY_RADIO, "phone policy failed step=%d force_drops_left=%d incoming108=%d state108=%d reason108=%d", diff --git a/tools/chatgui/translations/chatgui_en.ts b/tools/chatgui/translations/chatgui_en.ts index e57a8cb4..0f8e0e2b 100644 --- a/tools/chatgui/translations/chatgui_en.ts +++ b/tools/chatgui/translations/chatgui_en.ts @@ -3,6 +3,7 @@ ChatGui + Subscriber's radio is already on in this channelSubscriber's radio is already on in this channel Subscriber is on a phone callSubscriber is on a phone call Call anywayCall anyway Phone status unknownPhone status unknown diff --git a/tools/chatgui/translations/chatgui_ru.ts b/tools/chatgui/translations/chatgui_ru.ts index bbbf565f..dcd48461 100644 --- a/tools/chatgui/translations/chatgui_ru.ts +++ b/tools/chatgui/translations/chatgui_ru.ts @@ -3,6 +3,7 @@ ChatGui + Subscriber's radio is already on in this channelРация абонента уже включена в этом канале Subscriber is on a phone callАбонент разговаривает по телефону Call anywayВсё равно позвонить Phone status unknownСтатус телефона неизвестен