[Freeswitch-users] hangup hook after intercept doesn't get triggered...

Brian West brian at freeswitch.org
Fri Jun 26 13:27:32 PDT 2009


well in your case I suspect your intercepting the leg of the call  
without the hook on it.

/b

On Jun 26, 2009, at 3:22 PM, Klaus Hochlehnert wrote:

> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090626/ba8c9d6c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list