Important Dialplan applications
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.
bridge
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.
playback
The playback
application simply plays an audio file to the caller. Files can be in many formats. The sound and music files included in FreeSWITCH are all .wav
files.
Argument...