]> 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:53 +0000 (12:47 +0000)
commitb05865d8e958ca82c5e82c8141356bac3e6178ff
treeead2ef4014a1477ec180e70fcb17059c1777413c
parent18ed610d4e918e8ea5421afbf87c8fdef9658a71
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