Asterisk cmd TrySystem

Synopsis

Try executing a system command

TrySystem(command)

Description

Executes a command by using system(). Returns 0 on any situation unlike Asterisk cmd System. If the command itself executes but is in error, and if there exists a priority n + 101, where 'n' is the priority of the current instance, then the channel will be setup to continue at that priority level. Otherwise, System returns 0.

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Synopsis

Try executing a system command

TrySystem(command)

Description

Executes a command by using system(). Returns 0 on any situation unlike Asterisk cmd System. If the command itself executes but is in error, and if there exists a priority n + 101, where 'n' is the priority of the current instance, then the channel will be setup to continue at that priority level. Otherwise, System returns 0.

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Created by: JustRumours, Last modification: Fri 12 of Oct, 2007 (06:38 UTC) by chandave
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+