[arm-allstar] Play ARN out Echolink connections

Lloyd Duck lduck at me.com
Sun Apr 21 12:31:51 EDT 2019


I’m still not able to play Newsline out the Echolink connections, it plays just fine out the repeater and the allstar connected nodes.

 

I started all over and setup my node from scratch to make sure I hadn’t disable it myself. I believe I’m just missing something.

 

Here is a copy of my rpt.conf, I’m using the G for globe in the script.

 

/etc/asterisk/local/playnews/playnews-0.11 ARN now 46663 G &> /dev/null 2>&

 

 

Also I wanted to setup Echolink on my second node by using the dahdi/pseudo so I can disconnect it from allstar network if needed.

 

When I enter the 46664 for that node number in Echolink.conf I’m not able to connect using my Echolink app. The phone is on a different network. 

It works fine if I use 46663 node number. 

 

; WARNING - THIS FILE WAS AUTOMATICALLY CONFIGURED FROM A

; TEMPLATE FILE IN   /usr/local/etc/asterisk_tpl   BY THE

; NODE-CONFIG.SH SCRIPT.

;

; EACH TIME THIS SCRIPT IS RUN, THIS FILE WILL BE OVERWRITTEN.

; IF YOU CHANGE ANYTHING IN THIS FILE AND RUN THE NODE-CONFIG.SH

; SCRIPT, IT WILL BE LOST.

;

; IF YOU INTEND TO USE THE NODE-CONFIG.SH SCRIPT,  THEN YOU SHOULD

; MAKE MODIFICATIONS TO THE ACTUAL TEMPLATE FILES LOCATED IN

; /usr/local/etc/asterisk_tpl directory.

;

; HAMVOIP Radio Repeater configuration file (for use with app_rpt)

 

; This file is shown with two local nodes. The first node is

; assigned during the setup process. If you later want to change

; the node number use your editor to wholsale change the current

; node number to the new number. Also see the important note below.

;

; The nano editor does this nicely using the 'CNTRL \' command.

;

; Likewise do the same for node 46664 if you are using a second node.

; Node 46664 is defined as a pseudo node but could be setup as a second

; simpleusb node.

;

; This file defaults to a simplex node (duplex=1)

;

; Lines with a ';' first character in this file are comments and

; are NOT executed. Values shown are typically defaults meaning

; if the command is commented out the value shown would be used.

 

; IMPORTANT NOTE - when changing node 46664 to a second node or

; adding a node the context mapping section and contexts below

; the last node stanza should reflect the FIRST node number at

; the end of their name unless you define separate stanza

; definitions for each node.

 

; Updated 1/2019 to include additional features

; Before attempting to add features ensure they

; are not already installed in this file.

 

; THIS IS AN IMPORTANT FILE! EDIT CAREFULLY AND

; MAKE A BACKUP FIRST!

 

; The first node definition

 

[46663] ; Change this to your assigned node number

 

; CHANNEL DRIVER SETTINGS

                                ; Define a channel driver to use and which

                                ; interface within that channel driver

                                ; To define a radioless node use the

                                ; psuedo channel driver - rxchannel=dahdi/pseudo

;rxchannel=Radio/usb46663

                                ; Example usbradio channel driver

rxchannel=SimpleUSB/usb

                                ; Example simpleusb channel driver      

;rxchannel=dahdi/pseudo

                                ; Example pseudo channel driver

;rxchannel=iopipe/stanza1       

                                ; Future hamvoip IOpipe channel driver

                                ; stanza1 rename to actual stanza name in iopipe.conf file

;txchannel=

                                ; The txchannel allows separate sound cards for the

                                ; receive and transmit audio paths. This is seldom used

                                ; but shown here to make the user aware of its existence.

                                ; It would take the same parameters as rxchannel.

 

; NODE LOOKUP METHODS

 

                                ; There are three choices for the way to lookup

                                ; nodes. Being able to lookup nodes and mapping

                                ; to an IP address and port is a requirement

                                ; for proper operation of Allstar.

 

                                ; NOTE - when using DNS lookup on all nodes on

                                ; a server the filelookup_onoff.sh script should

                                ; be used to turn off redundant flat file lookups.

                                ; DNS lookup is the default.

 

                                ; node_lookup_method=dns  (Default)

                                ;   Uses hamvoip DNS lookup

 

                                ; node_lookup_method=file

                                ;   Uses Allstar flat file lookup

                                ;   Deprecated in hamvoip v1.5

 

                                ; node_lookup_method=local

                                ;   Uses local fixed routing defined in the

                                ;   [nodes] stanza below        

node_lookup_method=dns

 

 

