[Freeswitch-users] javascript setHangupHook .. looking for a working example

Stephen Crosby stevecrozz at gmail.com
Tue Jan 27 08:35:54 PST 2009


Of course, I simply want to run this example script from the wiki:
http://wiki.freeswitch.org/wiki/Example_Hangup_hook . I'm building a
modified voicemail app. I want to fire a custom event when the user
confirms the voicemail, but I want to fire the same event in case the
user simply hangs up. The problem is, it appears that the method bound
to session.setHangupHook is never executed. That's why I just want to
see a working example of someone else's script that uses
session.setHangupHook.

--Stephen

On Tue, Jan 27, 2009 at 6:45 AM, Brian West <brian at freeswitch.org> wrote:
> Can you describe what you're trying to do and how you're doing it?
> Maybe an example?
>
> /b
>
> On Jan 27, 2009, at 12:55 AM, Stephen Crosby wrote:
>
>> I'm running rev 11131, and I cannot make these hangup events work in
>> javascript... does anyone have a working example? I tried this script
>> from the wiki: http://wiki.freeswitch.org/wiki/Example_Hangup_hook
>>
>> --Stephen
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
>




More information about the FreeSWITCH-users mailing list