mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-17 12:32:56 +00:00
If to_answer is -1, simply comparing to see if the progress timeout
is smaller than the answer timeout to prefer it will fail. Add
an additional check that chooses the progress timeout if there is
no answer timeout (or as before, if the progress timeout is smaller).
Resolves: #821
(cherry picked from commit 6a07e8e0f1)