[Home]

Summary:ASTERISK-28224: res_parking: ParkAndAnnounce hangs up call when lot is full.
Reporter:Steve Sether (stevesether)Labels:
Date Opened:2018-12-27 12:55:39.000-0600Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Resources/res_parking
Versions:13.22.0 16.1.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Centos 6Attachments:
Description:When a dynamic lot is full, and a call is parked via ParkAndAnnounce, The ParkAndAnnounce function will fail to return, and generates an error similar to the following:

[2018-12-20 10:02:22] NOTICE[8035][C-00000016]: parking/parking_bridge.c:150 generate_parked_user: Failed to get parking space in lot 'usitest-main'. All full.
== Spawn extension (parkCall, blind, 4) exited non-zero on 'SIP/usitest-XXXXXXXXXXXX-00000024'

I'd expect the function to return, but set some sort of error condition, like LOTFULL

As a workaround, I'm enclosing the call to ParkAndAnnounce in a TryExec, and testing if it sets TRYSTATUS to failed.  This seems to work fine.

Comments:By: Asterisk Team (asteriskteam) 2018-12-27 12:55:41.117-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].