Thanks Michael for the reply.Here's the pastebin link: http://pastebin.freeswitch.org/12084On Sun, Feb 7, 2010 at 9:50 PM, Michael S Collins <msc@freeswitch.org> wrote:
Pastebin a debug log so we can see what is happening when the script runs.-MC
Sent from my iPhoneHi. I have two sessions running in two separate Lua scripts, and I want to bridge them so that the bridged call is being controlled by the first (a-leg) script.If I simply use uuid_bridge, I get no error but the calls don't bridge.I've tried intercept, but I don't understand how it should be used; nothing I try seems to work.Here's what I have:function bridge_calls(session,api,b_leg_uuid, call_len)session:setAutoHangup(false)session:execute("sched_hangup","+" .. tostring(call_len) .. " " .. tostring(session.uuid))session:execute("set","continue_on_fail=true")api:executeString("intercept -bleg " .. tostring(b_leg_uuid))api:executeString("uuid_bridge " .. tostring(session.uuid) .. " " .. tostring(b_leg_uuid))endI'd really appreciate any help.Thanks,Adam_______________________________________________
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
_______________________________________________
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