I think you'll need to provide more information. Use <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a> 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.<div>
<br></div><div>-MC<br><br><div class="gmail_quote">On Mon, Aug 22, 2011 at 12:46 AM, rentmycoder rentmycoder <span dir="ltr"><<a href="mailto:rentmycoder@gmail.com">rentmycoder@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi guys,<br>
<br>
I'm trying to make a callgroup intercept and need to make some tasks<br>
after the intercepted call hang's up...<br>
I've tried both intercept and uuid_bridge method, both works, but<br>
neither way the hanguphook does not get's called after intercept...<br>
settings: hangupafterbridge=true and continueonfail=true...<br>
Testing on win32 using latest GIT.<br>
<br>
lua script:<br>
...<br>
session:setHangupHook("extensions_hanguphook");<br>
...<br>
api:executeString("uuid_bridge " .. tostring(intercept_source) .. " "<br>
.. tostring(session.uuid));<br>
or this way:<br>
session:execute("intercept", intercept_source);<br>
<br>
I haven't looked into the source yet, any idea???<br>
<br>
I don't now it's a bug it it's my mistake...<br>
<br>
Thanks,<br>
John<br>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>