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


;
; Your Repeater
;


[28817]					; Change this to your assigned node number 

rxchannel=Radio/usb28817
duplex=2
erxgain=-3
etxgain=3
;controlstates=controlstates
scheduler=schedule28817
morse=morse28817
macro=macro28817
startup_macro=*95327928
functions=functions28817
phone_functions=functions28817
link_functions=functions28817
telemetry=telemetry
wait_times=wait-times
context =  radio
callerid = "Repeater" <0000000000>
idrecording = /etc/asterisk/KJ6KTV
accountcode=RADIO
hangtime=100
althangtime=100
totime=170000
idtime=540000
politeid=3000
propagate_dtmf = yes
telemdefault=2

idtalkover=|iKJ6KTV
unlinkedct=ct2
remotect=ct3
linkunkeyct=ct8
;nolocallinkct=0
;eannmode=1
connpgm=/bin/twitter_status 1
discpgm=/bin/twitter_status 0
;lnkactenable=0
;lnkacttime=1800
;lnkactmacro=*52
;lnkacttimerwarn=30seconds
;remote_inact_timeout=1800
;remote_timeout=3600
nounkeyct=0
;holdofftelem=0
beaconing=0
;
; *** Status Reporting ***
;
; Uncomment the either group following two statpost lines to report the status of your node to stats.allstarlink.org
; depending on whether you are running ACID or Limey Linux.

; ** For ACID ***
statpost_program=/usr/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null                       
statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates 

; ** For Limey Linux **
;statpost_program=/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null                       
;statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates 

;
; Morse code parameters, these are common to all repeaters.
;

;archivedir = /etc/asterisk/qso

[morse28817]

speed=18
frequency=800
amplitude=4096
idfrequency=750
idamplitude=1024

[schedule28817]                                                                      
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied
;9 = 30 * * * * ; Say time every half hour.
9 = 00 * * * * ; Say time every hour.

[functions28817]
1=ilink,1
2=ilink,2
3=ilink,3
4=ilink,4
5=macro,1
70=ilink,5
71=ilink,6
72=ilink,7
73=ilink,15
74=ilink,16
75=ilink,8

80=status,1
81=status,12

6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000	; Autopatch up
0=autopatchdn				; Autopatch down

900=cop,32
998=cop,2
995=cop,3
;989=cop,4
980=status,3
99=cop,6
951=ilink,11 ; Permanent link disconnect
952=ilink,12 ; Permanent link receive
953=ilink,13 ; Permanent link transceive

; Place command macros here

[macro28817]
1 = *95328992#
2 = *95128992#
3 = *95327928#
4 = *95127928#
5 = *9533579234#
6 = *9513579234#
7 = *328020#
8 = *128020#
9 = *81#



[28992]					; Change this to your assigned node number 

rxchannel=Radio/usb28992
duplex=0
erxgain=-3
etxgain=3
;controlstates=controlstates
scheduler=schedule28992
morse=morse28992
macro=macro28992
startup_macro=*95328817
functions=functions28992
phone_functions=functions28992
link_functions=functions28992
telemetry=telemetry
wait_times=wait-times
context =  radio
callerid = "Repeater" <0000000000>
idrecording = /etc/asterisk/KJ6KTV
accountcode=RADIO
hangtime=100
althangtime=100
totime=170000
idtime=0
politeid=0
propagate_dtmf = yes        ; Propagate non-function DTMFdigits
linktolink = yes
inxlat = #97,#98,0123456789ABCD,y
outxlat = *7,*0,0123456789#ABCD
telemdefault=0

idtalkover=none
unlinkedct=0
remotect=0
linkunkeyct=0
;nolocallinkct=0
;eannmode=1
connpgm=/bin/twitter_status 1
discpgm=/bin/twitter_status 0
;lnkactenable=0
;lnkacttime=1800
;lnkactmacro=*52
;lnkacttimerwarn=30seconds
;remote_inact_timeout=1800
;remote_timeout=3600
nounkeyct=1
;holdofftelem=0
beaconing=0
;
; *** Status Reporting ***
;
; Uncomment the either group following two statpost lines to report the status of your node to stats.allstarlink.org
; depending on whether you are running ACID or Limey Linux.

; ** For ACID ***
statpost_program=/usr/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null                       
statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates 

; ** For Limey Linux **
;statpost_program=/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null                       
;statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates 

;
; Morse code parameters, these are common to all repeaters.
;

;archivedir = /etc/asterisk/qso

[morse28992]

speed=18
frequency=800
amplitude=4096
idfrequency=750
idamplitude=1024

[schedule28992]                                                                      
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied                                                  
 

[functions28992]
1=ilink,1
2=ilink,2
3=ilink,3
4=ilink,4
5=macro,1
70=ilink,5
71=ilink,6
72=ilink,7
73=ilink,15
74=ilink,16
75=ilink,8

80=status,1
81=status,2

6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000	; Autopatch up
0=autopatchdn				; Autopatch down

;989=cop,4
980=status,3
99=cop,6
951=ilink,11 ; Permanent link disconnect
952=ilink,12 ; Permanent link receive
953=ilink,13 ; Permanent link transceive

; Place command macros here

[macro28992]



[telemetry]

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)
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

;
; This section allows wait times for telemetry events to be adjusted
; A section for wait times can be defined for every repeater
;

[wait-times]                                                                                                 
telemwait=2000
idwait=500
unkeywait=2000
calltermwait=2000

;
; This is where you define your nodes which cam be connected to.
;

[nodes]
; Note, if you are using automatic update for allstar link nodes,
; no allstar link nodes should be defined here. Only place a definition
; for your locak nodes, and private (off of allstar link) nodes here.
 
28817 = radio@127.0.0.1:4565/28817,NONE 
28992 = radio@127.0.0.1:4565/28992,NONE

; Memories for remote bases

[memory]

;00 = 146.580,100.0,m
;01 = 147.030,103.5,m+t
;02 = 147.240,103.5,m+t
;03 = 147.765,79.7,m-t
;04 = 146.460,100.0,m
;05 = 146.550,100.0,m      


#includeifexists custom/rpt.conf
