]> 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:47:40 +0000 (13:47 +0000)
commit4141f8455c825e231ed823e5d09158bda7980c5f
treeffd05147aff5ac3d4090615b2062cb9a096a0b54
parentfd3377156017b02a5234a008de2f7244a80c0313
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 d0b51f1ff784c5edaa27f58a192781c1e4f6f349)
res/parking/parking_applications.c