]> 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)
committerNaveen Albert <asterisk@phreaknet.org>
Tue, 8 Oct 2024 14:17:48 +0000 (14:17 +0000)
commit62b6ea32022597ea6a922cb5f2e5f5b9e2e4435f
treec3b765fc4fc4afa9583367b4656f2f7ab91cad3a
parentfa614f755d2dbfa69483557fb876ff2d6bda5d90
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
apps/app_dial.c