Skip to end of metadata
Go to start of metadata

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

Icon

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

Import Version

This documentation was imported from Asterisk Version 18

  • No labels