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

Michael Collins msc at freeswitch.org
Fri Jun 26 13:56:43 PDT 2009


Can you paste in your script so we can see what is going on?
-MC

On Fri, Jun 26, 2009 at 1:39 PM, Klaus Hochlehnert <Mailings at kh-dev.de>wrote:

>  Ok, and how can I ask the hook to come with me?
>
>
>
> If I understand this right...
>
> When a call comes in the hook is set on the a-leg and it rings on the
> b-leg.
>
> When I do an intercept I kill the ringing b-leg and the interceptor is now
> the “new” b-leg, right?
>
> I would assume that the “old” a-leg still has the hook on it or this wrong.
>
>
>
> 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:28 PM
> *To:* freeswitch-users at lists.freeswitch.org
> *Subject:* Re: [Freeswitch-users] hangup hook after intercept doesn't get
> triggered...
>
>
>
> 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
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090626/5da26bc9/attachment-0002.html 


More information about the FreeSWITCH-users mailing list