: freeswitch-users-boun...@lists.freeswitch.org
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of
Michael Collins
Sent: 13 February 2009 22:51
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Hangup hook in js is never called
http://wiki.freeswitch.org
: freeswitch-users-boun...@lists.freeswitch.org
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of
Michael Collins
Sent: 13 February 2009 22:51
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Hangup hook in js is never called
http://wiki.freeswitch.org/wiki
Can't figure this one out.
I've enabled a hang-up hook in js to do some cleanup.
I've followed the example on the wiki, but it would appear it's never
called.
http://wiki.freeswitch.org/wiki/Example_Hangup_hook
Is the code in error?
Regards
http://wiki.freeswitch.org/wiki/Example_Hangup_hook
Is the code in error?
It might just be. I think you are better off using api_hangup_hook.
What are you trying to do on hangup? The api_hangup_hook lets you call
any API, including running a script. Here's an example that we played
with
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of
Michael Collins
Sent: 13 February 2009 22:51
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Hangup hook in js is never called
http://wiki.freeswitch.org/wiki/Example_Hangup_hook
Is the code in error?
It might just