[App_rpt-users] Tx on Rx

Nathan Roberts (T75) tartan75 at gmail.com
Mon Dec 6 22:44:24 UTC 2010


I'm using ACID for the first time setting up a remote (simplex) base
station, which I connect to with iaxrpt. ROIP initiated transmit works fine,
but on RF receive COR goes to 1 (from the debug), and immediately TX
activates - as if its trying to operate as a repeater. I've looked through
the settings and am at a loss.

Any advice much appreciated. Config files below.

Regards

Nathan


rpt.conf
; Radio Repeater configuration file (for use with app_rpt) ;


;
; Your Repeater
;

[1999]                                  ; Change this to your assigned node
number

rxchannel = Radio/usb                   ; Rx audio/signalling channel
irxgain=-10                             ; IRLP receive gain adjustment
                                        ; Note: Gain is in db-volts
(20logVI/VO)
itxgain=10                              ; IRLP transmit gain adjustment
                                        ; Note: Gain is in db-volts
(20logVI/VO)
erxgain=-3                              ; Echolink receive gain adjustment
                                        ; Note: Gain is in db-volts
(20logVI/VO)
etxgain=3                               ; Echolink transmit gain adjustment
                                        ; Note: Gain is in db-volts
(20logVI/VO)
;controlstates=controlstates            ; system control state list
;scheduler=schedule;                    ; scheduler entries
functions=functions                     ; Repeater Function Table
phone_functions=functions               ; Repeater Function Table
link_functions=functions                ; Link Function Table
telemetry=telemetry                     ; Telemetry descriptions
wait_times=wait-times                   ; Wait times
context =  radio                        ; dialing context for phone
;;callerid = "Repeater" <0000000000>    ; callerid for phone calls
;;idrecording = |iid                    ; id recording or morse string
;;accountcode=RADIO                     ; account code (optional)
hangtime=50                             ; squelch tail hang time (in ms)
(optional)
althangtime=4000                        ; longer squelch tail
totime=170000                           ; transmit time-out time (in ms)
(optional)
;;idtime=540000                         ; id interval time (in ms)
(optional)
; The default values for hangtime, time-out time, and id interval time are ;
5 seconds (5000 ms),  3 minutes (180000 ms), and 5 minutes (300000 ms) ;
respectively

politeid=30000                          ; time in milliseconds before ID
timer

                                        ; expires to try and ID in the tail.
                                        ; (optional, default is 30000).
;;idtalkover=|iid                               ; Talkover ID (optional)
default is none
;;unlinkedct=ct2                                ; unlinked courtesy tone
(optional) default is none
;;remotect=ct3                          ; remote linked courtesy tone
(indicates a remote is in the list of links)
;;linkunkeyct=ct8                               ; sent when a transmission
received over the link unkeys
;nolocallinkct=0                        ; Send unlinkedct instead if another
local node is connected to this node (hosted on the same PC).
;irplann=1                              ; Default: 1 = Play irlp connect and
disconnect announcements
                                        ; 0 = Disable irlp connect and
disconnect announcements
;eannmode=1                             ; 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

[functions]
1=ilink,1                               ; Specific link disconnect
2=ilink,2                               ; Specific Link connect -  monitor
only
3=ilink,3                               ; Specific Link connect - transceive
4=ilink,4                               ; Enter command mode on a specific
link
5=macro,1                               ; Command macros (Defined in the
macro section)
7=ilink,5                               ; Link status
984=ilink,7                             ; Last node to key us up
950=autopatchup,noct=1,quiet=1,farenddisconnect=1,context=my-ip,exten=s ; ip
address readback (requires CURL and asterisk compiled to use CURL).
80=status,1                             ; System info
81=status,2                             ; Time
82=status,3                             ; app_rpt.c Version
;841=meter,daq-cham-1,1,lm34f           ; uChameleon temperature readback on
channel 1 using lm34f meter face.
;842=meter,daq-cham-1,1,batvolts        ; uChameleon battery voltage
readback on channel 2 using volts meter face
87=ilink,15                             ; long range sensors

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

;99=cop,4                               ; Test tone
98=cop,6                                ; Phone TX key

[telemetry]

; Telemetry entries can be shared across all repeaters, or defined for each
repeater.
; Can be a tone sequence, morse string, or a file ; ; |t - Tone escape
sequence ; ; Tone sequences consist of 1 or more 4-tuple entries (freq1,
freq2, duration, amplitude) ; Single frequencies are created by setting
freq1 or freq2 to zero.
;
; |m - Morse escape sequence
;
; Sends Morse code at the telemetry amplitude and telemetry frequency as
defined in the ; [morse] section.
;
; Follow with an alphanumeric string
;
; |i - Morse ID escape sequence
;
; Sends Morse code at the ID amplitude and ID frequency as defined in the ;
[morse] section.
;
; Follow with an alphanumeric string


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

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

[morse]

speed=20                                ; Approximate speed in WPM
frequency=800                           ; Morse Telemetry Frequency
amplitude=4096                          ; Morse Telemetry Amplitude
idfrequency=1065                        ; Morse ID Frequency
idamplitude=1024                        ; Morse ID Amplitude

;
; 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                          ; Time to wait before sending most
telemetry
idwait=500                              ; Time to wait before starting ID
unkeywait=2000                          ; Time to wait after unkey before
sending CT's and link telemetry
calltermwait=2000                       ; Time to wait before announcing
"call terminated"

