[App_rpt] Can't monitor on node

Stephen Rodgers hwstar at rodgers.sdcoxmail.com
Tue Jul 24 19:34:54 UTC 2007


Renato,


See below

Renato Ornelas wrote:
> Thank you very much... now I can monitor what's going on the radio channel
> with my sip phone.
> 
> I guess this pciradio.c should go into the howto... I tought the version
> that comes with zaptel was alright...
> 
> Another question... How does the DTMF stuff work with both zaptel.cfg and

Zaptel.conf has nothing to do with DTMF. DTMF commands are configured in
rpt.conf. You must have set all of the audio levels correctly for DTMF
to decode reliably. There's a document on app-rpt.qrvc.com which shows
the procedure. If you update app_rpt.c to the latest version, you may
simulate DTMF commands on the asterisk command line using the rpt fun
command.




> app_rpt?
> 
> 
> 2007/7/24, Stephen Rodgers <hwstar at rodgers.sdcoxmail.com>:
>>
>> Renato,
>>
>> See my answers below.
>>
>> Renato Ornelas wrote:
>> > Hi.. I was a bit busy last few days, so I couldn't make the tests you
>> told
>> > me to do...
>> >
>> > Using the radio configuration software, i can receive in one pin the
>> signal
>> > i can hook to COR (in one pin it swings from 0V to 3.3V in the other it
>> > goes
>> > from 0V to 13V)
>> > 1) Can I use the 3.3V pin and the corthresh=3125 option on zaptel.conf
>>
>> Use the 13V signal
>>
>> > 2) If not, can I use 13V without the risk to fry the quad radio?
>>
>> Yes, the COR input has a 1 meg resistor and a zener diode on the input.
>> It will take 13V with no problem.
>>
>> Do not apply 12V to the UIOA or UIOB pins as they have tiny 220 ohm
>> resistors in series with the inputs and you could damage the resistors.
>>
>> >
>> > But what I think strange is that even if i put 5V (from the PSU)
>> > directly on
>> > the COR pin, the light doesn't light either. Does this have something
>> with
>> > zaptel.conf, asterisk or what? Even with asterisk not loaded does it
>> > have to
>> > light?
>>
>> Your config file looks good.
>>
>>
>> If you are using the pciradio driver which came in the asterisk tarball,
>> then that is the reason why you don't see a green light when the COR is
>> asserted. Please download a later version pciradio.c from
>> https://sv.qrvc.com.viewvc.pciradio.
>>
>> Also to get all of latest features in app_rpt.c download a new version
>> from https://sv.qrvc.com/viewvc/app_rpt
>>
>>
>>
>> >
>> > my zaptel.conf
>> >
>> > e&m=1-4 # This needs to match the number of channels used in
>> rpt.confand
>> > zapata.conf
>> > loadzone = us
>> > defaultzone=us
>> >
>> > invertcor=y
>> > channels=1-4
>> > exttone=n
>> >
>> >
>> >
>> > 2007/7/10, Stephen Rodgers <hwstar at rodgers.sdcoxmail.com>:
>> >>
>> >>
>> >> The problem you are experiencing has nothing to do with link
>> status, or
>> >> whether the repeater is linked or not. It is most likely a hardware
>> >> interface or zaptel configuration issue.
>> >>
>> >> To hear receive audio, you must make sure you have COR hooked up to
>> the
>> >> quad radio card. The way to test this is to use another radio to
>> >> simulate a transmission to the radio connected to the Quad PCI radio
>> >> card, The green light on the back of tha card should light when a
>> signal
>> >> is received and go out when the signal goes away. If this is not
>> >> happening, then this is why you aren't hearing any receive audio.
>> >>
>> >> If you are not getting a green light on the card when a signal is
>> >> received, try the following:
>> >>
>> >> 1. With a voltmeter or scope Make sure the COR swings from 0V to
>> greater
>> >> than 5V or 5V to 0V when a signal is received.
>> >>
>> >>
>> >> 2. Make sure that the ctcss statement(s) are commented out in
>> >> zaptel.conf like this:
>> >>
>> >> #ctcss=1109,2,1109
>> >>
>> >> and that exttone is set to n:
>> >>
>> >> exttone=n
>> >>
>> >> and that invertcor=y or invertcor=n is set so that the green light
>> comes
>> >> on when a signal is received and goes out when the signal goes away.
>> >> Change it to the opposite of what is if the green light is on with no
>> >> signal and off with a signal.
>> >>
>> >>
>> >> Steve.
>> >>
>> >>
>> >>
>> >> Renato Ornelas wrote:
>> >> > Hello dear friends!
>> >> >
>> >> > I'm using a PCI Quad Radio card with a Motorola EM400 radio pluged
>> >> in. I
>> >> > can
>> >> > use a SIP phone to connect to the node (1999) and issue the PTT
>> command
>> >> > (*98) and deactivate it (#). I want to be able to listen to this
>> >> channel
>> >> > when I dial to the node but when I ask for the Link status (*7), all
>> I
>> >> > receive on the phone and on the remote radio is "node 1999
>> >> repeat_only".
>> >> I
>> >> > tried the duplex=2 option but it didnt work either.
>> >> >
>> >> > Thanks in avance.
>> >> >
>> >> > My rpt.conf:
>> >> >
>> >> > ;
>> >> > ; Your repeater
>> >> > ;
>> >> >
>> >> > [1999]                          ; Name of First Repeater
>> >> >
>> >> > rxchannel = Zap/1                       ; Rx audio/signalling
>> channel
>> >> > ; Note: if you use a unified interface (tx/rx on one channel), only
>> >> > ; specify the rxchannel and the txchannel will be assumed from the
>> >> > rxchannel
>> >> > ;rxnotch=1065,40                        ; Notch a particular
>> frequency,
>> >> > depth
>> >> >                                        ; app_rpt must have been
>> >> compiled
>> >> > with
>> >> >                                        ; the notch option
>> >> > duplex=2
>> >> > functions=functions                     ; Repeater Function Table
>> >> > link_functions=link-functions           ; Link Function Table
>> >> > phone_functions=functions               ; Phone Function table
>> (reverse
>> >> > patch)
>> >> > telemetry=telemetry                     ; Telemetry descriptions
>> >> > wait_times=wait-times                   ; Wait times
>> >> > context = radio                         ; dialing context for phone
>> >> > callerid = "Your Repeater" <6198192562> ; callerid for phone calls
>> >> > idrecording = /etc/asterisk/id          ; id recording
>> >> > accountcode=RADIO                       ; account code (optional)
>> >> > hangtime=100                            ; squelch tail hang time (in
>> >> ms)
>> >> > (optional)
>> >> > totime=180000                           ; transmit time-out time (in
>> >> ms)
>> >> > (optional)
>> >> > idtime=300000                           ; 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/r                       ; Talkover ID (optional)
>> >> default
>> >> is
>> >> > none
>> >> > unlinkedct=ct2                          ; unlinked courtesy tone
>> >> (optional)
>> >> > default is none
>> >> >
>> >> > [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
>> >> >
>> >> > 80=status,1                             ; System info
>> >> > 81=status,2                             ; Time
>> >> > 82=status,3                             ; app_rpt.c Version
>> >> > 87=ilink,15                             ; Global node query (all
>> nodes
>> >> in
>> >> > network)
>> >> >
>> >> > 6=autopatchup
>> >> > 0=autopatchdn                           ; Autopatch down
>> >> >
>> >> > ; Control operator commands
>> >> >
>> >> > 919296=cop,1                            ; System warm boot
>> >> > 919297=cop,2                            ; System enable
>> >> > 919298=cop,3                            ; System disable
>> >> > 99=cop,4                                ; Audio test tone
>> >> > 98=cop,6                                ; Telephone key PTT
>> >> >
>> >> >
>> >> >
>> >> > [link-functions]
>> >> > 1=ilink,1                               ; Specific link disconnect
>> >> > 2=ilink,2                               ; Specific Link connect
>> >> -  monitor
>> >> > only
>> >> > 3=ilink,3                               ; Specific Link connect -
>> >> > transceive
>> >> > 5=macro,1                               ; Command macros (Defined in
>> >> the
>> >> > macro section)
>> >> > 7=ilink,5                               ; Link status
>> >> >
>> >> > 80=status,1                             ; System info
>> >> > 81=status,2                             ; Time
>> >> > 82=status,3                             ; app_rpt.c Version
>> >> > 87=ilink,15                             ; Global node query (all
>> nodes
>> >> in
>> >> > network)
>> >> >
>> >> > 6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000  ; Autopatch
>> up
>> >> > 0=autopatchdn                           ; Autopatch down
>> >> >
>> >> > [nodes]
>> >> > 1999 = radio at 127.0.0.1/1999,NONE        ; This must be changed to
>> your
>> >> node
>> >> > number
>> >> >
>> >> >
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> >
>> >> > _______________________________________________
>> >> > App_rpt mailing list
>> >> > App_rpt at lists.illiana.net
>> >> > http://lists.illiana.net/mailman/listinfo/app_rpt
>> >>
>> >> _______________________________________________
>> >> App_rpt mailing list
>> >> App_rpt at lists.illiana.net
>> >> http://lists.illiana.net/mailman/listinfo/app_rpt
>> >>
>> >
>> >
>> >
>> ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > App_rpt mailing list
>> > App_rpt at lists.illiana.net
>> > http://lists.illiana.net/mailman/listinfo/app_rpt
>>
>> _______________________________________________
>> App_rpt mailing list
>> App_rpt at lists.illiana.net
>> http://lists.illiana.net/mailman/listinfo/app_rpt
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> App_rpt mailing list
> App_rpt at lists.illiana.net
> http://lists.illiana.net/mailman/listinfo/app_rpt




More information about the App_rpt-users mailing list