I have been successful setting up ASL <> AnalogBridge<> MMDVMbridge <> DMR-BM (with MD380 emulator in their too). I have apparently missed any information that allows dynamically changing the TalkGroup (without editing the INI file and rebooting).
Has anyone worked this out? Or, did I miss the documentation.
If it’s like other Brandmeister connected hotspots, dynamic talkgroups are changed by your radio. Program your HT for the TGs you want. When you key up on a TG the hotspot will open a dynamic TG.
The above code did not work for me. So, I started changing things up. The code below works for me using Brandmiester. The OS is the ASL distribution from about 3 months ago [ Linux KF5VH-AS0 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux ].
Put the script in /usr/local/sbin … I named the file “tgtune” . Then …
| # chmod +x tgtune
So, to change TalkGroup from the command shell to TG TAC-310 then TG 3122
| # tgtune 310
| # tgtune 3122
There is no error checking. No idea what happens if you feed it alpha characters.
You can write macros in rpt.conf to call shell scripts so users can change TGs.
@Steve_Mahler Just FYI, you can post code by putting three backticks on a line by itself (ie ```) then the code followed by three more backticks on its own line.
#!/bin/php
#This is my php CLI code
<?php
print "Hello world!\n";
?>