Jump to: navigation, search


6,438 bytes added, 6 months ago
Added connpgm and discpgm
| 211 || Send a #
Not all commands above are supported by all radios. For example radios which don't support SSB, would not be able to be placed in LSB or USB mode.
===Remote Base Login===
The LICENSETAG argument is used to enforce
tx frequency limits. See Need info [txlimits] below= Settings to name other Stanzas =Within the node stanza, some key=value pairs point to other stanzas. This allows nodes on the same Asterisk/app_rpt server to have the same settings (without duplicate entries) or different settings in some cases. For example the phone patch command may be *6 on one node, yet *61 on another. For example: [1000] functions=functionsVHF [1001] functions=functionsVHF [1002] functions=functionsUHF [functionsVHF] ; Two meter Autopatch up is *6 6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 0=autopatchdn ; Autopatch down [functionsUHF] ; 440 Autopatch up is *61 61=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up 0=autopatchdn ; Autopatch down* controlstates=* functions=* link_functions=* macro=* phone_functions=* telemetry=* wait_times=
=Node Number Stanza=
''Note'': The value in quotes is the name of the autopatch caller, and the numbers in angle brackets are the originating telephone number to use.
==connpgm= and discpgm= ==
Runs user defined scripts. Example from
# Place these lines in rpt.conf for each node:
# connpgm=/home/kyle/swissarmy 1
# discpgm=/home/kyle/swissarmy 0
controlstates = controlstates ; points to control state stanza
The [[#Control States Stanza|control state stanza]] (below) describes these mnemonics.
| 2 || Full Duplex with telemetry tones and hang time. This mode is preferred when interfacing a repeater.
| 3 || Full Duplex with telemetry tones and hang time, but no repeated audio.[[Duplex Mode 3|See details]]
| 4 || Full Duplex with telemetry tones and hang time. Repeated audio only when the autopatch is down.
functions = functionsUHF ; pointer to 440 repeater functions stanza
== GUI ==
{| class="wikitable"
!Valid Values
|0 = telemetry output off, 1 = telemetry output on, 2 = timed telemetry output on command execution and for a short time thereafter, 3 = follow local telemetry mode
|0 = disallow users to change the gui telemetry setting with a COP command, 1 = Allow users to change the setting with a COP command
= Function Classes =
Function classes are names for categories of functions. There are several function classes defined. They are described in the table below:
{| class="wikitable"
|Control operator commands
|Internet linking commands
|User Status Commands
|Autopatch up commands
|Autopatch down commands
|Remote base commands
|Command Macros
Most of the above command classes require a function method and possibly one or more additional command parameters. Function methods are discussed next.
= Function Methods =
Function methods are numbers which identify a specific function to execute within a function class. Function Methods are optional and in some cases should be omitted (Such as with the autopatchup method) A complete and up-to-date description of all functon methods can be found in the app_rpt.c source file. Some function methods are shown below as an example below:
1 - Force ID (global)
2 - Give Time of Day (global)
3 - Give software Version (global)
11 - Force ID (local only)
12 - Give Time of Day (local only)
= Function Options =
Some Function Methods can take function options. These are specified after the Function Method separated with commas. Not all commands require or take Function options. An example of a method which can accept Function Options is the autopatchup method.
= Putting it all Together =
A small excerpt from the function stanza of rpt.conf is hown below.
1=ilink,1 ; Specific link disconnect
6=autopatchup,noct=1,farenddisconnect=1,dialtime=2000 ; Autopatch up
The above example contains DTMF functions with all of the parameters discussed on previous pages.
In the above example:
* *1 followed by a node number disconnects a specific link. The function class is ''ilink'' and the function method is ''1''
* *6 followed by a phone number brings up the autopatch with the function options specified. Note that there is no function method defined, but there are function options present.
holdofftelem = 1 ;Set to 1 to hold off. Default is 0
== telemdefault= ==
telemdefault = 0 = telemetry output off, 1 = telemetry output on, 2 = timed telemetry output on command execution and for a short time thereafter. Default is 1
== telemdynamic= ==
telemdynamic = 0 = disallow users to change the local telemetry setting with a COP command, 1 = Allow users to change the setting with a COP command. Default is 1
== phonelinkdefault= ==
phonelinkdefault = 0 = telemetry output off, 1 = telemetry output on, 2 = timed telemetry output on command execution and for a short time thereafter, 3 = follow local telemetry mode Default is 1
== phonelinkdynamic= ==
phonelinkdynamic = 0 = disallow users to change phone telemetry setting with a COP command, 1 = Allow users to change the setting with a COP command Default is 1
| dahdi/pseudo || No radio, used for hubs
| SimpleUSB/usb_1999 || [[Simpleusb.conf| SimpleUSB (limited DSP) ]]
| Radio/usb_1999 || [[Usbradio.conf| USBRadio (full DSP) ]]
| voter/1990 || [[Voter.conf| RTCM ]]
| Pi/1 || Raspberry Pi PiTA
''Note'': This is selecting what is known as (in Asterisk terminology) the channel driver.
This setting defines the scheduler stanza. The scheduler is used to execute commands at a particular time.
scheduler = schedule ; name scheduler to 'schedule'
unlinkedct = ct2 ; use courtesy tone 2
Wait-times points to the [[#Wait Times Stanza|Wait Times Stanza]].
wait-times = wait-times ; name wait-times to 'wait-times'
The authlevel= key is used to enable or disable login requirements for a remote base.
* authlevel=0 Disables all access control(not recommended, unsecured)
* authlevel=1 Enables access control, and waits for key up before prompting for the access code
* authlevel=2 Enables access control, and prompts for the access code at the time of connection
==Remote Base rxchannel===
This should contain the name of a usb radio interface which has been defined in [[usbradio.conf ]] or a zaptel interface number if using a Quad Radio PCI Card.
What the numbers mean,
| | | |-------amplitude
| | |-------------duration
| |-------------------Tone 2
|-------------------------Tone 1
speed=20 ; Approximate speed in WPMfrequency=900 ; Morse Telemetry Frequencyamplitude=4096 ; Morse Telemetry Amplitudeidfrequency=746 ; Morse ID Frequency idamplitude=768 ; Morse ID Amplitude
=Wait Times Stanza=
This stanza is named by the [[#wait-times=|wait-times=]] key/value pair. The wait time stanza is used to set delay time between various node actions and their response. Values are in milliseconds.
Sample:<pre>wait-times =wait-times ; name the stanza 'wait-times' [wait-times] telemwait = 2000idwait = 500unkeywait = 2000calltermwait = 2000</pre> =Remote Base Memory Stanza=Remote base memories are in the format of: memory = rxfreq,plfreq,txpower,offset,tone Sample:<pre>[memory]00 = 146.580,100.0,m01 = 147.030,103.5,m+t02 = 147.240,103.5,m+t03 = 147.765,79.7,m-t04 = 146.460,100.0,m05 = 146.550,100.0,m</pre>
=Control States Stanza=
=Schedule Stanza=
The scheduler can execute commands at certain times. For example for a net on Tuesday nights at 8 PM.
scheduler=schedule ; name the stanza 'schedule'
;dtmf_function = m h dom mon dow ; ala cron, star is implied
2 = 00 00 * * * ; at midnight every day, execute macro 2.
=DAQ List Stanza=
[[Category:Node Configuration]]
[[Category:Config Files]]

Navigation menu