I have the dialplan.
exten => _500Z,1,NoOp()
same => n,Stasis(originate-example,${EXTEN})
same => n,Noop(THE END)
same => n,Hangup()
So I make a call from 5001 to 5002 in my Stasis app, creating incoming and outgoing channel, and adding to a bridge. But after I hang up from the called or the caller phones, I don’t see the THE END message or the Hangup event logged in Asterisk. After I hang up, I need it to go back to the dialplan, and start the Stasis app again if I call an extension again. What do I need to do to accomplish this? Am I missing something? Or am I supposed to leave the app running while I get more calls?