This page last changed on Mar 30, 2011 by wikibot.

TrySystem()

Synopsis

Try executing a system command.

Description

Executes a command by using system().

Result of execution is returned in the Result of execution is returned in the None - 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

TrySystem(command)
Arguments
  • command - Command to execute

See Also

Import Version

This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42