On Fri, Dec 21, 2018 at 12:56 PM Steve Sether <sset...@usinternet.com> wrote:
> 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 > <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.digium.com_mailman_listinfo_asterisk-2Ddev&d=DwMCaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=50uagQBTpQAKCx3KjAwJcMd6ygCPToAyDAxH5npANtf7nLmyZ65ofHGUgyJr9BW8&m=I9plltkLC7vMkfdN5HENsgzacwOlcoNiqZ32EUHk4SU&s=RM7D1ybRfbtE8X5nnw3eLJtDsWQHbz8CGfqGGnKfh0A&e=>> > 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 > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.api-2Ddigital.com&d=DwIGaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=50uagQBTpQAKCx3KjAwJcMd6ygCPToAyDAxH5npANtf7nLmyZ65ofHGUgyJr9BW8&m=I9plltkLC7vMkfdN5HENsgzacwOlcoNiqZ32EUHk4SU&s=JRifGwkazC8M-p_LPu_J9AIoioNlOe4f4cf1ckJl3tg&e= > -- > > asterisk-dev mailing list > To UNSUBSCRIBE or update options visit: > > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.digium.com_mailman_listinfo_asterisk-2Ddev&d=DwIGaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=50uagQBTpQAKCx3KjAwJcMd6ygCPToAyDAxH5npANtf7nLmyZ65ofHGUgyJr9BW8&m=I9plltkLC7vMkfdN5HENsgzacwOlcoNiqZ32EUHk4SU&s=RM7D1ybRfbtE8X5nnw3eLJtDsWQHbz8CGfqGGnKfh0A&e= Yeah, I'd still say that counts as a bug. The fact that there is an easy enough work-around in your case (plus it's ParkAndAnnounce) might slow resolution down a bit though. Good luck. -- *Jonathan R. Rose*Senior Systems Engineer Emergency CallWorks Motorola Solutions email: jonathan.r...@motorolasolutions.com
-- _____________________________________________________________________ -- 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