[Freeswitch-users] hangup hook after intercept doesn't get triggered...
Klaus Hochlehnert
Mailings at kh-dev.de
Fri Jun 26 13:22:14 PDT 2009
Actually one of my first actions in the script is
$session->setHangupHook('on_hangup');
When a call comes in the hook is set and working.
The second time the script is called when I try to intercept. As it's the same script there's also the function setHangupHook called.
That's what I've currently done.
How can I set up the hook for the "new" bridge?
Or is there a possibility to set a global hook?
Thanks, Klaus
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Friday, June 26, 2009 10:07 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] hangup hook after intercept doesn't get triggered...
Depends what side of the call was the hangup hook on?
/b
On Jun 26, 2009, at 2:48 PM, Klaus Hochlehnert wrote:
Hi all,
I'm just writing a perl script as dialplan to learn how to handle freeswitch.
Now I have the issue that my hangup hook won't be triggered after I intercepted a call.
A "normal" hangup triggers the function.
Does anybody have a hint how to get the hangup hook triggered?
Thanks, Klaus
______________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090626/c326f510/attachment-0002.html
More information about the FreeSWITCH-users
mailing list