Date
1 - 20 of 67
ASL to P25 bridge #analog_bridge
I want to make a bridge between ASL and P25. I understand that I must use the USRP channel driver and ports 32001, 34001.
I believe the flow is ASL<->analog_bridge<->MMDVM<->P25gateway<->P25reflector. I have several questions: 1) Can I do this without a DV3000?
2) What ports are used between modules?
AMBE_audio to MMDVM 32010, 42020 ?
MMDVM to P25gateway 34103,34100 ?
3) The analog_bridge.ini files that I have seen on the web appear to have DMR stuff like ToDMR port, FromDRM port,slot , color. When I install analog bridge will I see that or P25 settings?
Thanks, Tom / K5TRA
|
|
I guess I could start over with a working ASL image of my own and do all the dvswitch install including P25reflector and analog-bridge. That's a lot of re-do.
Tom
|
|
2 options I can see at this point.
toggle quoted messageShow quoted text
1: Start with a fresh Stretch apt-get update apt-get upgrade apt-get install raspberrypi-kernel-headers -y Verify you have headers matching the running kernel. If so, install ASL. 2: Start with ASL 1.01 Steve
On 8/9/20 9:59 PM, Tom wrote:
Iroot@P25reflector:~ # apt-get install raspberrypi-kernel-headers -y
|
|
Steve,
I just started with a fresh Raspian image and performed all of the suggested steps: apt-get update apt-get upgrade apt-get install raspberrypi-kernel-headers -y Unfortunately, I'm still seeing the same results. Fortunately, I haven't yet installed any of the ASL or DVSwitch stuff. root@P25reflector:/usr/src # uname -r 4.14.98-v7+
root@P25reflector:/usr/src # ls linux-headers-4.19.66+ linux-headers-4.19.66-v7+
Tom
|
|
I rebooted and tried it again and I now have linux-headers-4.19.66-v7 installed and reported with uname -r.
I'll keep you posted Tom
|
|
Steve,
Last night I installed everything and ran into a problem with ASLerrors. Today, I started with a known good ASL install and overlayed the DVSwitch stuff. No errors on installs. This is the closest to working so far. I'm now having a dahdi related error on ASL startup. I did do a /usr/src/asl-dahdi-linux-2.11.1 make (no errors) and make install (no errors). Here's what I get from asterisk -cv : [ Initializing Custom Configuration Options ] [Aug 10 11:21:52] NOTICE[13888]: dnsmgr.c:394 do_reload: Managed DNS entries will be refreshed every 300 seconds.
[Aug 10 11:21:52] NOTICE[13888]: cdr.c:1416 do_reload: CDR simple logging enabled.
[Aug 10 11:21:52] NOTICE[13888]: loader.c:874 load_modules: 56 modules will be loaded.
............[Aug 10 11:21:52] ERROR[13888]: chan_dahdi.c:11711 setup_dahdi: Unable to load chan_dahdi.conf
...[Aug 10 11:21:52] NOTICE[13888]: chan_simpleusb.c:4242 load_module: Unable to load config simpleusb.conf
[Aug 10 11:21:52] NOTICE[13888]: chan_usbradio.c:5790 load_module: Unable to load config usbradio.conf
....[Aug 10 11:21:52] ERROR[13888]: codec_dahdi.c:432 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory Tom
|
|
lsmod | grep dahdi
toggle quoted messageShow quoted text
Show result. Did you do a apt-get update / apt-get upgrade since starting ASL?
On 8/10/2020 12:32 PM, Tom wrote:
Steve,
|
|
root@K5TRA_ASL_testserver:/usr/src # lsmod | grep dahdi
dahdi_dummy 3432 0
dahdi 229497 1 dahdi_dummy
crc_ccitt 1771 1 dahdi
|
|
Do you have chan_dahdi.conf in /etc/asterisk?
toggle quoted messageShow quoted text
Do you have simple usb and usbradio enabled on /etc/asterisk/modules?
On 8/10/2020 12:32 PM, Tom wrote:
.[Aug 10 11:21:52] ERROR[13888]: chan_dahdi.c:11711 setup_dahdi: Unable to load chan_dahdi.conf
|
|
Show output:
toggle quoted messageShow quoted text
dahdi_scan dahdi_test -c 10
On 8/10/2020 12:59 PM, Tom wrote:
|
|
root@K5TRA_ASL_testserver:/etc/asterisk # dahdi_scan
[1]
active=yes
alarms=UNCONFIGURED
description=DAHDI_DUMMY/1 (source: HRtimer) 1
name=DAHDI_DUMMY/1
manufacturer=
devicetype=DAHDI Dummy Timing
location=
basechan=1
totchans=0
irq=0
root@K5TRA_ASL_testserver:/etc/asterisk # dahdi_test -c 10
Opened pseudo dahdi interface, measuring accuracy...
99.986% 99.944% 99.959% 99.958% 99.992% 99.993% 99.992% 99.993%
99.991% 99.991%
--- Results after 10 passes ---
Best: 99.993% -- Worst: 99.944% -- Average: 99.979834%
Cumulative Accuracy (not per pass): 99.980 chan_dahdi.conf was missing; but it's there now. simpleusb and usbradio are loaded in modules; but I will fix that (focused on dahdi now).
|
|
It looks like ASL is running; but this node 46715 isn't in the external nodes list (not registered). -- can't connect.
|
|
Is 46715 the node you are working on now?
toggle quoted messageShow quoted text
On 8/10/2020 1:22 PM, Tom wrote:
It looks like ASL is running; but this node 46715 isn't in the external nodes list (not registered). -- can't connect.
|
|
toggle quoted messageShow quoted text
On 8/10/2020 1:22 PM, Tom wrote:
It looks like ASL is running; but this node 46715 isn't in the external nodes list (not registered). -- can't connect.
|
|
Do this as root so that you don't have to rebuild DAHDI again:
toggle quoted messageShow quoted text
apt-mark hold raspberrypi-kernel-headers raspberrypi-kernel You will then be able to do a apt-get update / apt-get upgrade without need ing to rebuild DAHDI. Steve
On 8/10/2020 1:22 PM, Tom wrote:
It looks like ASL is running; but this node 46715 isn't in the external nodes list (not registered). -- can't connect.
|
|
Yes, it looks like it is on the network. I checked the external nodes file on another box.
The remaining problem is to get that file to get updates on this server. I'll try a reboot.
|
|
reboot did it! ASL is OK.
Now I'll work on the analog_bridge path to the reflector. Thanks! I'll keep you posted on progress. Tom
|
|
Any tips on monitoring / verifying those data connections?
|
|
One step at a time. Get AB talking to ASL. You should be able to see
the traffic from ASL to AB.
toggle quoted messageShow quoted text
This is an ASL <-> DMR document. The concepts are the same. It's old (needs updating) so toy will see toDMR etc but the concept is the same. You: ASL <-> AB <-> MB <-> P25Gateway Document <ASL <-> AB <-> MB <https://dvswitch.groups.io/g/allstarlink/files/ASL%20to%20DMR%20Bridge.pdf>
On 8/10/2020 1:47 PM, Tom wrote:
Any tips on monitoring / verifying those data connections?
|
|
When I tail -f /var/log/dvswitch/Analog_Bridge.log I see PTT on and PTT off response
In /var/log/mmdvm, when I tail -f the MMDVM_Bridge log I don't see any responses from AB: root@P25reflector:/var/log/mmdvm # tail -f MMDVM_Bridge-2020-08-10.log
I: 2020-08-10 18:14:20.372 Loaded 169853 Ids to the DMR callsign lookup table
I: 2020-08-10 18:14:20.372 P25 RF Parameters
I: 2020-08-10 18:14:20.372 Started the DMR Id lookup reload thread
I: 2020-08-10 18:14:20.372 Id: 3148777
I: 2020-08-10 18:14:20.372 NAC: $293
I: 2020-08-10 18:14:20.372 UID Override: no
I: 2020-08-10 18:14:20.372 Self Only: no
I: 2020-08-10 18:14:20.372 Remote Gateway: no
I: 2020-08-10 18:14:20.372 Mode Hang: 10s
M: 2020-08-10 18:14:20.372 MMDVM_Bridge-20200309_V1.5.1 is running
|
|