Versions Compared

Key

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

TrySystem()

Synopsis

Try executing a system command.

Description

Executes a command by using system().

Result of execution is returned in the SYSTEMSTATUS channel variable:

  • SYSTEMSTATUS
    • FAILURE - Could not execute the specified command.
    • SUCCESS - Specified command successfully executed.
    • APPERROR - Specified command successfully executed, but returned error code.

Syntax

No Format
TrySystem(command)
Arguments
  • command - Command to execute

See Also

Import Version

This documentation was imported from Asterisk Version Unknown