]> 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:00:45 +0000 (20:00 +0000)
commit6c840886a9e3da51a6d7810f4267cd16d7ce4593
treef846b25bc300834045e2e4c1bf61088ea923738a
parent7057658110037d6e2e76aa718030858fab196b88
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 62b6ea32022597ea6a922cb5f2e5f5b9e2e4435f)
apps/app_dial.c