Ticket #215 (closed Patches: invalid)

Opened 7 years ago

Last modified 5 years ago

Add support for madplay and MOH volume adjustments.

Reported by: qldrob Assigned to: nobody
Priority: minor Milestone:
Component: Web interface Version: 1.10.008
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description (Last modified by RobThomas)

Being that mpg123 isn't supplied on lots of systems
these days, and madplay _is_, I thought I'd add support
for it.

'discover_moh.pl' should probably be run just once, on
install. Part of the 'install_amp' script, I would
guess. If it's not run, or the entry 'MOH_COMMAND'
isn't present in the globals table, it doesn't touch
anything. 

'discover_moh' also checks to make sure that mpg123 (if
it exists) is the correct version, and whinges if it's not.

'gen_moh' generates the /etc/asterisk/musiconhold.conf
file, and again, doesn't touch musiconhold.conf if the
MOH_COMMAND entry isn't there.

The patches to general.php and music.php are reasonably
self explanitory.

Note that this has been applied to the files from the
AMP2 CVS tree.

Change History

09/07/06 05:40:39 changed by RobThomas

  • status changed from assigned to closed.
  • resolution changed from None to invalid.
  • description changed.

Invalid now we're using format_mp3