ASL3 Virtual Machine No Audio

No Audio When Connected To Node.

I have setup a VM, installed Debian 12 and ASL3 as per the guides. I also installed SuperMon 7.4 Everything appears to work apart from the audio.

when logged into Debian, from the cmd line i hear white noise when using speaker-test wav.

In Supermon, when I enter a node number and press Monitor, it connects to the node, I see activity but just don’t hear any audio,

Any help appreciated

What are you trying to use for audio? Are you trying to share a CM108-based USB device into the VM? That might get tricky.

You need a CM108 sound fob connected to the machine, virtual or otherwise, to get audio from ASL. It only supports those, and will not output to a default audio device… not without a workaround that will only give you audio coming back from the node, not audio going to it. SO, you can receive, but not transmit with this workaround using outstreamcmd and something like SoX or aplay.

If you have no sound fob, you can still connect to your virtual machine via a number of mobile clients, softphones, SIP phones, etc.

What is your end-goal with this virtual machine?

Thanks for the reply,

My end goal was to use the Monitor button in Supermon to listen to some Allstar nodes.I dont have a radio connected at all.

On my Mac, i installed VMware Fusion, created a VM and installed Debian 12. In the VM settings, I set the sound to my Mac defaults

I then installed ASL3 and then Supermon 7.4

When logged into the VM, from the cmd line, sound-test /home/ian/test.wav plays through the mac speakers.

In Supermon, when I enter a node number, press Monitor, I can see the activity hear no audio.

Having read the comments, maybe it is because ASL3 needs the CM108 sound card.

If all you ever want to do is monitor nodes with that VM, here’s how you can cheat your way around having a CM108. Note; this adds some latency compared to using a CM108.

In bash, type aplay -l to list audio devices. I’m going to guess that, since this is a virtual machine, there will only be one, and it is hw:0,0.

Now, edit rpt with sudo nano /etc/asterisk/rpt.conf or another editor of your choice. Somewhere under the stanza specific to your node, add the following line:

outstreamcmd = /bin/sh,-c,/usr/bin/aplay -r 8000 -c 1 -f S16_LE -D hw:0,0,0

Save the file, then restart Asterisk:
sudo systemctl restart asterisk

You should now have a live audio feed piped through aplay (SoX) to your default audio device as long as app_rpt is running.

This will take exclusive control of the audio device.

The app “tramsceive” is also worth considering, since you use a Mac, though it is a little pricy.

Thanks for the suggestions N2DYI
I followed your instructions and now I can hear audio perfectly.

Thank you very much for your help, really appreciate it

Ian