[Asterisk-Users] Music on Hold: CPU Intensive Monster

Kib Eki kibeki at gmx.net
Wed Aug 3 00:47:00 MST 2005


Hi Matthew,

i found the following link very usefull: 
http://www.orderlyq.com/asteriskqueues.html#moh

It is an alternativ to mpg123. It works very fine for me.

Regards


Matthew Boehm wrote:
> OK. So I did a test last night. All of asterisk's threads where using 
> 0.0% CPU.
> 
> I made 1 call to our call queue.
> 
> CPU jumped to average of 9% and stayed around that for the 2 minutes I 
> was in the queue just listening to music on hold.
> 
> MOH is in MP3 format and I'm using format_mp3. Phone was linksys PAP2-NA 
> using G729.
> 
> Can I reasonably assume that the 9% was decoding the MP3, then encoding 
> G729?
> 
> I tried using Anthm's RAW format but that actually made things worse.
> 
> I tried going back to mpeg321 and asterisk still used the same amount of 
> CPU.
> 
> Any ideas for getting processor usage down on MOH?
> 
> -Matthew
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 




More information about the asterisk-users mailing list