; REPEATER/SIMPLEX NODE SETTINGS

                                ; duplex=0 - Half duplex with no telemetry

                                ; tones or hang time. Special Case: Full

                                ; duplex if linktolink is set to yes.

                                ; This mode is preferred when interfacing

                                ; with an external multiport repeater controller.

 

                                ; duplex=1 - Half duplex with telemetry tones

                                ; and hang time. Does not repeat audio.

                                ; This mode is preferred when interfacing a

                                ; simplex node. This is the default mode.

 

                                ; duplex=2 - Full Duplex with telemetry tones

                                ; and hang time. This mode is preferred when

                                ; interfacing a repeater.

 

                                ; duplex=3 - Full Duplex with telemetry tones

                               ; and hang time, but no repeated audio. Often

                                ; used for radio-less nodes.

 

                                ; duplex=4 - Full Duplex with telemetry tones

                                ; and hang time. Repeated audio only when the

                                ; autopatch is down.

duplex=1

 

; CONTEXT MAPPING

 

controlstates=controlstates46663

                                ; Defines groups of control operator commands

                                ; to be executed all at once. Can be combined

                                ; with macros to allow changes to a nodes

                                ; operating mode to be made quickly.

 

scheduler=schedule46663 

                                ; Defines macros to be executed at a specific

                                ; time and date. Uses a cron-like syntax

 

morse=morse46663                

                                ; Contains definitions for morse code messages.

                                ; One common morse stanza is shared across

                                ; multiple nodes

 

macro=macro46663                

                                ; Defines DTMF macro sequences

 

functions=functions46663        

                                ; Defines DTMF function digit sequences. A

                                ; function stanza has a reference to it defined

                                ; inside a node stanza. Multiple function stanzas

                                ; may be defined and used to provide different

                                ; function lists for different sources

                                ; (radio.phone, and link)

 

phone_functions=functions46663

link_functions=functions46663

 

telemetry=telemetry46663

                                ; Contains definitions for telemetry tones

                                ; (courtesy tones, roger beeps, etc). A telemetry

                                ; stanza has a reference to it defined inside

                                ; a node stanza.

 

wait_times=wait-times46663

                                ; Contains time delays used to time audio

                                ; telemetry events

events=events46663              

                                ; Allstar events

 

; ECHOLINK SETTINGS

                                ; Echolink is a separate module.

                                ; The Echolink.conf file must be

                                ; configured for it to function

 

erxgain=-3

                                ; Echoline RX gain in dB

etxgain=3

                                ; Echolink TX gain in dB

eannmode=2

                                ; Echolink announcement mode

                                ; Default: 1 = Say only node number on echolink

                                ; connects. 2 = say phonetic call sign only on

                                ; echolink connects. 3 = say phonetic call sign

                                ; and node number on echolink connects

 

; IRLP SETTINGS

                                ; IRLP is a separate hamvoip package which must

                                ; be installed and configured for it to be

                                ; functional.

 

irxgain=-6

                                ; IRLP receive gain adjustment

itxgain=4

                                ; IRLP transmit gain adjustment

irlpann=0

                                ; Default: 1 = Play irlp connect and disconnect

                                ;              announcements

                                ;          0 = Disable irlp connect and disconnect

                                ;              announcements

 

 

; AUDIO LEVEL SETTINGS IN dB

 

telemnomdb=0

                                ; Overall reduction in telemetry level

telemduckdb=-9

                                ; Telemetry level reduction with signal

 

; NOTCH FILTER

 

;rxnotch=1000,20

                                ; Apply a notch to filter the RX signal. Values are:

                                ; frequency, bandwidth. Up to ten filters can be cascaded.

                                ; Example of three cascaded filters at 1000hz

                                ; 20hz bandwidth: rxnotch=1000,20,1000,20,1000,20

 

 

; DIAL PLAN SETTINGS

 

context =  radio

callerid = Repeater <0000046663>

                                ; This setting allows the autopatch on

                                ; the node to be identified with a specific

                                ; caller ID

accountcode=RADIO

 

 

; ID SETTINGS

                                ; ID recording files must have extension gsm,ulaw,pcm,

                                ; or wav. No file extension is used.

                                ; All ID recording files should be sampled at 8KH

 

;idrecording=/etc/asterisk/local/node-id

                                ; Main ID voice

;idrecording=|iDE W5LND/L

                                ; Main ID CW

;idtalkover=|iDE W5LND/L

                                ; ID when signal present

 

idrecording=/etc/asterisk/local/node-id

 

; TIME SETTINGS - milliseconds  

                                ; The default values for hangtime, tx_timeout,

                                ; and id interval time are ; 5 seconds (5000 ms),

                                ; 3 minutes (180000 ms), and 5 minutes (300000 ms)

                                ; respectively

 

