Re: [Freeswitch-users] Hangup hook in js is never called

2009-02-15 Thread Alexandru Nedelcu
: 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

Re: [Freeswitch-users] Hangup hook in js is never called [RESOLVED

2009-02-14 Thread Nik Middleton
: 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

[Freeswitch-users] Hangup hook in js is never called

2009-02-13 Thread Nik Middleton
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

Re: [Freeswitch-users] Hangup hook in js is never called

2009-02-13 Thread Michael Collins
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

Re: [Freeswitch-users] Hangup hook in js is never called

2009-02-13 Thread Nik Middleton
[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