September 2005
Intermediate to advanced
408 pages
16h 20m
English
System() — Executes an operating system command
System(command)Executes a command in the underlying
operating system. If the command itself executes but is in error, and
if there exists a priority n+101
(where n is the current priority),
the execution of the dialplan will continue at that priority
level.
This application is very similar to the TrySystem() application, except that it will
return -1 if it is unable to
execute the system command, whereas the TrySystem() application will always return
0.
exten => 123,1,System(echo hello > /tmp/hello.txt)