Does anyone have a list of Command line interface stuff specifically how to control the node from the command line. I am guessing this would be from the ‘asterisk -r’ command line.
Say a Link is Up and I want to take it down or put up a link from the command line, I hunted around and didn’t find anything on it, sorry if its posted already somewhere however I have only looked a few months back in the archives.
This section contains the suggested prefix digits, mandatory command codes, and suggested command codes for Allstar Link.
Prefix Digit Suggestions
Prefix
Functions
*1
Disconnect Link
*2
Monitor Link
*3
Connect Link
*4
Command Mode
*5
Macros
*6
User Functions
*7
Connection Status
*8
User Functions
*9
User Functions
*0
User Functions
*A
User Functions
*B
User Functions
*C
User Functions
*D
User Functions
Mandatory Command Codes
These are the mandatory command codes which all Allstar Link nodes must support to provide command code consistency to the users.
Command Code
Description
*1node
Disconnect Link
*2node
Connect link in monitor mode
*3node
Connect link in transcieve mode
*4node
Enter command mode on a remote node
*7
Local connection status
Notes
node is an Allstar Link node number
Node number zero (0) is shorthand for the last node operated on by a previous command
Monitor mode means listen to a node, but do not send any audio to it
Command mode means send all received DTMF digits to the node number specified (bypassing the local command decoder). Send # to exit command mode, and restore local command decoding.
Optional Command Codes
Command Code
Description
*80
Force System ID
*81
Say System Time
*82
Say app_rpt software version
*85
Last active node (system-wide)
*87
System-wide connection status
*51
Disconnect all links (macro)
*52
Site Normal (macro)
*53
Reconnect all links (macro)
Does anyone have a list of Command line interface stuff specifically how to control the node from the command line. I am guessing this would be from the ‘asterisk -r’ command line.
Say a Link is Up and I want to take it down or put up a link from the command line, I hunted around and didn’t find anything on it, sorry if its posted already somewhere however I have only looked a few months back in the archives.
Another way to explore the CLI is with the CLI itself and double tab. For example most Allstar commands start with rpt. Type rpt followed by two quick press of the tab key will reveal
Rack*CLI> rpt
cmd debug dump fun fun1 localnodes localplay lookup lstats nodes
page playback restart sendall sendtext set show stats xnode
Then you can try things like typing rpt fun and enter:
Rack*CLI> rpt fun
Usage: rpt fun <nodename> <command>
Send a DTMF function to a node