<div dir="ltr">Hi All,<div><br></div><div>I need some help in finding  a way to execute some dialplan code after the parked user Hangups from the parking lot. </div><div><br></div><div>I&#39;ve a scenario where Parked party decides to hangup while listening to MOH while parked. The Dialplan just Hangsup right away and I have no control.</div><div><br></div><div>I&#39;ve tried using: <b>session_in_hangup_hook</b>, and <b>api_hangup_hook=myscript.lua </b>but they get executed for the parker just after they hear the Parked slot number. </div><div><br></div><div>Then I&#39;ve tried <b>nolocal:export</b> these two variables for the other leg but nothing happens.</div><div><br></div><div>Kindly suggest what other option are there.</div><div><br></div><div>Best Regards.</div><div>Sammy</div><div><br></div></div>