login | register
Wed 09 of Jul, 2008 [07:07 UTC]

voip-info.org

Discuss [0] History

Asterisk cmd TrySystem

Created by: JustRumours,Last modification on Fri 12 of Oct, 2007 [06:38 UTC] by chandave

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


Comments