Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d206891a authored by Thomas Stuart's avatar Thomas Stuart
Browse files

increase intermediate stuck voip call timeout to 2 mins

Most voip apps allow the call state to be in DIALING or RINGING for 2 mins before disconnecting. Telecom should match the 3rd party app standard before disconnecting the calls as "stuck"

Flag: EXEMPT timeout change
Fixes: 371713339
Test: manual
Change-Id: Ib965cdee4372c8b0f08ef01373173163b495505f
parent 925973b3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -447,12 +447,12 @@ public final class Timeouts {

    /**
     * Returns the duration of time a VoIP call can be in an intermediate state before Telecom will
     * try to clean up the call.
     * try to clean up the call.  The default is 2 minutes.
     * @return the state timeout in millis.
     */
    public static long getVoipCallIntermediateStateTimeoutMillis() {
        return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY,
                INTERMEDIATE_STATE_VOIP_NORMAL_TIMEOUT_MILLIS, 60000L);
                INTERMEDIATE_STATE_VOIP_NORMAL_TIMEOUT_MILLIS, 120000L);
    }

    /**