I think you'll need to provide more information. Use pastebin.freeswitch.org to post your relevant dialplan. Also, pastebin a console debug log of a call from start to finish. Perhaps there's a clue as to why it is not executing your hangup hook.

-MC

On Mon, Aug 22, 2011 at 12:46 AM, rentmycoder rentmycoder <rentmycoder@gmail.com> wrote:
Hi guys,

I'm trying to make a callgroup intercept and need to make some tasks
after the intercepted call hang's up...
I've tried both intercept and uuid_bridge method, both works, but
neither way the hanguphook does not get's called after intercept...
settings: hangupafterbridge=true and continueonfail=true...
Testing on win32 using latest GIT.

lua script:
...
session:setHangupHook("extensions_hanguphook");
...
api:executeString("uuid_bridge " .. tostring(intercept_source) .. " "
.. tostring(session.uuid));
or this way:
session:execute("intercept", intercept_source);

I haven't looked into the source yet, any idea???

I don't now it's a bug it it's my mistake...

Thanks,
John


FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org