Skip to end of metadata
Go to start of metadata

EXEC

Synopsis

Executes a given Application

Description

Executes application with given options.

Returns whatever the application returns, or -2 on failure to find application.

Note

Icon

exec does not evaluate dialplan functions and variables unless it is explicitly enabled by setting the AGIEXECFULL variable to yes.

Syntax

EXEC APPLICATION OPTIONS 
Arguments
  • application
  • options

See Also

Import Version

This documentation was imported from Asterisk Version GIT-16-e8616a2

  • No labels

2 Comments

  1. How can I exec the dialplan command such as ExecIf with AGICommand: EXEC? I tried to run it through the AMI (AsyncAGI)

     

    Examle: EXEC ExecIf $[${STAT(e,filename)}]?PlayBack(something) : PlayBack(something)

  2. This is online documentation.  This is not a forum to discuss problems you are having.  Please use the resources provided for that purpose as indicated here:

    https://www.asterisk.org/community