Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated toSVN-branch-11-r386286

...

<h1>Playback()

...

Synopsis

Play </h1>

<h3>Synopsis</h3>

<p>Play a file.

Description

Plays </p>

<h3>Description</h3>

<p>Plays back given filenames (do not put extension of wav/alaw etc). The playback command answer the channel if no options are specified. If the file is non-existant it will failfail</p>

This <p>This application sets the following channel variable upon completion:

...

</p>

<ul>
<li><code>PLAYBACKSTATUS</code> - The status of the playback attempt as a text string.

...

<ul>

...

<li>SUCCESS</li>
<li>FAILED<br/>
See Also: Background (application) – for playing sound files that are

...

WaitExten interruptible</li>
</ul>
</li>
</ul>

<p>WaitExten (application) – wait for digits from caller, optionally play music on hold

Syntax

...

hold</p>

<h3>Syntax</h3>

<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[Playback(filename&filename2

...

&...

...

,options)

...

Arguments

...

  • filename
  • filename2

...

]]></ac:plain-text-body></ac:macro>

<h5>Arguments</h5>

<ul>
<li><code>filenames</code>
<ul>
<li><code>filename</code></li>
<li><code>filename2</code></li>
</ul>
</li>
<li><code>options</code> - Comma separated list of options

...

<ul>
<li><code>skip</code> - Do not play if not

...

answered</li>
<li><code>noanswer</code> - Playback without answering, otherwise the channel will be answered before the sound is played.

...

Import Version

This </li>
</ul>
</li>
</ul>

<h3>Import Version</h3>

<p>This documentation was imported from Asterisk Version SVN-branch-11-r379343r386286</p>