Parrot mode

From "PTTLink Wiki"
Jump to navigation Jump to search


Parrot mode is a mode which sends back your tranmitted audio when you have unkeyed for a selectable amount of time. There are 4 parrot modes:

Parrot Off Parrot On Command Parrot Always Parrot Once by Command

The way the parroting works is when a user keys up after parroting is enabled, the receive audio will be recorded, and then played back a selectable amount of time later after the user unkeys.


Parrot Off

Parroting is disabled, and the parrot enable, and parrot disable COP commands will have no effect. If the system is running app_rpt.c version 0.207 or later, then when parroting is off, you may use the Parrot Once COP method to enable one cycle of parotting. Note: The recording will start right away, the user should not unkey their microphone (unlike other systems). To select this mode, the value for parrotmode should be set to 0 in the node stanza: parrotmode=0


Parrot On Command This mode allows two COP commands to be used to enable parrot mode, and disable parrot mode. Once parrot mode is enabled, then all received signals will be parroted until parrot mode is disabled. To select this mode, the value for parrotmode should be set to 1 in the node stanza:

parrotmode=1


Parrot Always

This mode permanently places the node in parrot mode. This is useful when you want to make a simplex repeater. The parrot enable, and parrot disable COP commands will have no effect when operating in this mode. To select this mode, the value for parrotmode should be set to 2 in the node stanza:

parrotmode=2


Parrot Once By Command

This mode allows the parrot mode to be enabled for one transmission only. You must send a transmission within the parrottime window specified in rpt.conf upon successful command decoding. When the parrottime window closes, parroting will be disabled.


COP Methods

21 Enable Parrot Mode

22 Disable Parrot Mode

23 Cancel Parrot Audio Stream

55 Parrot Once By Command (app_rpt.c version 0.207 and later)

These 4 COP methods should be mapped to DTMF sequences in the function stanza. Example:

999121=cop,21

999122=cop,22

999123=cop,23

999155=cop,55


Node Stanza Settings

There are two settings related to parrot mode which go in the node stanza.

parrotmode Set the parrot mode as described above parrottime Set the amount of time in milliseconds to wait before parroting what was received.

Example node stanza entries:

parrotmode=0

parrottime=1000