Music on hold switcher - Web interface to switch your music on hold radio station

This is designed to change the radio station being played on elastix. We use this for a tanoy connected to an FXS module on our phone system.
download and install perl-CGI-Simple from DAG
uncomment AddHandler cgi-script .cgi in /etc/httpd/conf/httpd.conf
Create a music on hold streaming category in the freepbx web interface, mine is called stream1 if you use something else please update the code as required
place the script in the /var/www/cgi-bin/ on your elastix server and update the variables are required (server IP, stations and category name)

Attachments: 

IT Support Contracts

Support contracts to cover all your IT and Telecoms with UK wide free call-out. Our friendly support staff provide on-site, telephone, email and remote support for workstations, servers and phone systems. We offer full Linux support as well as Apple and Microsoft.

 

Linux Business Servers

Linux servers to suit every requirement from drop-in Microsoft replacements to advanced firewalls, high availability, thin client servers and virtualisation. Our SME Business Server product provides your business with an IT solution taking care of networking, security, storage, email, backup, remote access and much more.

 

Distro Support Includes

  • Elastix / Issabel / FreePBX
  • RedHat / CentOS / Scientific
  • Koozali / smeserver / SUSE
  • Solaris / Unux / BSD
  • Debian / Ubuntu / Linux Mint
  • Arch / Archbang / Gentoo
  • Fedora / Kubuntu / Xubuntu
  • Raspbian / Embedded Systems

Ubuntu Server & Desktop

Pre-configured Ubuntu server, desktop and thin client systems to suit your requirements. We offer drop-in Microsoft Server replacements and even migrate your existing Microsoft server or desktops and keep the applications you need.