]> 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)
committerNaveen Albert <asterisk@phreaknet.org>
Wed, 20 Mar 2024 12:47:50 +0000 (12:47 +0000)
commitd0b51f1ff784c5edaa27f58a192781c1e4f6f349
treeb6345d7832e2963ae07ab4ec380c35872d4a8fd3
parent78471aa1a5d4caa6feee56d2d51328d331e7bb68
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
res/parking/parking_applications.c