Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

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

Syntax

ReadFile(varname=file[,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

Asterisk 10 Application_System
Asterisk 10 Application_Read

Import Version

This documentation was imported from Asterisk version SVN-branch-10-r340810.

  • No labels