Page 487 - Asterisk™: The Future of Telephony
P. 487
1
Variable has been set
STREAM FILE
STREAM FILE filename escape_digits [sample_offset]
Play the audio file indicated by filename, allowing playback to be interrupted by the
digits specified by escape_digits, if any. Use double quotes for the digits if you wish
none to be permitted. If sample_offset is provided, the audio will seek to sample_off-
set before playback starts.
Remember, the file extension must not be included in the filename.
Return values:
0
Playback completed with no digit pressed
-1
Error or hangup
value
ASCII value of digit (if pressed), in decimal
TDD MODE
Enables and disables Telecommunications Devices for the Deaf (TDD) transmission/
reception on this channel. Return values:
0
Channel not TDD-capable
1
Success
VERBOSE
VERBOSE message level
Sends message to the console via the verbose message system. The level argument is
the minimum verbosity level at which the message will appear on the Asterisk com-
mand-line interface.
Return value:
0
Always returns 0
STREAM FILE | 459