I have a TS-2000 connected to my Allstar server as a remote base node. My goal was to have a node that anybody on Allstar could connect to, with any supported terminal that does DTMF, and use it to talk out on any radio that is supported by Hamlib, on any band or mode that it can do. The frequency and mode is controlled by preset DTMF codes. I use a second URIx interface to interface TX and RX audio, and Allstar system generated PTT to my TS-2000.
You also need to connect the a serial port from the RPi to the TS-2000, to receive Hamlib rigctld commands.
Then I added up and down statements to the rpt.conf for the TS-2000 node, configured as a remote base. The rpt.conf file has a DTMF function that allows you to send commands to a small java app (referenced in extensions.conf), that I wrote, which converts DTMF sequences decoded by app-rpt to rigctld calls over the loopback interface in the RPi. Rigctld then takes the codes I send it from my java app and becomes an interface to control the TS-2000 settings. This will work with any of the hundreds of rigs that are supported by Hamlib rigctld.
So, to make it work, you go onto my primary node, which is a Motorola UHF FM radio node, and issue a #62. Or you could do it through any other terminal that connects to Allstar, such as an iPhone or a laptop or tablet. #62 takes the TS-2000 off hook. Then you send a 10 digit sequence of DTMF tones to set the frequency, and another sequence to set the mode. There are several other commands as well.
The only thing that is non-standard in my configuration is my small Java app that gets passed DTMF digits and converts them to rigctld calls through the shell interface.
It has been a few years since I developed this app, so I will resurrect the source code and see if I cant come up with some documentation.