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

Skip to content

res_parking: Fail gracefully if parking lot is full.#632

Merged
asterisk-org-access-app[bot] merged 1 commit into
asterisk:masterfrom
InterLinked1:master-issue-624
Mar 20, 2024
Merged

res_parking: Fail gracefully if parking lot is full.#632
asterisk-org-access-app[bot] merged 1 commit into
asterisk:masterfrom
InterLinked1:master-issue-624

Conversation

@InterLinked1

Copy link
Copy Markdown
Contributor

Currently, if a parking lot is full, bridge setup returns -1, causing dialplan execution to terminate without TryExec. However, such failures should be handled more gracefully, the same way they are on other paths, as indicated by the module's author, here:

http://lists.digium.com/pipermail/asterisk-dev/2018-December/077144.html

Now, callers will hear the parking failure announcement, and dialplan will continue, which is consistent with existing failure modes.

Resolves: #624

@InterLinked1

Copy link
Copy Markdown
Contributor Author

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

Comment thread res/parking/parking_applications.c Outdated
Currently, if a parking lot is full, bridge setup returns -1,
causing dialplan execution to terminate without TryExec.
However, such failures should be handled more gracefully,
the same way they are on other paths, as indicated by the
module's author, here:

http://lists.digium.com/pipermail/asterisk-dev/2018-December/077144.html

Now, callers will hear the parking failure announcement, and dialplan
will continue, which is consistent with existing failure modes.

Resolves: asterisk#624
@InterLinked1 InterLinked1 requested a review from seanbright March 4, 2024 18:01
@gtjoseph gtjoseph added the cherry-pick-test Trigger dry run of cherry-picks label Mar 5, 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 cherry-pick-gates-failed Cherry-Pick gates failed and removed cherry-pick-test Trigger dry run of cherry-picks cherry-pick-testing-in-progress Cherry-Pick tests in progress labels Mar 5, 2024
@gtjoseph gtjoseph added the cherry-pick-test Trigger dry run of cherry-picks label Mar 10, 2024
@github-actions github-actions Bot added cherry-pick-testing-in-progress Cherry-Pick tests in progress cherry-pick-checks-failed Cherry-Pick checks failed and removed cherry-pick-test Trigger dry run of cherry-picks cherry-pick-checks-passed Cherry-Pick checks passed cherry-pick-gates-failed Cherry-Pick gates failed cherry-pick-testing-in-progress Cherry-Pick tests in progress cherry-pick-checks-failed Cherry-Pick checks failed labels Mar 10, 2024
@asteriskteam asteriskteam requested a review from a team March 11, 2024 14:55
@gtjoseph gtjoseph added the cherry-pick-test Trigger dry run of cherry-picks label Mar 19, 2024
@github-actions

Copy link
Copy Markdown

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

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]: Park() application does not continue execution if lot is full

5 participants