[Freeswitch-users] Execute dialplan after valet_park
Chris Tunbridge
blasterjr at gmail.com
Wed Jul 15 03:57:33 MSD 2015
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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150714/7bda1943/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list