TryExec(appname)
Full arguments reference
appnamerequiredargumentsrequired
Allows an arbitrary application to be invoked even when not hard coded into the dialplanThe core call-routing configuration of Asterisk, written mostly in extensions.conf as contexts, extensions, and priorities that decide how every call is handled. Full definition →. To invoke external applications see the application System. Always returns to the dialplan. The channelA single call leg passing through Asterisk. Channels represent connections to endpoints and are what dialplan applications act on. variable TRYSTATUS will be set to one of:
- TRYSTATUS
SUCCESS- If the application returned zero.FAILED- If the application returned non-zero.NOAPP- If the application was not found or was not specified.
appnamerequiredargumentsrequired
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.