FreeSWITCH has about one hundred different Dialplan applications. However, a few of them are particularly important because they are used so frequently.
The
bridge
application connects two endpoints together.
Argument syntax: <target_endpoint>[,<target_endpoint>][|<target_endpoint>]
Endpoints separated by commas are dialed simultaneously. Endpoints separated by pipes are dialed sequentially. The first endpoint to answer receives the call, and dialing to all other endpoints is discontinued.
Examples:
<action application="bridge" data="user/1000"/> <action application="bridge" data="sofia/gateway/my_gateway_name/$1"/>
See "Dialstring Formats" later in this chapter.