Important Dialplan applications
FreeSWITCH has about one hundred different Dialplan applications. However, a few of them are particularly important because they are used so frequently.
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, 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.
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 syntax: absolute path to a sound file or relative path to an installed sound file...