]> 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:55 +0000 (12:47 +0000)
commite1dfa207977b4c68e274ba88476dc21271737420
treef444dfe701dd94889fc27b35ecdeb3964d2a70d4
parente33bab1bfdaabef7738c7bd73c6556207e1f1c48
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