Execute an operating system command and wait for the result (blocking).
Because this command blocks further execution of the dialplan until it completes, do not execute long-running commands this way. An alternative is the 'bgsystem' dialplan app to run the command in the background.
Get the information back as a channel variable!
If you need to remove a trailing new line character, you can use this: