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

Steve Sether (JIRA) noreply at issues.asterisk.org
Thu Dec 27 12:56:47 CST 2018


Steve Sether created ASTERISK-28224:
---------------------------------------

             Summary: 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: PBX/General
    Affects Versions: 16.1.0, 13.22.0
         Environment: Centos 6
            Reporter: Steve Sether


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