Name

TryExec() — Tries to execute an Asterisk application

Synopsis

TryExec(app(args))

Attempts to run the specified Asterisk application.

This application is very similar to the Exec() application, except that it always returns normally, whereas the Exec() application will act as if the underlying application was natively called, including exit status. This application can be used to catch a condition that would normally cause the underlying application to exit abnormally.

          exten => 123,1,TryExec(VMAuthenticate(@default))
        

See Also

Exec()