On 11/8/2013 9:20 PM, Lu Vencl wrote:
asterisk -rx for which I have not tried yet. What does it do?
from the command 'man asterisk' from the shell: -r Instead of running a new Asterisk process, attempt to connect to a running Asterisk process and provide a console interface for controlling it. -x command Connect to a running Asterisk process and execute a command on a command line, passing any output through to standard out and then terminating when the command execution completes. Therefore, the command 'asterisk -rx (some command)' is the same as logging into the asterisk command line and executing a command. Means that you can pass commands to asterisk without having to start the asterisk command shell via direct entry or via a script such as: (yyyyup.sh): #!/bin/bash /usr/sbin/asterisk -rx "rpt cmd XXXXX ilink 3 YYYYY" Which instructs asterisk to execute a repeater command to node XXXXX to execute an ilink 3 to node YYYYY. Fully explained in the Asterisk book by O'Reilly, the man pages, and many examples of scripts that have passed the list. At least for the Acid version. XIPAR? Have no idea.