summaryrefslogtreecommitdiff
path: root/src/call.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-05-18 15:08:58 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-05-18 15:08:58 +0200
commitef0646cdc165477212ad4826ee26f0fed0455a3a (patch)
treea62ea36795d911a18710dd00644afbe6487289b8 /src/call.c
parent150d0f9afac8add18bb90b02d4759c91fc9d0e9a (diff)
call: cancel local timer on call_progress()
for incoming calls, we start a local timer of 120 seconds. this timer is stopped when the call is answered with 200 or 183. issue was reported by Victor Sergienko, thanks!
Diffstat (limited to 'src/call.c')
-rw-r--r--src/call.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/call.c b/src/call.c
index 0cf4358..e07d0c0 100644
--- a/src/call.c
+++ b/src/call.c
@@ -656,6 +656,8 @@ int call_progress(struct call *call)
if (!call)
return EINVAL;
+ tmr_cancel(&call->tmr_inv);
+
err = call_sdp_get(call, &desc, false);
if (err)
return err;