This page last changed on Mar 30, 2011 by wikibot.

CONTROL STREAM FILE

Synopsis

Sends audio file on channel and allows the listener to control the stream.

Description

Send the given file, allowing playback to be controlled by the given digits, if any. Use double quotes for the digits if you wish none to be permitted. Returns 0 if playback completes without a digit being pressed, or the ASCII numerical value of the digit if one was pressed, or -1 on error or if the channel was disconnected.

Syntax

CONTROL STREAM FILE FILENAME ESCAPE_DIGITS [SKIPMS] [FFCHAR] [REWCHR] [PAUSECHR]
Arguments
  • FILENAME - The file extension must not be included in the filename.
  • ESCAPE_DIGITS
  • SKIPMS
  • FFCHAR - Defaults to *
  • REWCHR - Defaults to #
  • PAUSECHR

See Also

Import Version

This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42