hangtime=100

                                ; squelch tail hang time (in ms)

althangtime=100

                                ; This controls the length of the node hang time

                                ; when the alternate hang timer is selected with

                                ; a control operator function.

tx_timeout=240000

                                ; changed from totime V1.3

idtime=600000

                                ; ID every 10 minutes

politeid=30000

                                ; The politeid setting specified the number of

                                ; milliseconds prior to the end of the id cycle

                                ; where the controller will attempt to play the

                                ; ID in the tail when a user unkeys. If the

                                ; controller does not get a chance to send the

                                ; ID in the tail, the ID will be played over

                                ; the top of the user transmission.

rx_timeout=300000

                                ; Timeout on hardware COS. Used to avoid hangup

                                ; of circuits with COS lockup.          

rx_cosflap=20

                                ; Minimum COS Timeout reset period. Used to

                                ; avoid resseting of rx_timeout with a flapping

                                ; squelch.

 

 

; COURTESY TONE MAPPING

 

unlinkedct=ct1

                                ; Sent when not connected to another node

remotect=ct3

                                ; Sent when remote base connected

 

                                ; The linkunkeyct command can be used to

                                ; customize the courtesy tone based on

                                ; a node number. This is useful to identify

                                ; input from a specific node. See the

                                ; howto at hamvoip.org for details.

 

linkunkeyct=ct8

                                ; sent when a network user unkeys. This

                                ; method uses the mapped tone for all nodes.

 

;linkunkeyct=by_node_number,ct8

                                ; Use this method to send a distinct courtesy

                                ; tone based on node number. If node number is

                                ; not defined use the default tone shown here

                                ; as ct8. Comment the linkunkeyct=ct8 above

                                ; when using this method. See the howto on this

                                ; at hamvoip.org for additional information.

 

;node40000=ct12

                                ; Define node number to mapped tone for

                                ; distinctive courtesy tone. Multiple nodes

                                ; can be mapped to multiple mappings by adding

                                ; additional nodexxxxx=ctxx lines. ctxx tones

                                ; must be defined in the [telemetry] stanza

 

 

; LINK SETTINGS - values in seconds

 

;nolocallinkct=0

                                ; Send unlinkedct instead of linkedct if

                                ; another local node is connected to this

                                ; node (hosted on the same server).

;lnkactenable=0

                                ; The link activity timer may be used to reset

                                ; a link configuration back to a default

                                ; configuration if a user changes how the node

                                ; is linked. This helps in situations where the

                                ; user forgets to reset the system to the default

                                ; values, or drives out of range.

;lnkacttime=1800

                                ; This sets the amount of time to wait before

                                ; executing the inactivity macro. Set to a value

                                ; between 180 and 2000000 seconds.

;lnkactmacro=*52

                                ; This is the function to execute when the activity

                                ; timer expires. This can either be a function or

                                ; another macro defined in the [macros] stanza.

;lnkacttimerwarn=30seconds

                                ; For a 30 second warning message, set this to the

                                ; path of a ulaw or pcm sound file to play locally

                                ; when there is 30 seconds left on the activity timer.

                                ; Defualts to /var/lib/asterisk/sounds

 

 

; REMOTE SETTINGS - values in seconds

 

;remote_inact_timeout=1800

                                ; Specifies the amount of time without keying

                                ; from the link. Set to 0 to disable timeout.

;remote_timeout=3600

                                ; Specifies the amount of time without keying from

                                ; the link. Set to 0 to disable timeout.

 

 

; LONG TONE ZERO DTMF

                                ; LiTZ is a simple method to indicate to others on

                                ; an amateur VHF / UHF FM radio frequency that you

                                ; have an immediate need to communicate with someone,

                                ; anyone, regarding a priority situation or condition.

                                ; This command can call any DTMF function which could

                                ; then call a script or program. It does not have to

                                ;  use the autopatch.

 

;litzcmd=*6911

                                ; Command sequnce -- Call 911 on autopatch

;litztime=3000

                                ; time required to hold down DTMF, defaults to 3000 ms

;litzchar=0

                                ; DTMF character to activate LITZ, defauls to 0

 

 

; MISC. SETTINGS

 

parrot=0                        ; One time parrot modr with DTMF A9

 

;connpgm=yourconnectprogram

                                ; Program or script to run at connection

 

;connpgm=/usr/local/sbin/supermon/smlogger 1  ; use this line for Supermon

 

;discpgm=yourdisconnectprogram

                                ; Program or script to run at disconnection

 

