I am worried I have a race condition on my app that sometimes avoid the destruction of the main bridge for my call.
I have found I can do a similar thing for the main channel I’m dialing by sending a call to
TIMEOUT(absolute):300
in the body of the /ari/channels port to create the channel.
The TIMEOUT function is meant for channels. Is there a way to get my bridge to destroy itself after 5 minutes (this is way more time than I expect my call to last). I want this a a fail-safe measure until I fix the race condition so my asterisk server does not get clogged with channels not in use.