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

Skip to content

chan_dahdi: Never send MWI while off-hook.#929

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

chan_dahdi: Never send MWI while off-hook.#929
asterisk-org-access-app[bot] merged 1 commit into
asterisk:masterfrom
InterLinked1:master-issue-928

Conversation

@InterLinked1

Copy link
Copy Markdown
Contributor

In some circumstances, it is possible for the do_monitor thread to erroneously think that a line is on-hook and send an MWI FSK spill to it when the line is really off-hook and no MWI should be sent. Commit 0a8b3d3 previously fixed this issue in a more readily encountered scenario, but it has still been possible for MWI to be sent when it shouldn't be. To robustly fix this issue, query DAHDI for the hook status to ensure we don't send MWI on a line that is actually still off hook.

Resolves: #928

In some circumstances, it is possible for the do_monitor thread to
erroneously think that a line is on-hook and send an MWI FSK spill
to it when the line is really off-hook and no MWI should be sent.
Commit 0a8b3d3 previously fixed this
issue in a more readily encountered scenario, but it has still been
possible for MWI to be sent when it shouldn't be. To robustly fix
this issue, query DAHDI for the hook status to ensure we don't send
MWI on a line that is actually still off hook.

Resolves: asterisk#928
@InterLinked1

Copy link
Copy Markdown
Contributor Author

cherry-pick-to: 18
cherry-pick-to: 20
cherry-pick-to: 21
cherry-pick-to: 22

@gtjoseph gtjoseph added the cherry-pick-test Trigger dry run of cherry-picks label Oct 8, 2024
@github-actions github-actions Bot added cherry-pick-testing-in-progress Cherry-Pick tests in progress cherry-pick-checks-passed Cherry-Pick checks passed and removed cherry-pick-test Trigger dry run of cherry-picks cherry-pick-testing-in-progress Cherry-Pick tests in progress labels Oct 8, 2024
@asterisk-org-access-app asterisk-org-access-app Bot merged commit d4358d5 into asterisk:master Oct 8, 2024
@github-actions

github-actions Bot commented Oct 8, 2024

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]: chan_dahdi: MWI while off-hook when hung up on after recall ring

3 participants