;discpgm=/usr/local/sbin/supermon/smlogger 0  ; use this line for Supermon

 

nounkeyct=0

                                ; Disable courtest tones (=1)

holdofftelem=1

                                ; Do not make announcements over user voice

telemdefault=2

                                ; 0= voice telemetry off, 1= on,

                                ; 2= Only your telemetry actions

                                ; then mutes in 1 minute

beaconing=0

                                ; When set to 1 will send the repeater ID at

                                ; the idtime interval regardless of whether

                                ; there was repeater activity or not.

 

;funcchar = *

                                ; function lead-in character (defaults to '*')

;endchar = #

                                ; command mode end character (defaults to '#')

;nobusyout=yes

                                ; (optional) Do not busy-out reverse-patch when

                                ; normal patch in use

;notelemtx = yes

                                ; telemetry output does not make main

                                ; system transmit (optional)

;propagate_dtmf = yes

                                ; DTMF sent to system from link gets

                                ; repeated onto main system output

 

;propagate_phonedtmf = yes

                                ; DTMF sent to system from phone gets

                                ; repeated into main system output and

                                ; link outputs (optional)

;linktolink = yes

                                ; disables forcing physical half-duplex

                                ; operation of main repeater while

                                ; still keeping half-duplex semantics

;inxlat = #456,#457,0123456789ABCD

                                ; translate digit strings inbound,

                                ; in this case intrepret #456 as star,

                                ; #457 as pound, and pass all the other

                                ; chars listed in arg3 (optional)

;outxlat = *7,*0,0123456789#ABCD

                                ; translate digit string outbound,

                                ; in this case *7 generates star, *0

                                ; generates pound, and all the other

                                ; digits pass along

 

;extnodes = extnodes-different

                                ; section in extnodefile containing

                                ; dynamic node information (optional)

;extnodefile = different-file

                                ; file containing dynamic node

                                ; info (optional)

 

;archivedir = some-directory

                                ; defines and enables activity recording

                                ; into specified directory (optional)

;archiveaudio=0

                                ; Disable saving audio files when

                                ; archiving. Use with caution on SDcards

                                ; This write a lot of data.

;archivetype=gsm

                                ; Allows the selection of gsm (.wav) or

                                ; pcm (.ul) for archiving audio files

 

;startup_macro = *7

                                ; Macro to run at startup (optional)

;startup_macro_delay=5

                                ; Time in seconds to wait before executing

                                ; the startup macro

 

; TAIL MESSAGE

 

; The tailmessagetime,tailsquashedtime, and tailmessages need to be set

; to support tail messages. They can be omitted otherwise.

;

;tailmessagetime=1800000

                                ; Play a tail message every 5 mins

;tailsquashedtime=120000

                                ; If squashed by another user,

                                ; try again after 30 seconds

 

;tailmessagelist=/etc/asterisk/local/some_file

                                ;list of messages to be played for tail message

 

 

; *** STATUS REPORTING ***

 

; Uncomment the following two statpost lines to report the

; status of your node to stats.allstarlink.org

 

statpost_program=/usr/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null

statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates

 

; END OF FIRST NODE

 

; BEGIN SECOND NODE

 

; Second node shown as a pseudo node

; This node can be edited to include a second public or private node

 

[46664] ; Change this to your assigned node number

 

; CHANNEL DRIVER SETTINGS

                                ; Define a channel driver to use and which

                                ; interface within that channel driver

                                ; To define a radioless node use the

                                ; psuedo channel driver - rxchannel=dahdi/pseudo

;rxchannel=Radio/usb46664

                                ; Example usbradio channel driver

;rxchannel=SimpleUSB/usb2

                                ; Example simpleusb channel driver

                                ; Stanza for usb2 needs to be added to simpleusb..conf 

rxchannel=dahdi/pseudo

                                ; Example pseudo channel driver

;rxchannel=iopipe/stanza1

                                ; Future hamvoip IOpipe channel driver

                                ; stanza1 rename to actual stanza name in iopipe.conf file

;txchannel=

                                ; The txchannel allows separate sound cards for the

                                ; receive and transmit audio paths. This is seldom used

                                ; but shown here to make the user aware of its existence.

                                ; It would take the same parameters as rxchannel.

 

; NODE LOOKUP METHODS

 

                                ; There are three choices for the way to lookup

                                ; nodes. Being able to lookup nodes and mapping

                                ; to an IP address and port is a requirement

                                ; for proper operation of Allstar.

 

                                ; NOTE - when using DNS lookup on all nodes on

                                ; a server the filelookup_onoff.sh script should

                                ; be used to turn off redundant flat file lookups.

                                ; DNS lookup is the default.

 

                                ; node_lookup_method=dns  (Default)

                                ;   Uses hamvoip DNS lookup

 

                                ; node_lookup_method=file

                                ;   Uses Allstar flat file lookup

                                ;   Deprecated in hamvoip v1.5

 

                                ; node_lookup_method=local

                                ;   Uses local fixed routing defined in the

                                ;   [nodes] stanza below

