Skip to content

FILE_FORMAT()

Synopsis

Return the newline format of a text file.

Description

Return the line terminator type:

'u' - Unix "\n" format

'd' - DOS "\r\n" format

'm' - Macintosh "\r" format

'x' - Cannot be determined

Note

If 'live_dangerously' in 'asterisk.conf' is set to 'no', this function can only be executed from the dialplan, and not directly from external protocols.

Syntax

FILE_FORMAT(filename)
Arguments
  • filename

See Also

Generated Version

This documentation was generated from Asterisk branch 16 using version GIT