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
Matthew Boehm wrote:> Any ideas for getting processor usage down on MOH?Encode it in the format you want to send out would help a little. -- Cheers, Matt Riddell _______________________________________________ sineapps.com/news.php (Daily Asterisk News - html) sineapps.com/rssfeed.php (Daily Asterisk News - rss)
Hi Matthew, i found the following link very usefull: 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@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users > >