node_lookup_method=dns

 

 

; REPEATER/SIMPLEX NODE SETTINGS

                                ; duplex=0 - Half duplex with no telemetry

                                ; tones or hang time. Special Case: Full

                                ; duplex if linktolink is set to yes.

                                ; This mode is preferred when interfacing

                                ; with an external multiport repeater controller.

 

                                ; duplex=1 - Half duplex with telemetry tones

                                ; and hang time. Does not repeat audio.

                                ; This mode is preferred when interfacing a

                                ; simplex node. This is the default mode.

 

                                ; duplex=2 - Full Duplex with telemetry tones

                                ; and hang time. This mode is preferred when

                                ; interfacing a repeater.

 

                                ; duplex=3 - Full Duplex with telemetry tones

                                ; and hang time, but no repeated audio. Often

                                ; used for radio-less nodes

 

                                ; duplex=4 - Full Duplex with telemetry tones

                                ; and hang time. Repeated audio only when the

                                ; autopatch is down.

duplex=3

 

; CONTEXT MAPPING

 

controlstates=controlstates

                                ; Defines groups of control operator commands

                                ; to be executed all at once. Can be combined

                                ; with macros to allow changes to a nodes

                                ; operating mode to be made quickly.

 

scheduler=schedule46663 

                                ; Defines macros to be executed at a specific

                                ; time and date. Uses a cron-like syntax

 

morse=morse46663                

                                ; Contains definitions for morse code messages.

                                ; One common morse stanza is shared across

                                ; multiple nodes

 

macro=macro46663                

                                ; Defines DTMF macro sequences

 

functions=functions46663        

                                ; Defines DTMF function digit sequences. A

                                ; function stanza has a reference to it defined

                                ; inside a node stanza. Multiple function stanzas

                                ; may be defined and used to provide different

                                ; function lists for different sources

                                ; (radio.phone, and link)

 

phone_functions=functions46663

link_functions=functions46663

 

telemetry=telemetry46663        

                                ; Contains definitions for telemetry tones

                                ; (courtesy tones, roger beeps, etc). A telemetry

                                ; stanza has a reference to it defined inside

                                ; a node stanza.

 

wait_times=wait-times46663

                                ; Contains time delays used to time audio

                                ; telemetry events

events=events46663

                                ; Allstar events

 

; ECHOLINK SETTINGS

                                ; Echolink is a separate module.

                                ; The Echolink.conf file must be

                                ; configured for it to function

 

erxgain=-3

                                ; Echoline RX gain in dB

etxgain=3

                                ; Echolink TX gain in dB

;eannmode=1

                                ; Echolink announcement mode

                                ; Default: 1 = Say only node number on echolink

                                ; connects. 2 = say phonetic call sign only on

                                ; echolink connects. 3 = say phonetic call sign

                                ; and node number on echolink connects

 

; IRLP SETTINGS

                                ; IRLP is a separate hamvoip package which must

                                ; be installed and configured for it to be

                                ; functional.

 

irxgain=-6

                                ; IRLP receive gain adjustment

itxgain=4

                                ; IRLP transmit gain adjustment

irlpann=0

                                ; Default: 1 = Play irlp connect and disconnect

                                ;              announcements

                                ;          0 = Disable irlp connect and disconnect

                                ;              announcements

 

 

; AUDIO LEVEL SETTINGS IN dB

 

telemnomdb=0

                                ; Overall reduction in telemetry level

telemduckdb=-9

                                ; Telemetry level reduction with signal

 

; NOTCH FILTER

 

;rxnotch=1000,20

                                ; Apply a notch to filter the RX signal. Values are:

                                ; frequency, bandwidth. Up to ten filters can be cascaded.

                                ; Example of three cascaded filters at 1000hz

                                ; 20hz bandwidth: rxnotch=1000,20,1000,20,1000,20

 

; DIAL PLAN SETTINGS

 

context =  radio

callerid = Repeater <0000046663>

                                ; This setting allows the autopatch on

                                ; the node to be identified with a specific

                                ; caller ID

accountcode=RADIO

 

 

; ID SETTINGS

                                ; ID recording files must have extension gsm,ulaw,pcm,

                                ; or wav. No file extension is used.

                                ; All ID recording files should be sampled at 8KH

 

