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:
Class: party16
Mode: custom
Directory: nodir
Application: /usr/bin/mpg123 -q -r 16000 -b 2048 --mono -s -Z --list /var/lib/asterisk/moh/party/playlist.m3u
Format: slin16
And to broadcast it to my phones:
channel originate MulticastRTP/basic/234.3.2.1:2345/234.3.2.1:6001/c(g722) application MusicOnHold party16
No dialplan was used in the making of this project