Setting up Analog_bridge for P25


Stephen Brown - K1LNX
 

Hi guys, 
    So I'm just starting to play with Analog_bridge and P25. My (limited) understanding is that transcoding to/from PCM is handled via software and the OP25 libraries. 

I think I have everything setup correctly, however I don't seem to be getting any traffic from P25 into Analog_bridge. There also seems to be some conflicts in the ini file, I see this in the debug messages when I start it up: 

root@radioserver:/opt/Analog_Bridge# ./Analog_Bridge Analog_Bridge_P25.ini 
I: 2018-09-10 23:15:23.979 Analog Bridge Version 1.1 Wed  9 May 05:56:17 EDT 2018
I: 2018-09-10 23:15:23.979 Copyright (C) 2018 DVSwitch, INAD.
I: 2018-09-10 23:15:23.979 Created by Mike N4IRR and Steve N4IRS
I: 2018-09-10 23:15:23.979 Analog Bridge comes with ABSOLUTELY NO WARRANTY
I: 2018-09-10 23:15:23.979 
I: 2018-09-10 23:15:23.979 This software is for use on amateur radio networks only,
I: 2018-09-10 23:15:23.979 it is to be used for educational purposes only. Its use on
I: 2018-09-10 23:15:23.979 commercial networks is strictly prohibited.
I: 2018-09-10 23:15:23.979 
I: 2018-09-10 23:15:23.979 Analog Bridge is starting
M: 2018-09-10 23:15:23.980 Setting [GENERAL] logLevel -> 2
M: 2018-09-10 23:15:23.980 Setting [GENERAL] subscriberFile -> ./subscriber_ids.csv
M: 2018-09-10 23:15:23.980 Setting [GENERAL] exportMetadata -> true
M: 2018-09-10 23:15:23.980 Setting [GENERAL] decoderFallBack -> true
M: 2018-09-10 23:15:23.980 Setting [GENERAL] useEmulator -> false
M: 2018-09-10 23:15:23.980 Setting [GENERAL] emulatorAddress -> 127.0.0.1:2470
W: 2018-09-10 23:15:23.980 Unknown section/name in .ini file: AMBE_AUDIO/address
W: 2018-09-10 23:15:23.980 Unknown section/name in .ini file: AMBE_AUDIO/txPort
W: 2018-09-10 23:15:23.980 Unknown section/name in .ini file: AMBE_AUDIO/rxPort
M: 2018-09-10 23:15:23.980 Setting [AMBE_AUDIO] ambeMode -> P25
M: 2018-09-10 23:15:23.980 Setting [AMBE_AUDIO] minTxTimeMS -> 2000
M: 2018-09-10 23:15:23.980 Setting [AMBE_AUDIO] gatewayDmrId -> 1234567
M: 2018-09-10 23:15:23.980 Setting [AMBE_AUDIO] repeaterID -> 123456789
M: 2018-09-10 23:15:23.980 Setting [AMBE_AUDIO] txTg -> 9
M: 2018-09-10 23:15:23.980 Setting [AMBE_AUDIO] txTs -> 2
M: 2018-09-10 23:15:23.981 Setting [AMBE_AUDIO] colorCode -> 1
W: 2018-09-10 23:15:23.981 Unknown section/name in .ini file: USRP/address
W: 2018-09-10 23:15:23.981 Unknown section/name in .ini file: USRP/txPort
W: 2018-09-10 23:15:23.981 Unknown section/name in .ini file: USRP/rxPort
M: 2018-09-10 23:15:23.981 Setting [USRP] aslAudio -> AUDIO_UNITY
M: 2018-09-10 23:15:23.981 Setting [USRP] agcGain -> -20
M: 2018-09-10 23:15:23.981 Setting [USRP] dmrAudio -> AUDIO_UNITY
M: 2018-09-10 23:15:23.981 Setting [USRP] dmrGain -> 0.35
W: 2018-09-10 23:15:23.981 Unknown section/name in .ini file: DV3000/address
W: 2018-09-10 23:15:23.981 Unknown section/name in .ini file: DV3000/rxPort
W: 2018-09-10 23:15:23.981 ioctl reset error 
W: 2018-09-10 23:15:23.981 ioctl speed error 
W: 2018-09-10 23:15:23.981 ioctl stereo error 
W: 2018-09-10 23:15:23.981 ioctl setfmt error 
M: 2018-09-10 23:15:23.981 Audio In/Out Device: /dev/null
I: 2018-09-10 23:15:23.981 Open UDP listener on 127.0.0.1:31000
I: 2018-09-10 23:15:23.981 Open USRP on 127.0.0.1:32001
M: 2018-09-10 23:15:23.982 Connecting to DV3000 hardware......
W: 2018-09-10 23:15:24.991 DV3000 not found at 127.0.0.1:2460
Project 25 IMBE Encoder/Decoder Fixed-Point implementation
Developed by Pavel Yazev E-mail: pyazev@...
Version 1.0 (c) Copyright 2009
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file ``LICENSE'' for details.
I: 2018-09-10 23:15:24.992 Subscriber IDs file not found.
I: 2018-09-10 23:15:24.992 Default extended metadata <1234567>
W: 2018-09-10 23:15:24.992 Using software MBE decoder version 1.2.3
W: 2018-09-10 23:15:24.992 Using software OP25 IMBE/AMBE vocoder
I: 2018-09-10 23:15:24.993 Starting Analog_Bridge --> USRP thread
I: 2018-09-10 23:15:24.993 Open UDP listener on 127.0.0.1:34001
I: 2018-09-10 23:15:24.993 Starting USRP --> IPSC_Bridge thread

MMDVM_bridge/P25Gateway appear to work fine, I have them pointed at a test reflector I built. All are locally hosted on the same raspberry pi, and there doesn't appear to be any firewall issues blocking anything, I allow everyting in and out on lo. I built a private node on the app_rpt side and see key/unkey events if I connect my normal node to it so that part seems to be working at least. 

I think I might be missing something, or something is potentially misconfig'd, but can't really put a finger on it. Does Analog_bridge handle P25/IMBE transcoding, or do I need something "external" for that to take place? I also will typically use a different ID on private networks such as this, and have had that sort of stuff get me in the past, so also wanted to make sure there is no ID checking? 

73
Stephen
K1LNX

Join main@DVSwitch.groups.io to automatically receive all group messages.