idrecording=/etc/asterisk/local/node-id

                                ; Main ID voice

;idrecording=|iDE W5LND/L

                                ; Main ID CW

idtalkover=|iDE W5LND/L

                                ; ID when signal present

 

 

; TIME SETTINGS - milliseconds  

                                ; The default values for hangtime, tx_timeout,

                                ; and id interval time are ; 5 seconds (5000 ms),

                                ; 3 minutes (180000 ms), and 5 minutes (300000 ms)

                                ; respectively

 

hangtime=100

                                ; squelch tail hang time (in ms)

althangtime=100

                                ; This controls the length of the node hang time

                                ; when the alternate hang timer is selected with

                                ; a control operator function.

tx_timeout=240000

                                ; changed from totime V1.3

idtime=600000

                                ; ID every 10 minutes

politeid=30000

                                ; The politeid setting specified the number of

                                ; milliseconds prior to the end of the id cycle

                                ; where the controller will attempt to play the

                                ; ID in the tail when a user unkeys. If the

                                ; controller does not get a chance to send the

                                ; ID in the tail, the ID will be played over

                                ; the top of the user transmission.

rx_timeout=300000

                                ; Timeout on hardware COS. Used to avoid hangup

                                ; of circuits with COS lockup.          

rx_cosflap=20

                                ; Minimum COS Timeout reset period. Used to

                                ; avoid resseting of rx_timeout with a flapping

                                ; squelch.

 

 

; COURTESY TONE MAPPING

 

unlinkedct=ct2

                                ; Sent when not connected to another node

remotect=ct3

                                ; Sent when remote base connected

 

linkunkeyct=ct8

                                ; sent when a network user unkeys. This

                                ; method uses the mapped tone for all nodes.

 

;linkunkeyct=by_node_number,ct8

                                ; Use this method to send a distinct courtesy

                                ; tone based on node number. If node number is

                                ; not defined use the default tone shown here

                                ; as ct8. Comment the linkunkeyct=ct8 above

                                ; when using this method. See the howto on this

                                ; at hamvoip.org for additional information.

 

;node40000=ct12

                                ; Define node number to mapped tone for

                                ; distinctive courtesy tone. Multiple nodes

                                ; can be mapped to multiple mappings by adding

                                ; additional nodexxxxx=ctxx lines. ctxx tones

                                ; must be defined in the [telemetry] stanza

 

 

; LINK SETTINGS - values in seconds

 

;nolocallinkct=0

                                ; Send unlinkedct instead of linkedct if

                                ; another local node is connected to this

                                ; node (hosted on the same server).

;lnkactenable=0

                                ; The link activity timer may be used to reset

                                ; a link configuration back to a default

                                ; configuration if a user changes how the node

                                ; is linked. This helps in situations where the

                                ; user forgets to reset the system to the default

                                ; values, or drives out of range.

;lnkacttime=1800

                                ; This sets the amount of time to wait before

                                ; executing the inactivity macro. Set to a value

                                ; between 180 and 2000000 seconds.

;lnkactmacro=*52

                                ; This is the function to execute when the activity

                                ; timer expires. This can either be a function or

                                ; another macro defined in the [macros] stanza.

;lnkacttimerwarn=30seconds

                                ; For a 30 second warning message, set this to the

                                ; path of a ulaw or pcm sound file to play locally

                                ; when there is 30 seconds left on the activity timer.

                                ; Defaults to /var/lib/asterisk/sounds

 

 

; REMOTE SETTINGS - values in seconds

 

;remote_inact_timeout=1800

                                ; Specifies the amount of time without keying

                                ; from the link. Set to 0 to disable timeout.

;remote_timeout=3600

                                ; Specifies the amount of time without keying from

                                ; the link. Set to 0 to disable timeout.

 

 

; LONG TONE ZERO DTMF

                                ; LiTZ is a simple method to indicate to others on

                                ; an amateur VHF / UHF FM radio frequency that you

                                ; have an immediate need to communicate with someone,

                                ; anyone, regarding a priority situation or condition.

                                ; This command can call any DTMF function which could

                                ; then call a script or program. It does not have to

                                ;  use the autopatch.

 

;litzcmd=*6911

                                ; Command sequnce -- Call 911 on autopatch

;litztime=3000

                                ; time required to hold down DTMF, defaults to 3000 ms

;litzchar=0

                                ; DTMF character to activate LITZ, defauls to 0

 

 

; MISC. SETTINGS

 

parrot=0                        ; One time parrot modr with DTMF A9

 

;connpgm=yourconnectprogram

                                ; Program or script to run at connection

 

;connpgm=/usr/local/sbin/supermon/smlogger 1  ; use this line for Supermon 

 

