Thanks to visit codestin.com
Credit goes to github.com

Skip to content

app_dial: Fix progress timeout calculation with no answer timeout.#949

Merged
asterisk-org-access-app[bot] merged 1 commit into
asterisk:masterfrom
InterLinked1:master-issue-821-rev
Oct 24, 2024
Merged

app_dial: Fix progress timeout calculation with no answer timeout.#949
asterisk-org-access-app[bot] merged 1 commit into
asterisk:masterfrom
InterLinked1:master-issue-821-rev

Conversation

@InterLinked1

Copy link
Copy Markdown
Contributor

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

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: asterisk#821
@InterLinked1

Copy link
Copy Markdown
Contributor Author

cherry-pick-to: 18
cherry-pick-to: 20
cherry-pick-to: 21
cherry-pick-to: 22
testsuite-test-pr: 69

@gtjoseph

Copy link
Copy Markdown
Member

rechecking to pick up app_dial tests.

@gtjoseph gtjoseph added the recheckpr Trigger PR recheck label Oct 16, 2024
@gtjoseph

Copy link
Copy Markdown
Member

@InterLinked1

Copy link
Copy Markdown
Contributor Author

Still failing...

https://github.com/asterisk/asterisk/actions/runs/11375404767/job/31646098479?pr=949

Yup :)
That's an issue with the test itself though, I added a comment there for you.

This change should be correct and when I modified the test to remove the issue with it, it does pass.

@gtjoseph

Copy link
Copy Markdown
Member

rechecking again to pick up latest test changes.

@gtjoseph gtjoseph left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change plus the corresponding testsuite PR now passes.

@gtjoseph gtjoseph added the cherry-pick-test Trigger dry run of cherry-picks label Oct 23, 2024
@github-actions

Copy link
Copy Markdown

Successfully merged to branch master and cherry-picked to ["18","20","21","22"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: app_dial: The progress timeout doesn't cause Dial to exit

3 participants