Today my place of work is having each department decorate for Halloween, As part of the festivities I’ve set up a bunch of old phones to provide music.
I spun up a quick VM with Asterisk 13 on the same network as my phones and I’m now Multicasting G722 music on hold to select phones.
It was pretty trivial to do but fun nonetheless.
My musiconhold configuration:
Application: /usr/bin/mpg123 -q -r 16000 -b 2048 --mono -s -Z --list /var/lib/asterisk/moh/party/playlist.m3u
And to broadcast it to my phones:
channel originate MulticastRTP/basic/184.108.40.206:2345/220.127.116.11:6001/c(g722) application MusicOnHold party16
No dialplan was used in the making of this project