;discpgm=yourdisconnectprogram

                                ; Program or script to run at disconnection

 

;discpgm=/usr/local/sbin/supermon/smlogger 0  ; use this line for Supermon

 

nounkeyct=0

                                ; Disable courtest tones (=1)

holdofftelem=1

                                ; Do not make announcements over user voice

telemdefault=2

                                ; 0= voice telemetry off, 1= on,

                                ; 2= Only your telemetry actions

                                ; then mutes in 1 minute

beaconing=0

                                ; When set to 1 will send the repeater ID at

                                ; the idtime interval regardless of whether

                                ; there was repeater activity or not.

 

;funcchar = *

                                ; function lead-in character (defaults to '*')

;endchar = #

                                ; command mode end character (defaults to '#')

;nobusyout=yes

                                ; (optional) Do not busy-out reverse-patch when

                                ; normal patch in use

;notelemtx = yes

                                ; telemetry output does not make main

                                ; system transmit (optional)

;propagate_dtmf = yes

                                ; DTMF sent to system from link gets

                                ; repeated onto main system output

 

;propagate_phonedtmf = yes

                                ; DTMF sent to system from phone gets

                                ; repeated into main system output and

                                ; link outputs (optional)

;linktolink = yes

                                ; disables forcing physical half-duplex

                                ; operation of main repeater while

                                ; still keeping half-duplex semantics

;inxlat = #456,#457,0123456789ABCD

                                ; translate digit strings inbound,

                                ; in this case intrepret #456 as star,

                                ; #457 as pound, and pass all the other

                                ; chars listed in arg3 (optional)

;outxlat = *7,*0,0123456789#ABCD

                                ; translate digit string outbound,

                                ; in this case *7 generates star, *0

                                ; generates pound, and all the other

                                ; digits pass along

 

;extnodes = extnodes-different

                                ; section in extnodefile containing

                                ; dynamic node information (optional)

;extnodefile = different-file

                                ; file containing dynamic node

                                ; info (optional)

 

;archivedir = some-directory

                                ; defines and enables activity recording

                                ; into specified directory (optional)

;archiveaudio=0

                                ; Disable saving .wav files when

                                ; archiving. Use with caution on SDcards

                                ; This write a lot of data.

;archivetype=gsm

                                ; Allows the selection of gsm/wav or

                                ; pcm/ulaw for archiving audio files

 

;startup_macro = *7

                                ; Macro to run at startup (optional)

;startup_macro_delay=10

                                ; Time in seconds to wait before executing

                                ; the startup macro

 

; TAIL MESSAGE

 

; The tailmessagetime,tailsquashedtime, and tailmessages need to be set

; to support tail messages. They can be omitted otherwise.

;

;tailmessagetime=1800000

                                ; Play a tail message every 5 mins

;tailsquashedtime=120000

                                ; If squashed by another user,

                                ; try again after 30 seconds

 

;tailmessagelist=/etc/asterisk/local/some_file

                                ;list of messages to be played for tail message

 

 

; *** STATUS REPORTING ***

 

; Uncomment the following two statpost lines to report the

; status of your node to stats.allstarlink.org

 

statpost_program=/usr/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null

statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates

 

; END OF SECOND NODE

 

 

; MORSE CODE PARAMETERS

;

[morse46663]

 

speed=20

frequency=800

amplitude=4096

idfrequency=750

idamplitude=1024

 

; CONTROL STATES

 

[controlstates]

;statenum = copcmd,[copcmd]...

0 = rptena,lnkena,apena,totena,ufena,noicd  ; Normal operation

1 = rptena,lnkdis,apdis,totena,ufdis,noice  ; Repeater only operation

 

; SCHEDULES

 

[schedule46663]

;dtmf_function =  minute  hour  dayofmonth month dayofweek  ; ala cron, star is implied

;1=00 * * * *   ;run macro 1 on the hour

 

 

; EVENTS

 

[events46663]

 

; Commands for FOB COS indicator when available

; For this to work you must also add - gpio4 = out,0 - to simpleusb.conf

; Uncomment (remove ;) on next two lines to activate

;cop,62,GPIO4:1 = c|t|RPT_RXKEYED

;cop,62,GPIO4:0 = c|f|RPT_RXKEYED

 

[events46664]

 

; FUNCTIONS

 

[functions46663]

 

; disconnect link = *1<node>

1=ilink,1

; monitor link = *2<node>

2=ilink,2

; connect link transceive = *3<node>

3=ilink,3

; remote command = *4<node>

4=ilink,4

; execute macro = *5<macro#>

5=macro,1

 

; system status

70=ilink,5

