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 <jonathan.rose at motorolasolutions.com  
<http://lists.digium.com/mailman/listinfo/asterisk-dev>>
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.

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to