;
; 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.

1999 = radio at 127.0.0.1/1999,NONE        ; This must be changed to your node
number

; Memories for remote bases

[memory]



; Place command macros here

[macro]




Usbradio.conf

; Usbradio channel driver Configuration File ;

[general]

[usb]

hdwtype=0               ; Leave this set to 0 for USB sound fobs modified
using
                        ; the instructions from usbfob.pdf. Use a setting of
                        ; 1 is for Dingotel/Sph interfaces.

rxboost=1               ; 0 = 20db attenuator inserted, 1= 20db attenuator
removed
                        ; Set to 1 for additonal gain if using a low-level
receiver output

;;was 1
rxctcssrelax=1          ; reduce talkoff from radios w/o CTCSS Tx HPF
                        ; Do not change this, leave this as a 1

;txctcssdefault=100.0   ; default tx ctcss freq, any frequency permitted
;rxctcssfreqs=100.0     ; rx ctcss freqs in floating point. must be in table
;txctcssfreqs=100.0     ; tx ctcss freqs, any frequency permitted
rxctcssoverride=1       ; Set to 1 or yes to start out in carrier squelch
mode


;setting usb transmitting during receive, usbinvert breaks transmit
carrierfrom=usb         ; no,usb,usbinvert,dsp,vox
                        ; no - no carrier detection at all
                        ; usb - from the COR line on the modified USB sound
fob
                        ; usbinvert - from the inverted COR line on the
modified USB sound fob
                        ; dsp - from RX noise using dsp techniques
                        ; vox - voice activated from RX audio

ctcssfrom=no            ; no,usb,dsp
                        ; no - CTCSS decoding, system will be carrier
squelch
                        ; usb - CTCSS decoding using input from USB FOB
                        ; (currently not supported)
                        ; dsp - CTCSS decoding using RX audio in DSP.
                        ; rxdemod option must be set to flat for this to
work.

rxdemod=speaker            ; input type from radio: no,speaker,flat
                        ; no - RX audio input not used
                        ; flat - Use RX audio from discriminator (before
de-emphasis)
                        ; speaker - use de-emphasized audio

txprelim=no             ; Audio processing on left output channel: no,yes
                        ; no - Audio is not pre-emphasized and limited.
                        ; Suitable for use on a microphone input
                        ; yes - Audio is pre-emphasized and limited.
                        ; Suitable for direct connection to an FM modulator

txlimonly=yes           ; Audio limiting with no pre-emphasis on output
channel: no,yes
                        ; no - Audio is not limited.
                        ; yes - Audio is  limited.
                        ; Suitable for transmitters with no limiting but
with pre-emphasis.

txtoctype=no            ; Transmit tone control type: no,phase,notone
                        ; no - CTCSS tone encoding with no hang time
                        ; phase - encode CTCSS and reverse phase
                        ; AKA ("reverse burst") before unkeying TX
                        ; notone - encode CTCSS and stop sending tone before
unkeying TX

txmixa=voice            ; Left channel output:
no,voice,tone,composite,auxvoice
                        ; no - Do not output anything
                        ; voice - output voice only
                        ; tone - CTCSS tone only
                        ; composite - voice and tone
                        ; auxvoice - auxiliary voice output at headphone
level for monitoring

txmixb=no               ; Right channel output: no,voice,tone,composite,
auxvoice
                        ; See txmixa above.

invertptt=0             ; Invert PTT 0 = ground to transmit, 1 = open to
transmit
                        ; This is the collector lead of the 2n4401 on the
modified
                        ; usb sound fob.
                        ; please refer to the howto for the procedure to do
this.

duplex=0 ;was 1 with c&D                ; Full Duplex

;rxondelay=20           ; Uncomment and/or adjust for simplex nodes to
eliminate "Ping Ponging"
                        ; or "Relay Racing".
                        ; A positive value here will instruct the usbradio
driver to ignore the
                        ; COR line for a specified number of 20mSec
intervals following the
                        ; release of PTT. Use this only on simplex nodes,
and leave commented
                        ; out for repeaters or other full duplex nodes.

Extensions.conf
[general]

static=yes       ; These two lines prevent the command-line interface
writeprotect=yes ; from overwriting the config file. Leave them here.

[globals]
VOIPTERM=yourprovider
HOMENPA=619
NODE=1999

[default]

exten => _1NXXNXXXXXX,1,Dial(IAX2/${VOIPTERM}/${EXTEN},40,L(180000:30000))
exten => _1NXXNXXXXXX,2,Hangup

[radio-secure]
exten => ${NODE},1,rpt,${NODE}

[invalidnum]
exten=s,1,Wait,3
exten=s,n,Playback,ss-noservice
exten=s,n,Wait,1
exten=s,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)

[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)
; 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(default|${EXTEN}|1)
exten=_X.,2,Goto(invalidnum|s|1)


[my-ip]
exten=s,1,Set(MYADDR=${CURL(http://myip.vg)})
exten=s,2,Wait,1
exten=s,3,SayAlpha(${MYADDR})
exten=s,4,Hangup

[radio-gui]
exten = 1999,1,Rpt,1999|X




More information about the App_rpt-users mailing list