summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ham <bob.ham@puri.sm>2018-09-26 06:59:42 +0000
committerBob Ham <bob.ham@puri.sm>2018-09-27 12:31:06 +0000
commit2031bd6ab59ab2040712c9eefd092b2461c5902c (patch)
tree81679013d8e45e000c8d026c31a09589ff9e232d
parent3c267cf690f53c5641f82bcb010bd2a6fdccd363 (diff)
base-call: Increase incoming call timeout to seven secondsupstream/1.9.0_git201809273f6f4f
The standard says a RING or CRING should be emitted whenever the network sends an incoming call notification, which is nation-specific: "Interpretation of indications from the network to determine what constitutes a "ring" is defined by national regulations. This result code should be repeated each time the network repeats the incoming call indication." -- ITU-T Rec. V.250, p. 42 On the giffgaff (O2) network in the UK, a SIMCom SIM7100E modem emits RING indicators every six seconds. The current timeout is only five seconds resulting in a stream of timed-out ModemManager call objects whenever there is an incoming call. To fix this, we increase the timeout to seven seconds.
-rw-r--r--src/mm-base-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-base-call.c b/src/mm-base-call.c
index c128b601..ba41bce4 100644
--- a/src/mm-base-call.c
+++ b/src/mm-base-call.c
@@ -147,7 +147,7 @@ cleanup_unsolicited_events (MMBaseCall *self,
* then we assume the call attempt is finished and we transition to TERMINATED.
*/
-#define INCOMING_TIMEOUT_SECS 5
+#define INCOMING_TIMEOUT_SECS 7
static gboolean
incoming_timeout_cb (MMBaseCall *self)