Hi, I add a radio stream link in musiconhold.conf file but when I call the number at which I add a WaitMusicOnHold extension there is no sound.
My musiconhold.conf file looks like these:
[mus2]
mode=custom
directory=/var/lib/asterisk/moh-stream
application=/usr/local/bin/mpg123 -q -r 8000 -f 8192 --mono -s https://www.profm.ro/radio
The directory moh-stream is an empty one.
And in extensions.conf I have this:
exten => 12515,1, Answer()
same => 2, SetMusicOnHold(mus2)
same => 3, WaitMusicOnHold(15)
same => 4, Hangup()
I try in this way to listen the Profm radio from this site: ProFM - Radio
Is there another way to listen a stream as moh in Asterisk because I saw on the radio site a download stream option which downloads a m3u file but I don’t know how to put this type of file in a musiconhold context.