[asterisk-bugs] [JIRA] (ASTERISK-28224) Asterisk ParkAndAnnounce fails, and doesn't return when lot is full.

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Fri Dec 28 11:06:47 CST 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp updated ASTERISK-28224:
--------------------------------------

    Component/s:     (was: PBX/General)
                 Resources/res_parking

> Asterisk ParkAndAnnounce fails, and doesn't return when lot is full.
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-28224
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28224
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_parking
>    Affects Versions: 13.22.0, 16.1.0
>         Environment: Centos 6
>            Reporter: Steve Sether
>            Severity: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list