VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
Mailings at kh-dev.de Guest
|
Posted: Fri Jun 26, 2009 2:51 pm Post subject: [Freeswitch-users] hangup hook after intercept doesn't get t |
|
|
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Jun 26, 2009 3:09 pm Post subject: [Freeswitch-users] hangup hook after intercept doesn't get t |
|
|
Depends what side of the call was the hangup hook on?
/b
On Jun 26, 2009, at 2:48 PM, Klaus Hochlehnert wrote:
Quote: | 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
______________ |
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Jun 26, 2009 3:29 pm Post subject: [Freeswitch-users] hangup hook after intercept doesn't get t |
|
|
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:
Quote: | 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
|
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Fri Jun 26, 2009 4:00 pm Post subject: [Freeswitch-users] hangup hook after intercept doesn't get t |
|
|
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@kh-dev.de (Mailings@kh-dev.de)> wrote:
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Jun 26, 2009 6:28 pm Post subject: [Freeswitch-users] hangup hook after intercept doesn't get t |
|
|
Please open the jira and attach all this and the xml dialplan to execute it .. also the schema for the db would be helpful also.
Thanks,
/b
On Jun 26, 2009, at 6:16 PM, Klaus Hochlehnert wrote:
Quote: | Brian told me to open a jira, what I did now.
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Jun 26, 2009 6:41 pm Post subject: [Freeswitch-users] hangup hook after intercept doesn't get t |
|
|
Its more FSCORE but i'll move it into the right place
/b
On Jun 26, 2009, at 6:36 PM, Klaus Hochlehnert wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|