-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
725 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
; If you are going to use this channel driver, you MUST enable it in modules.conf | ||
; enable it in modules.conf | ||
; change: | ||
; noload => chan_beagle.so ; Beagleboard Radio Interface Channel Driver | ||
; to: | ||
; load => chan_beagle.so ; Beagleboard Radio Interface Channel Driver | ||
|
||
[general] | ||
|
||
[1] | ||
carrierfrom = hwinvert | ||
ctcssfrom = hwinvert | ||
invertptt = 0 | ||
duplex = 1 | ||
rxondelay = 0 | ||
eeprom = 0 | ||
|
||
[2] | ||
carrierfrom = hwinvert | ||
ctcssfrom = hwinvert | ||
invertptt = 0 | ||
duplex = 1 | ||
rxondelay = 0 | ||
eeprom = 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[general] | ||
enable=yes ; enable creation of managed DNS lookups | ||
; default is 'no' | ||
refreshinterval=300 ; refresh managed DNS lookups every <n> seconds | ||
; default is 300 (5 minutes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
; If you are going to use this channel driver, you MUST enable it in modules.conf | ||
; change: | ||
; noload => chan_echolink.so ; echolink Channel Driver | ||
; to: | ||
; load => chan_echolink ; echolink Channel Driver | ||
|
||
[el0] | ||
call = INVALID ; Change this! | ||
pwd = INVALID ; Change this! | ||
name = YOUR NAME ; Change this! | ||
qth = INVALID ; Change this! | ||
email = INVALID ; Change this! | ||
node = 000000 ; Change this! | ||
; Data for EchoLink Status Page | ||
lat = 0.0 ; Latitude in decimal degrees | ||
lon = 0.0 ; Longitude in decimal degrees | ||
freq = 0.0 ; not mandatory Frequency in MHz | ||
tone = 0.0 ; not mandatory CTCSS Tone (0 for none) | ||
power = 0 ; 0=0W, 1=1W, 2=4W, 3=9W, 4=16W, 5=25W, 6=36W, 7=49W, 8=64W, 9=81W (Power in Watts) | ||
height = 0 ; 0=10 1=20 2=40 3=80 4=160 5=320 6=640 7=1280 8=2560 9=5120 (AMSL in Feet) | ||
gain = 0 ; Gain in db (0-9) | ||
dir = 0 ; 0=omni 1=45deg 2=90deg 3=135deg 4=180deg 5=225deg 6=270deg 7=315deg 8=360deg (Direction) | ||
|
||
maxstns = 20 ; Max Stations | ||
|
||
rtcptimeout = 10 ; Max number of missed heartbeats from EL | ||
recfile = /tmp/echolink_recorded.gsm ; | ||
astnode = 1999 ; Change this! | ||
context = radio-secure ; Default in code is echolink-in | ||
|
||
; Max 4 servers | ||
server1 = nasouth.echolink.org | ||
server2 = naeast.echolink.org | ||
server3 = servers.echolink.org | ||
server4 = backup.echolink.org | ||
|
||
; To deny w6xxx you would add the statement: deny = w6xxx | ||
; To prohibit computer-based connections you would write: permit = *-* | ||
; To allow access to only a select group of callsigns: permit = w6abc,w6def,... | ||
|
||
; permit ; comma delimited list of callsign, type (-r) | ||
; deny | ||
|
||
|
||
; Remote text commands thru netcat: | ||
; o.conip <IPaddress> (request a connect) | ||
; o.dconip <IPaddress> (request a disconnect) | ||
; o.rec (turn on/off recording) | ||
|
||
; ipaddr | ||
; port | ||
|
||
#tryinclude custom/echolink.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
[general] | ||
|
||
static = yes ; These two lines prevent the command-line interface | ||
writeprotect = yes ; from overwriting the config file. Leave them here. | ||
|
||
[globals] | ||
HOMENPA = 999 ; change this to your Area Code | ||
NODE = 1999 ; change this to your node number | ||
|
||
[default] | ||
exten => i,1,Hangup | ||
|
||
[radio-secure] | ||
;exten => ${NODE},1,rpt(${EXTEN}) | ||
exten => _XXXX!,1,NoOp(Connect from node: ${CALLERID(num)}) | ||
same => n,NoOp(Connect to: ${EXTEN}) | ||
;same => n,NoOp(The IAXPEER is ${IAXPEER(CURRENTCHANNEL)}) | ||
same => n,NoOp(The Channel IP is ${CHANNEL(peerip)}) | ||
|
||
;If channel IP eq localhost go to connect | ||
same => n,GotoIf($["${CHANNEL(peerip)}" = "127.0.0.1"]?connect) | ||
|
||
;If allowlist/extension dosen't exist check the denylist | ||
same => n,GotoIf($[${DB_KEYCOUNT(allowlist/${EXTEN})} = 0]?denylist) ;goto denylist | ||
;If allowlist/extension/callerid exists go to connect | ||
same => n,GotoIf(${DB_EXISTS(allowlist/${EXTEN}/${CALLERID(num)})}?connect) ;goto connect | ||
same => n,NoOp(${EXTEN} not in allowlist, Hangup) | ||
same => n,Hangup | ||
|
||
;If denylist/extension/callerID doesn't exist goto connect | ||
same => n(denylist),GotoIf(${DB_EXISTS(denylist/${EXTEN}/${CALLERID(num)})}?:connect) ;don't goto connect | ||
same => n,NoOp(${EXTEN} is in denylist, Hangup) | ||
same => n,Hangup | ||
|
||
same => n(connect),rpt(${EXTEN}) | ||
same => n,Hangup | ||
|
||
[iaxrpt] | ||
; Entered from iaxrpt in iax.conf | ||
; Info: The X option passed to the Rpt application | ||
; disables the normal security checks. | ||
; Because incoming connections are validated in iax.conf, | ||
; and we don't know where the user will be coming from in advance, | ||
; the X option is required. | ||
exten => ${NODE},1,rpt(${EXTEN}|X) ; NODE is the Name field in iaxrpt | ||
|
||
[iax-client] ; for IAX VoIP clients. | ||
exten => ${NODE},1,Ringing() | ||
same => n,Wait(10) | ||
same => n,Answer() | ||
same => n,Set(CALLSIGN=${CALLERID(name)}) | ||
same => n,NoOp(Caller ID name is ${CALLSIGN}) | ||
same => n,NoOp(Caller ID number is ${CALLERID(number)}) | ||
same => n,GotoIf(${ISNULL(${CALLSIGN})}?hangit) | ||
same => n,Playback(rpt/connected-to&rpt/node) | ||
same => n,SayDigits(${NODE}) | ||
same => n,rpt(${NODE}|P|${CALLSIGN}-P) | ||
same => n(hangit),NoOp(No Caller ID Name) | ||
same => n,Playback(connection-failed) | ||
same => n,Wait(1) | ||
same => n,Hangup | ||
|
||
; Comment-out the following clause if you want Allstar Autopatch service | ||
[pstn-out] | ||
exten => _NXXNXXXXXX,1,playback(ss-noservice) | ||
same => n,Congestion | ||
|
||
; Un-comment out the following clause if you want Allstar Autopatch service | ||
;[pstn-out] | ||
;exten => _NXXNXXXXXX,1,Dial(IAX2/allstar-autopatch/\${EXTEN}) | ||
; same => n,Busy | ||
|
||
[invalidnum] | ||
exten => s,1,Wait(3) | ||
same => n,Playback(ss-noservice) | ||
same => n,Wait(1) | ||
same => n,Hangup | ||
|
||
[radio] | ||
exten => _X11,1,Goto(check_route,${EXTEN},1); | ||
exten => _NXXXXXX,1,Goto(check_route,1${HOMENPA}${EXTEN},1) | ||
exten => _1XXXXXXXXXX,1,Goto(check_route,${EXTEN},1) | ||
exten => _07XX,1,Goto(parkedcalls,${EXTEN:1},1) | ||
exten => 00,1,Goto(my-ip,s,1) | ||
|
||
[check_route] | ||
exten => _X.,1,Noop(${EXTEN}) | ||
; no 800 | ||
exten => _1800NXXXXXX,2,Goto(invalidnum,s,1) | ||
exten => _1888NXXXXXX,2,Goto(invalidnum,s,1) | ||
exten => _1877NXXXXXX,2,Goto(invalidnum,s,1) | ||
exten => _1866NXXXXXX,2,Goto(invalidnum,s,1) | ||
exten => _1855NXXXXXX,2,Goto(invalidnum,s,1) | ||
; no X00 NPA | ||
exten => _1X00XXXXXXX,2,Goto(invalidnum,s,1) | ||
; no X11 NPA | ||
exten => _1X11XXXXXXX,2,Goto(invalidnum,s,1) | ||
; no X11 | ||
exten => _X11,2,Goto(invalidnum,s,1) | ||
; no 555 Prefix in any NPA | ||
exten => _1NXX555XXXX,2,Goto(invalidnum,s,1) | ||
; no 976 Prefix in any NPA | ||
exten => _1NXX976XXXX,2,Goto(invalidnum,s,1) | ||
; no NPA=809 | ||
exten => _1809XXXXXXX,2,Goto(invalidnum,s,1) | ||
; no NPA=900 | ||
exten => _1900XXXXXXX,2,Goto(invalidnum,s,1) | ||
|
||
; okay, route it | ||
exten => _1NXXXXXXXXX,2,Goto(pstn-out,${EXTEN:1},1) | ||
exten => _X.,2,Goto(invalidnum,s,1) | ||
|
||
[my-ip] | ||
exten => s,1,Wait(1) | ||
same => n,SayAlpha(${CURL(http://myip.vg)}) | ||
same => n,Hangup | ||
|
||
[allstar-sys] | ||
exten => _1.,1,Rpt(${EXTEN:1}|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120) | ||
exten => _1.,n,Hangup | ||
|
||
exten => _2.,1,Ringing | ||
exten => _2.,n,Wait(3) | ||
exten => _2.,n,Answer | ||
exten => _2.,n,Playback(rpt/node) | ||
exten => _2.,n,Saydigits(${EXTEN:1}) | ||
exten => _2.,n,Rpt(${EXTEN:1}|P|${CALLERID(name)}-P) | ||
exten => _2.,n,Hangup | ||
|
||
exten => _3.,1,Ringing | ||
exten => _3.,n,Wait(3) | ||
exten => _3.,n,Answer | ||
exten => _3.,n,Playback(rpt/node) | ||
exten => _3.,n,Saydigits(${EXTEN:1}) | ||
exten => _3.,n,Rpt(${EXTEN:1}|Pv|${CALLERID(name)}-P) | ||
exten => _3.,n,Hangup | ||
|
||
exten => _4.,1,Ringing | ||
exten => _4.,n,Wait(3) | ||
exten => _4.,n,Answer | ||
exten => _4.,n,Playback(rpt/node) | ||
exten => _4.,n,Saydigits(${EXTEN:1}) | ||
exten => _4.,n,Rpt(${EXTEN:1}|D|${CALLERID(name)}-P) | ||
exten => _4.,n,Hangup | ||
|
||
exten => _5.,1,Ringing | ||
exten => _5.,n,Wait(3) | ||
exten => _5.,n,Answer | ||
exten => _5.,n,Playback(rpt/node) | ||
exten => _5.,n,Saydigits(${EXTEN:1}) | ||
exten => _5.,n,Rpt(${EXTEN:1}|Dv|${CALLERID(name)}-P) | ||
exten => _5.,n,Hangup | ||
|
||
[allstar-public] | ||
|
||
exten => s,1,Ringing | ||
same => n,Set(RESP=${CURL(https://register.allstarlink.org/cgi-bin/authwebphone.pl?${CALLERID(name)})}) | ||
same => n,Set(NODENUM=${CALLERID(number)}) | ||
same => n,GotoIf($["${RESP:0:1}" = "?"]?hangit) | ||
same => n,GotoIf($["${RESP:0:1}" = ""]?hangit) | ||
same => n,GotoIf($["${RESP:0:5}" != "OHYES"]?hangit) | ||
same => n,Set(CALLSIGN=${RESP:5}) | ||
;exten => s,n,GotoIf($[${DB_EXISTS(whitelist/${CALLSIGN})}]?:hangit) ; Not in whitelist | ||
same => n,Wait(3) | ||
same => n,Playback(rpt/node,noanswer) | ||
same => n,Saydigits(${NODENUM}) | ||
same => n,Set(CALLERID(name)=${CALLSIGN}) | ||
same => n,Set(CALLERID(num)=0) | ||
same => n,Rpt(${NODENUM}|X) | ||
same => n,Hangup | ||
same => n(hangit),Answer | ||
same => n,Wait(1) | ||
same => n,Hangup | ||
|
||
#tryinclude custom/extensions.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
; Configuration for app_gps | ||
; | ||
[general] | ||
; See https://wiki.allstarlink.org/wiki/Gps.conf | ||
call = W1AW-1 ; callsign (including SSID) for APRS purposes | ||
password = 12345 ; Password for APRS-IS server for above callsign | ||
comment = AllStar Node 1999 ; Text to be displayed associated with this station | ||
server = rotate.aprs2.net ; APRS-IS server to report information to | ||
port = 14580 ; port on server to send data | ||
interval = 600 ; Beacon interval in seconds | ||
icon = r ; A CAR (default) Icon to be displayed for station on APRS display | ||
comport = /dev/ttyS0 ; Serial port for GPS receiver (specify this only if using GPS receiver) | ||
baudrate = 4800 ; Baud rate for GPS receiver (specify this only if using GPS receiver) | ||
debug = n ; set this for debug output | ||
freq = 145.000 ; Display Frequency of station | ||
tone = 100.0 ; CTCSS tone of station (0.0 for none) | ||
lat = 12.3456 ; Fixed (default) latitude in decimal degrees | ||
lon = -123.4567 ; Fixed (default) longitude in decimal degrees | ||
elev = 123.4 ; Elevation of Antenna in Meters (*NOT* HAAT) | ||
power = 1 ; Power level | ||
height = 2 ; Antenna Height in HAAT | ||
gain = 3 ; Antenna Gain | ||
dir = 0 ; Antenna Direction | ||
|
||
; ehlert = | ||
; interval = | ||
; ttcomment = | ||
; ttlat = | ||
; ttlist = | ||
; ttlon = | ||
; ttoffset = | ||
; ttsplit = | ||
|
||
#tryinclude custom/gps.conf | ||
|
Oops, something went wrong.