FreeSWITCH has more than 140 Dialplan applications. However, a few of them are particularly important because they are used very frequently. In this section we consider the most important and widely used Dialplan applications.
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, at which time dialing to all other Endpoint is discontinued.
Examples:
<action application="bridge" data="user/1000"/> <action application="bridge" data="sofia/gateway/my_gateway_name/$1"/>
See the Dialstring formats section later in this chapter.