Are you using LUA?  ESL?
Here is a LUA example you can modify to your needs: https://freeswitch.org/confluence/display/FREESWITCH/Lua+example+Bridging+two+calls+with+retry

In ESL, just bridge the two UUIDs together.

You might also want to look up INTERCEPT in Confluence.

Guillermo

On Fri, Feb 28, 2020 at 12:55 PM Aidar Kamalov <aidar.kamalov@gmail.com> wrote:
Hello,

is it possible in freeswitch to use channels and bridges on low level as in ARI in asterisk?

When external user call to freeswitch I need to create bridge and get it's uuid, then I want to move new created channel to new created bridge play greeting sound and start music-on-hold in bridge.

After that I want to create outgoing call to freeswitch user and when he answered move his channel to already created bridge. Then this user can add to this bridge another users.

So, I already can call to freeswitch, park this call, play greeting sound to caller, make outbound call to freeswitch user and park it too. But how to create empty bridge and how to add to this bridge existing channels?

--
Aydar A. Kamalov
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

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
https://freeswitch.com


--
Guillermo Ruiz Camauer