[Asterisk-Dev] Re: Newbie question about thread blocking/choppy sound in meetme

Tony Mountifield tony at softins.clara.co.uk
Mon Aug 8 13:40:20 MST 2005


In article <Pine.LNX.4.61.0508081251200.10651 at fs.sedwards.com>,
Steve Edwards <asterisk.org at sedwards.com> wrote:
> This is my first foray into making changes to the sources, so if the question 
> or solution is obvious, please be kind :)
> 
> I want to change the enter and leave sounds to files that can be specified in 
> the conf file. Further, I only want the files played to users with the admin 
> bit set.
> 
> I've hacked up conf_play() so that it is somewhat working, but I'm getting a 
> bunch of WARNING messages that tell me I need to understand what is happening a 
> bit better. Also, the resulting sound is very choppy.

Steve, you really should play the files in a separate thread (and so
should Asterisk, but it doesn't, yet).

Please see my bug report at http://bugs.digium.com/view.php?id=3599 and
look at the v2 and v3 patches for ideas to try. You may have to apply
them by hand, since they have not been kept up to date with CVS.

I fought for quite a while for this to get into the main Asterisk tree,
but it was like wading through treacle and life was too busy!

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