You might be able to use an event hook with lua, you can catch the CUSTOM with a subclass of valet_parking::info, then you can check for the "action" and it'll be "exit" when they leave (any kind of leave) then can likely check for a disposition.  I'm not currently using this method, but its someting we looked into for monitoring when people hangup from the parking lot.

On Tue, Jul 14, 2015 at 10:49 AM, SamyGo <govoiper@gmail.com> wrote:
Hi All,

I need some help in finding  a way to execute some dialplan code after the parked user Hangups from the parking lot. 

I'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.

I've tried using: session_in_hangup_hook, and api_hangup_hook=myscript.lua but they get executed for the parker just after they hear the Parked slot number. 

Then I've tried nolocal:export these two variables for the other leg but nothing happens.

Kindly suggest what other option are there.

Best Regards.
Sammy


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org