Len Ovens wrote:
> Less simple: use networking. both pulse and jack are able to stream
> audio over the network (local host is fine) so run two instances of
> either jack or pulse and use networking to join them. I do not know
> pulse well enough to give any hints what so ever on network streaming.
> Jack would be easier. Just use netjack or zita-njbridge.
And this is looking like a great solution. Using cat and netcat, I
changed the system call by Asterisk to:
System(cat /home/iain/sounds/chamada8.wav | nc 127.0.0.1 9876)
And it's picked up by the user iain listening on port 9876 with a script:
#!/bin/bash
trap "exit" INT
while :
do
nc -l 9876 | aplay -
sleep 0.2
done
exit 0
Need to test it more but it seems to be working well. Thanks again!
Iain
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Apr 9 04:15:04 2020
This archive was generated by hypermail 2.1.8 : Thu Apr 09 2020 - 04:15:04 EEST