]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_dial: Fix progress timeout.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 3 Oct 2024 21:33:39 +0000 (17:33 -0400)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 14 Nov 2024 20:02:03 +0000 (20:02 +0000)
commit556b974d1b280ab2ebe570607565fdd60f2e52b0
treecf0b0b3b8159af7443459cf4417e7b540bed823f
parent43166eb85b07b764cdacdd31bb870e8412ef88e5
app_dial: Fix progress timeout.

Under some circumstances, the progress timeout feature added in commit
320c98eec87c473bfa814f76188a37603ea65ddd does not work as expected,
such as if there is no media flowing. Adjust the waitfor call to
explicitly use the progress timeout if it would be reached sooner than
the answer timeout to ensure we handle the timers properly.

Resolves: #821
(cherry picked from commit 54f45c6b869282adf536a74aa7c9c2c7eff6947a)
apps/app_dial.c