<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">linger is the closest thing to this. It will wait for final events before it drops.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 8, 2017, at 10:14 AM, Guillermo Ruiz Camauer <<a href="mailto:grcamauer@gmail.com" class="">grcamauer@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">What exactly do you want to do? The call is already over... If you want to monitor FS or do anything else not related to the call, you should probably be using an INBOUND socket.<div class=""><br class=""></div><div class="">Guillermo</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 7, 2017 at 5:35 AM, Sean Ingham <span dir="ltr" class=""><<a href="mailto:sean@missionlabs.co.uk" target="_blank" class="">sean@missionlabs.co.uk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">I'm using the socket application in the dialplan to establish an outbound event socket to my app. I use the async and full flags to expose full api functionality.<br class=""> <br class="">I currently use myevents to filter only events related to the current channel, I also use the linger command to ensure the socket stays up until all channel events have been sent to my app (after which FS then tears down the socket). <div class=""><br class="">However, what I'm trying to do is prevent FS closing the socket at all, and always leave it up to my app to close the socket when it's finished with it. Is this possible with ESL in outbound mode?</div><div class=""><br class=""></div><div class="">In other words, I want the socket to linger longer :)</div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div></font></span></div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>