]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 8 Oct 2024 14:17:58 +0000 (14:17 +0000)
commit06444290d048d8136acf4a3eae11888acf3c42bf
treef38405ee9dc4e519c1b3b1ea70827f423a70ad81
parentd4358d5f7a7d6f4b63ec8519ab6988c500b9cd49
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