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.
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: