[App_rpt] W9SH app-rpt Multi-Radio Node Setup
Here is some more information for those who might help. Asterisk 2.6GHz, 512MB, PC Host Centos 4.4 asterisk-1.2.13 asterisk-addons-1.2.5 libpri-1.2.4 zaptel-1.2.11 1 Digium TMD-400P with 3 FXS cards and 1 FXO card. 2 ARIB Interfaces. First ARIB interface is connected to Zap1-2 and then to a full-duplex transceiver (repeater). Of course all of the repeater logic is disconnected since app-rpt takes care of that. It works and sounds well. Second ARIB interface is connected to Zap3 and a simplex transceiver. It was installed first on Zap2 and worked fine until I moved it to Zap3 and put the repeater on Zap1-2. The iaxRpt client worked fine with the simplex radio and now works fine with the repeater. I've got things set up with private node numbers now so as to not bother everyone. Looking forward to getting it all back on line and showing it off. Here's the current zaptel.conf ---------------------------------- [root@auggie etc]# cat zaptel.conf # # zaptel.conf # # Repeater Full Duplex 2 FXS fxogs=1 # TX pair fxols=2 # RX pair # Simplex Radio 1 FXS e&m=3 # TX/RX on single channel # fxo card fxsks=4 loadzone = us defaultzone=us # # End of file # Here's the current zapata.conf ---------------------------- [root@auggie asterisk]# cat zapata.conf ; ; Zapata telephony interface ; ; Configuration file ; 20061127 1135 sphenke merged ; 20061203 1925 sphenke adding repeater channel ; We empirically learned that normal Zap channels (e.g. non-e&m) must be ; defined before the app-rpt e&m channels or they will not load. [trunkgroups] [channels] signalling=fxo_ks callwaitingcallerid=no echocancel=yes echocancelwhenbridged=yes echotraining=no relaxdtmf=yes immediate=no adsi=off usecallerid=yes callgroup=1 pickupgroup=1 group=1 ;Include AMP configs #include zapata_additional.conf relaxdtmf=yes ; Repeater TX callerid=asreceived context=repeatertx callwaiting=no threewaycalling=no transfer=no mailbox= signalling=fxo_tx channel=>1 ; Repeater RX signalling=fxo_rx context=repeaterrx threewaycalling=no callwaiting=no transfer=no mailbox= channel=>2 ; Simplex Station TX/RX signalling=em_rxtx context=repeaterrx threewaycalling=no callwaiting=no transfer=no mailbox= channel=>3 group=9 channel=>pseudo language=en context=from-zaptel signalling=fxs_ks rxwink=300 ; Atlas seems to use long (250ms) winks ; ; Whether or not to do distinctive ring detection on FXO lines ; ;usedistinctiveringdetection=yes usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=800 rxgain=0.0 txgain=0.0 group=0 callgroup=1 pickupgroup=1 immediate=no ;faxdetect=both faxdetect=incoming ;faxdetect=outgoing ;faxdetect=no ;Include genzaptelconf configs #include zapata-auto.conf group=1 ;Include AMP configs (moved see above) ;#include zapata_additional.conf ; ; End of file ; Here's the current rpt.conf ---------------------------- [root@auggie asterisk]# cat rpt.conf ; Radio Repeater configuration file (for use with app_rpt) ; ; 20061203 2015 sphenke installing repeater interface ; ; auggie repeater ; [3001] ; Name of First Repeater rxchannel = Zap/2 ; 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 txchannel = Zap/1 ; Tx audio/signalling channel functions=functions ; Repeater Function Table link_functions=link-functions ; Link Function Table 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=1000 ; squelch tail hang time (in ms) (optional) 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/r ; Talkover ID (optional) default is none unlinkedct=ct2 ; unlinked courtesy tone (optional) default is none ; ; auggie simplex radio ; ;[2057] ; Name of First Repeater [3003] rxchannel = Zap/3 ; 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 ;txchannel = Zap/1 ; Tx audio/signalling channel functions=functions ; Repeater Function Table link_functions=link-functions ; Link Function Table telemetry=telemetry ; Telemetry descriptions wait_times=wait-times ; Wait times duplex=0 ; Half-duplex 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=170000 ; transmit time-out time (in ms) (optional) idtime=540000 ; id interval time (in ms) (optional) archivedir= /var/log/asterisk/rpt ; 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 ; ; Repeater function table for node 010 ; [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 7=ilink,5 ; Link status 80=status,1 ; System info 81=status,2 ; Time 82=status,3 ; app_rpt.c Version 6=autopatchup ; Autopatch up 0=autopatchdn ; Autopatch down 99=cop,4 ; Audio test tone ; ; Link function table ; ; If this section is defined, then the remote user accessing our machine in command mode ; will only be able to do the functions defined in this section. If this section is ; omitted, then the link functions will be the same as the repeater functions. ; [link-functions] 1=ilink,1 ; Specific link disconnect 2=ilink,2 ; Specific Link connect - monitor only 3=ilink,3 ; Specific Link connect - transceive 7=ilink,5 ; Link status 80=status,1 ; System info 81=status,2 ; Time 82=status,3 ; app_rpt.c Version 6=autopatchup ; Autopatch up 0=autopatchdn ; Autopatch down 99=cop,4 ; Audio test tone [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,2048) 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,75,2048)(0,0,75,0)(1209,0,75,2048); remotemon=|t(1209,0,75,2048) cmdmode=|t(900,903,200,2048) functcomplete=|t(1000,0,100,2048)(0,0,100,0)(1000,0,100,2048) ; ; 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=1064 ; Morse ID Frequency idamplitude=3072 ; 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=1750 ; Time to wait before sending most telemetry idwait=500 ; Time to wait before starting ID unkeywait=1000 ; Time to wait after unkey before sending CT's and link telemetry calltermwait=1500 ; Time to wait before announcing "call terminated" ; ; This is where you define your nodes which can be connected to. ; [nodes] ;2057= radio@127.0.0.1/2057,NONE ; This must be changed to your node number 3001=radio@127.0.0.1/3001,NONE 3003=radio@127.0.0.1/3003,NONE ; ; end of file ; And finally iax.conf ---------------------------- [root@auggie asterisk]# cat iax.conf ; Inter-Asterisk eXchange driver definition ; ; [general] bindport = 4569 ; Port to bind to (IAX is 4569) bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) disallow=all allow=ulaw allow=alaw allow=gsm allow=g726 jitterbuffer=yes tos=lowdelay mailboxdetail=yes #include iax_additional.conf #include additional_a2billing_sip.conf ; Incoming radio connections [radio] type=user disallow=all allow=g726 allow=gsm codecpriority=host context=radio-secure [gui] type=user disallow=all allow=g726 allow=gsm codecpriority=host context=radio-gui ;secret=purdue secret=xxxxxxx NODE=3003 [radio] type=user disallow=all allow=g726 allow=gsm codecpriority=host context=radio-secure [gui] type=user disallow=all allow=g726 allow=gsm codecpriority=host context=radio-gui ;secret=purdue secret=xxxxxxx ; end of radios ; Setup for outgoing calls [yourprovider] ; This needs to change type=peer host=127.0.0.1 secret=nunya auth=md5 notransfer=yes disallow=all allow=gsm ---------------------------------------- Any help is appreciated. Steve Henke, W9SH
participants (1)
-
Steven Henke