<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Is it possible to hook onto events&nbsp; using esl in ruby. I am getting &lt;defunct&gt; ruby processes. <br><br>I think this is happening because when a call is hung up it causes my script to terminate there and then and the ruby child processes are not being closed/cleaned up properly. While this does not stop new incoming calls because new fork process is spwaned  I need a more gracefull handling when a call ends. I think I could do something if I can collect the hangup event.<br><br>Is&nbsp; event hook/handler possible in esl?<br></td></tr></table><br>