[Freeswitch-users] intercept sethanguphook failure

Michael Collins msc at freeswitch.org
Tue Aug 23 00:53:41 MSD 2011


I think you'll need to provide more information. Use
pastebin.freeswitch.orgto 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 at 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 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/20110822/740e169f/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list