;  disconnect permanently connected link = *71<node>

71=ilink,11

; connect link permanent monitor = *72<node>

72=ilink,12

; connect link permanent transceive = *73<node>

73=ilink,13

; play full system status

75=ilink,15

; disconnect all links

76=ilink,6

; reconnect previously disconnected links

77=ilink,16

; permanently monitor link – local Monitor only

78=ilink,18

 

80=status,11    ; ID (local)

;81=status,12   ; Time of Day (local) old method

;Say 12 hour time on node 1

; Add local ZIP before node for weather also

81=cmd,/usr/local/sbin/saytime.pl 46663

; Say 24 hour time on node 1

; Add local ZIP before node for weather also

82=cmd,/usr/local/sbin/say24time.pl 79720 46663

 

880=cmd,/usr/local/bin/AUTOSKY/AutoSky.OFF

881=cmd,/usr/local/bin/AUTOSKY/AutoSky.ON

 

; Autopatch must be configured to work

; Autopatch up

61=autopatchup,context=radio,noct=1,farenddisconnect=1,dialtime=20000,quiet=1

; Autopatch down

0=autopatchdn

 

; Example Play a Node announcement

; Audio file must be Allstar compliant

;920=localplay,/etc/asterisk/local/some-file

 

;989=cop,4

980=status,3

 

; News Script Functions

976=cmd,/etc/asterisk/local/playnews/playnews-0.11 ARN now 46663 G &> /dev/null 2>&1  ;Newsline *976

 

99=cop,6 ; PPT on, # = release

 

; Functions to call utility scripts

; Some of these are commented out. 

; For use Remove ';' and change function

; command and node to your choice

; Note that halting the system remotely would require

; a power cycle to recover, use with caution!

;

A1=cmd,/usr/local/sbin/sayip.sh 46663   ; Say local IP to radio

 

A3=cmd,/usr/local/sbin/saypublicip.sh 46663     ; Say Public IP to radio

 

A5=cmd,/usr/local/sbin/sayreg.sh                ; Say Registration status

 

                                                ; Say DNS node lookup   

A7=autopatchup,context=saydns,noct=1,farenddisconnect=1,dialtime=15000,quiet=1

 

A9=cop,55                                       ; One time parrot

        

;B1=cmd,/usr/local/sbin/halt.sh 46663   ; Halt the system (linux total shutdown)

 

;B3=cmd,/usr/local/sbin/reboot.sh 46663 ; Reboot the system

 

B6=cmd,/usr/local/sbin/astres.sh                ; Restart Asterisk

 

                                                ; Update hamvoip with voice feedback

;C2=cmd,/usr/local/sbin/say-hamvoip-sys-update.sh

 

 

; MACROS

 

; Place command macros here

 

[macro46663]

;Macro number = command string (each command separated by space) -end with HASH

1=*81 *80#    ; play time and voice ID

 

 

; TELEMETRY COURTESY TONE DEFINITIONS

 

[telemetry46663]

 

ct1=|t(350,0,100,2048)(500,0,100,2048)(660,0,100,2048)

ct2=|t(660,880,150,2048)

ct3=|t(440,0,150,4096)

ct4=|t(550,0,150,2048)

ct5=|t(660,0,150,2048)

ct6=|t(880,0,150,2048)

ct7=|t(660,440,150,2048)

ct8=|t(700,1100,150,2048) ; 2048 amplitude

remotetx=|t(1633,0,50,3000)(0,0,80,0)(1209,0,50,3000);

remotemon=|t(1209,0,50,2048)

cmdmode=|t(900,903,200,2048)

functcomplete=|t(1000,0,100,2048)(0,0,100,0)(1000,0,100,2048)

patchup=rpt/callproceeding

patchdown=rpt/callterminated

 

; WAIT TIMES

 

;

; This section allows wait times for telemetry events to be adjusted

; A section for wait times can be defined for every repeater (node)

;

 

[wait-times46663]

telemwait=600

idwait=600

unkeywait=800

calltermwait=2000

 

; LOCAL NODE ROUTING

 

; Define local nodes

 

[nodes]

; Note, if you are using automatic updates for allstar link nodes,

; no allstar link nodes should be defined here. Only place a definition

; for your local (within your LAN) nodes, and private (off of allstar

; link) nodes here.

 

46663 = radio at 127.0.0.1/46663,NONE

46664 = radio at 127.0.0.1/46664,NONE

 

connpgm=/usr/local/sbin/supermon/smlogger 1

discpgm=/usr/local/sbin/supermon/smlogger 0

 

#includeifexists custom/rpt.conf

 

 



More information about the ARM-allstar mailing list