[Freeswitch-users] Bridging sessions from two separate lua scripts; uuid_bridge? intercept?

Anthony Minessale anthony.minessale at gmail.com
Sat Feb 13 12:39:48 PST 2010


Sigh

On Feb 13, 2010 1:38 PM, "Adam Wilt" <wiltingtree at gmail.com> wrote:

Here's a new debug log which shows what happens using only intercept and
having setAutoHangup(false) on both sides:

           http://pastebin.freeswitch.org/12124

<http://pastebin.freeswitch.org/12124>And here's my updated bridge function:

> function bridge_calls(session,api,b_leg_uuid, call_len)
  freeswitch.consoleLog("info","A leg - Bridging " .. tostring(b_leg_uuid)
.. " with " .. tostring(session.uuid) .. "\n")
  session:setAutoHangup(false)


>   session:execute("set","continue_on_fail=true")
  api:executeString("uuid_media " .. tostring(b_leg_uuid))
  api:executeString("uuid_media " .. tostring(session.uuid))


>   api:executeString("intercept -bleg " .. tostring(b_leg_uuid))
end


Thanks,
Adam




On Sat, Feb 13, 2010 at 1:18 PM, Adam Wilt <wiltingtree at gmail.com> wrote:
>
> Thanks Anthony and ...

_______________________________________________
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/20100213/093ad23b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list