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
______________