On 11/28/2017 11:31 PM, Mike
Swiatkowski via Groups.Io wrote:
Steve,
I read "If you need to use other ports or addresses, you can
define them in the environment before you start dummyrepeter."
Where do I make these changes if needed?
USRP_IP="127.0.0.1";export USRP_IP
USRP_TXPORT=34001;export USRP_TXPORT
USRP_RXPORT=32001;export USRP_RXPORT
You can put this in the script that starts DummyRepeater or just a
script by itself.
The command env will show you your existing environment
(I have an Allstar-DMR USRP on ports 34002:32002, and am working
on this USRP for Allstar-DStar using 34001:32001). What I
noticed is the configuration of ircddbgateway and dummyrepeater
is VERY, VERY, particular. I had to use the LAN address in
ircddbgateway's repeater 2 address and dummyrepeater's local
address. I'm thinking I have to modify that USRP IP to the LAN
address now to match it since Allstar isn't seeing anything from
it despite the modification in /etc/asterisk/rpt.conf to
contain
rxchannel = USRP/192.168.1.10:34001:32001
192.168.1.10 is necessary (I think) since Dummy repeater won't
work with the 127.0.0.1 address
(or am I wrong?)
Yes it will work with 127.0.0.1
netstat is your friend
-- can I have two instances of USRP running on the same box as
long as the ports are different?
Yes you can. Each node can have it's own instnace:
[1234]
rxchannel = USRP/192.168.1.10:34001:32001
[4321]
rxchannel = USRP/192.168.1.10:35001:36001
IRCDDBGATEWAY: 192.168.1.9
REPEATER 1: 127.0.0.1 (located on same box as ircddbgateway)
DUMMYREPEATER (REPEATER 2): 192.168.1.10
192.168.1.10 has the Allstar - DMR gateway
192.168.1.10 working on adding Allsatr-DMR on the same box
Mike