]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_parking: Fail gracefully if parking lot is full.
authorNaveen Albert <asterisk@phreaknet.org>
Sun, 3 Mar 2024 18:37:10 +0000 (13:37 -0500)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 9 May 2024 13:48:09 +0000 (13:48 +0000)
commit96a9883722b2cc4c5ed6eaed30c8315647f31433
treea673742c8bd2f1e0111a108ab55870ade93052ec
parent2b27ea6deab43518b6658fedb5cc0f0dcf43d896
res_parking: Fail gracefully if parking lot is full.

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
(cherry picked from commit e1dfa207977b4c68e274ba88476dc21271737420)
res/parking/parking_applications.c