]> 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:55 +0000 (14:17 +0000)
commit54f45c6b869282adf536a74aa7c9c2c7eff6947a
tree709f2b602d8fd1c5f3e1e6999a2dbef7a00853ee
parent4635a5ff4d6b89dc37ea61de693513d0e7707158
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