Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

ReadFile()

Synopsis

Read the contents of a text file into a channel variable.

Description

Read the contents of a text file into channel variable varname

Warning
titleWarning

ReadFile has been deprecated in favor of Set(varname=${FILE(file,0,length)})

Syntax

No Format
ReadFile(varnamefile[length])
Arguments
  • varname - Result stored here.
  • fileparams
    • file - The name of the file to read.
    • length - Maximum number of characters to capture.
      If not specified defaults to max.

See Also

Import Version

This documentation was imported from Asterisk Version SVN-branch-10-r378689