[asterisk-dev] Re: Note about mpg123

Tony Mountifield tony at softins.clara.co.uk
Fri Sep 15 07:48:21 MST 2006


In article <20060915140555.GQ1249 at xorcom.com>,
Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> On Fri, Sep 15, 2006 at 08:03:40PM +0800, Dinesh Nair wrote:
> > 
> > 
> > Tilghman Lesher wrote:
> > >Documentation has been revised to state that mpg123 is no longer
> > >recommended for music on hold, preferring native formats instead.
> > 
> > which is a Good Thing(tm). mpg123 was always a big cause of problems for 
> > MoH and lots of folk have been using native formats without problems.
> 
> However a separate MoH thread (not using mp3123, necessarily) has
> performance benifits when you have a large callers load. Is there any
> simple way to pool a number of callers together? e.g: if there are
> already more than 5 people listening to MoH, have anybody joining to the
> MoH wait at most  few seconds in hope that he could get the same channel
> as another MoH caller?
> 
> Or is this already implemented?

As I understand it, file-based native MoH is no less efficient than any
other kind of file playback, particularly if the MoH files are available
in all required native formats. And if there are many callers listening
to the same MoH files, there is a good chance the wanted part may already
be in the Linux filesystem cache.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org


More information about the asterisk-dev mailing list