Skip to content

New Commands

New and different ASL3 commands are mentioned here. Older ASL commands are still documented on the AllStarLink Wiki

app_rpt commands

  • rpt show channels <node>

  • rpt show variables <node> (replaces rpt showvars)

  • rpt show version

  • rpt show registrations is the new command to show HTTP registrations.

    ASL3 uses a new HTTP registration system. The old IAX registration system and iax2 show registry command still exist but HTTP registration should be used in its place.

  • rpt lookup <node> can be used to lookup the IP address of a node.

    In addition to the new registration system, ASL3 now implements a DNS lookup of node information. By default, ASL3 will first query the AllStarLink DNS servers to resolve node information. It will fall back to the external rpt_extnodes file if the node cannot be resolved by DNS.

    You can use the Asterisk CLI command rpt lookup <node> command to show the IP address of a node. For example, rpt lookup 2000 will show the IP of node 2000. If you have the "bind9-host" package installed on your system, the equivalent Linux CLI command to query the IP would be host 2000.nodes.allstarlink.org.

    The node lookup routines will output debug information showing the node lookups if the debug level is set to 4 or higher.

    The operation of this ASL3 feature can be controlled by changing the following information in rpt.conf.

[general]
node_lookup_method = both   ;method used to lookup nodes
                            ;both = dns lookup first, followed by external file (default)
                            ;dns = dns lookup only
                            ;file = external file lookup only

chan_simpleusb commands

susb show settings is used to show the currently selected node's settings. This replaces susb tune.

chan_usbradio commands

radio show settings is used to show the currently selected node's settings. This replaces radio tune.

SimpleUSB and USBRadio Tune Menus

The simpleusb-tune-menu and radio-tune-menu utility programs have been updated with new options. The new options allow you change the operation of the respective channel driver, in realtime, without having to manually edit the simpleusb.conf or usbradio.conf files.

In addition to the updating settings, you can now view the live status of the COS, CTCSS inputs and PTT output. This allows you to easily view and change their settings.

echolink show nodes is used to view the currently connected echolink users.

echolink show stats is used to view the channel statistics for echolink. It shows the number of in-bound and out-bound connections. It also shows the cumulative system statistics, along with the statistics for each connected nodes.

Helper scripts

  • asl-find-sound script makes it easy to identify the device strings for attached USB sound interfaces.
  • asl-repo-switch allows developers and testers switch between main, beta, and devel apt repos.

Debugging

Previously app_rpt and associated channels supported setting the debug level with an associated app / channel command. These app / channel commands have been removed and replaced with the asterisk command:

core set debug x module Where x is the debug level and module is the name of the app or module.

Examples:

  • core set debug 5 app_rpt.so
  • core set debug 3 chan_echolink.so

USB EEPROM Operation

chan_simpleusb and chan_usbradio allow users to store configuration information in the EEPROM attached to their interface(s). The CM119A can have manufacturer information in the same area that stores the user configuration. The CM119B does have manufacturer data in the area that stores user configuration. The manufacturer data cannot be overwritten. The user configuration data has been moved higher in memory to prevent overwriting the manufacturer data. If you use the EEPROM to store configuration data, you will need to save it to the EEPROM after upgrading. Use susb tune save or radio tune save.