<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I'm building a mixing bridge with ARI and Asterisk 13.<br></div>Now when a channel hangs up, I can see two StasisEvents:<br></div>'ChannelLeftBridge' and 'StasisEnd'.<br></div><div>To me, there should be just one event when a channel hangs up, if<br></div><div>it hangs up, it should automatically leave the bridge.<br></div>Is there any specific order that these two events should come from<br>Asterisk?<br></div><div>Which event should I rely on to write the cleanup code for a channel?<br><br></div><div>Thanks,<br></div><div>Nitesh<br></div><div><br></div></div>