Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to GIT-11-3e0eafa

...

Playback()

...

<h3>Synopsis</h3>

...

Synopsis

Play a file.</p>

<h3>Description</h3>

<p>Plays

Description

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 fail</p>fail

<p>This This application sets the following channel variable upon completion:</p><ul>
<li><code>PLAYBACKSTATUS</code>

  • PLAYBACKSTATUS - The status of the playback attempt as a text string.

      ...

        • SUCCESS

      ...

        • FAILED
          See Also: Background (application) – for playing sound files that are

      ...

        • interruptible

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

      <h3>Syntax</h3>

      <ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[hold

      Syntax

      No Format
      Playback(filename&[filename2[&...]],[options

      ...

      <h5>Arguments</h5>

      ...

      ])
      Arguments
      • filenames
        • filename
        • filename2[,filename2...]
      • options - Comma separated list of options

          ...

            • skip - Do not play if not

          ...

            • answered
            • noanswer - Playback without answering, otherwise the channel will be answered before the sound is played.

          ...

          <h3>Import Version</h3>

          ...

          See Also

          Import Version

          This documentation was imported from Asterisk Version SVNGIT-branch-11-r386286</p>3e0eafa