[Freeswitch-users] get BYE event in javascripts
Regis M
regis.freeswitch.org at tornad.net
Fri Oct 4 13:02:01 MSD 2013
Hi,
You can use the hangup hook like :
http://wiki.freeswitch.org/wiki/Variable_api_hangup_hook
2013/10/4 Khue Nguyen Minh <khuenm at vega.com.vn>
> Hi all,
>
> I have a simple javascripts with simple scenario. In this scenario, user
> can listen audio and send dtmf to play next or previous audio file. When
> user send dtmf to play other audio file, I will store play time of this
> audio to a text file (time.txt), but, if user hangup this call, the play
> time of last file cannot store in time.txt.
>
> How I can capture event user hangup to store play time into time.txt
> before javascripts session destroyed?
>
> Brs,
> Khue.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20131004/4e170946/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list