<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Thanks for suggesting TryExec.  It works perfectly as a workaround for what I want to do, and I can play an error message when the park fails.

Should I open up a bug report in Jira for this?  I assume it's open to the public.

On Thu, Dec 20, 2018 at 10:57 AM Jonathan Rose <<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">jonathan.rose at motorolasolutions.com</a>>
wrote:
> Since you know it's returning a non-zero value which is causing it to
> hangup the call, you can work around this by putting your ParkAndAnnounce
> as the arguments to a TryExec application. This does seem like a bug
> though. It shouldn't be exiting non-zero, it should be exiting with zero
> and setting an error value.</pre>
  </body>
</html>