[Asterisk-bsd] New to Asterisk...But Just Let Me Keep My FreeBSD

Aaron Seelye aseelye-lists at eltopia.com
Sun May 28 18:47:25 MST 2006


No, the patches applied great, I even looked at the source after patching to 
be sure.  Stopping and starting asterisk consumes 100% of the CPU, mostly in 
the system section of top.  If you want me to run any further tests, I'd be 
more than happy to.

-Aaron
----- Original Message ----- 
From: "Dr. Rich Murphey" <Rich at WhiteOakLabs.com>
To: "Asterisk on BSD discussion" <asterisk-bsd at lists.digium.com>
Sent: Sunday, May 28, 2006 6:39 PM
Subject: Re: [Asterisk-bsd] New to Asterisk...But Just Let Me Keep My 
FreeBSD


> So, just to double check...
> There were no rejected patches?
>
> You just start and stop asterisk to get mpg123 to consume 100% CPU?
>
> I just tried this, and couldn't reproduce it.
> Perhaps if I can reproduce it I can help.
>
> Rich
>
> Frank Griffith wrote:
>> Aaron,
>>  Please forgive me for being such a bother but there's something I'm just 
>> not doing correctly here.
>>  I did these commands. Perhaps you can point out what I'm not doing 
>> right:
>>  # cp patch-file.txt /usr/ports/audio/mpg123/files/patch-mpg123.c.
>> # cd /usr/ports/audio/mpg123
>> # make install clean
>>  This ran for a while but then stopped saying the port was already 
>> installed and that I need to make deinstall and then make reinstall. So I 
>> did just that and it reinstalled. But when I stop asterisk it still shows 
>> mpg123 running loose and I can only kill it with a kill -9 command.
>>  Again, sorry to be such a bother but I'd really like to use mpg123 if 
>> possible and without the bug that appears to be happening.
>>
>>
>> */Aaron Seelye <aseelye-lists at eltopia.com>/* wrote:
>>
>>     Save the patch to $PORTS/audio/mpg123/files/patch-mpg123.c, and
>>     rebuild/reinstall the port.  Otherwise, you can save the patch to
>>     somewhere on your computer, cd to the source directory for mpg123,
>>     and "patch < $PATCHFILE".
>>      -Aaron
>>
>>         ----- Original Message -----
>>         *From:* Frank Griffith <mailto:glassdude45 at yahoo.com>
>>         *To:* Asterisk on BSD discussion
>>         <mailto:asterisk-bsd at lists.digium.com>
>>         *Sent:* Sunday, May 28, 2006 1:59 PM
>>         *Subject:* Re: [Asterisk-bsd] New to Asterisk...But Just Let
>>         Me Keep My FreeBSD
>>
>>         Thanks Aaron,
>>          Your advice is appreciated. But I guess my newbie-ness is
>>         showing. I did a man on the patch command but I'm not clear on
>>         how I should do it.
>>          If I patch it by hand, will I just insert this text anywhere
>>         in the source code. I really don't know what I'm doing here
>>         but I can copy and paste with the best of them. If you could
>>         either clue me in as to the syntax for the patch command or
>>         point me to the correct file to insert this text into I think
>>         I could get through it.
>>          Thanks again.
>>
>>
>>         */Aaron Seelye <aseelye-lists at eltopia.com>/* wrote:
>>
>>             Use the patch command, or patch it by hand.
>>
>>                 ----- Original Message -----
>>                 *From:* Frank Griffith <mailto:glassdude45 at yahoo.com>
>>                 *To:* asterisk-bsd at lists.digium.com
>>                 <mailto:asterisk-bsd at lists.digium.com>
>>                 *Sent:* Sunday, May 28, 2006 12:02 PM
>>                 *Subject:* Re: [Asterisk-bsd] New to Asterisk...But
>>                 Just Let Me Keep My FreeBSD
>>
>>                 Thanks. I saw this patch but was not sure how to
>>                 implement it. Can you offer some more detail.
>>
>>                 */Aaron Seelye <aseelye-lists at eltopia.com
>>                 <mailto:aseelye-lists at eltopia.com>>/* wrote:
>>
>>                     Dr. Rich Murphey posted a patch on the 23rd, I
>>                     haven't tried it, but it sounded like it should
>>                     fix your mpg123 problems.  You can kill -9 mpg123
>>                     anytime you like though.
>>                      -Aaron
>>
>>                         ----- Original Message -----
>>                         *From:* Frank Griffith
>>                         <mailto:glassdude45 at yahoo.com>
>>                         *To:* asterisk-bsd at lists.digium.com
>>                         <mailto:asterisk-bsd at lists.digium.com>
>>                         *Sent:* Sunday, May 28, 2006 9:19 AM
>>                         *Subject:* [Asterisk-bsd] New to
>>                         Asterisk...But Just Let Me Keep My FreeBSD
>>
>>                         Asterisk 1.2.7.1 running on an old Dell
>>                         Optiplex Pentium 220 MgHz, 64MB of RAM with
>>                         FreeBSD-6.1-RELEASE
>>                          I only recently discovered Asterisk and was
>>                         indeed happy to find that I would not have to
>>                         build a Linux server to run it and could keep
>>                         hacking along happily with my FreeBSD servers.
>>                         I've gone through the install and have made a
>>                         simple setup with an X-Lite phone from a WinXP
>>                         machine on the LAN. That's cool and of course
>>                         I am loaded with questions on how to get more
>>                         out of this thing. But I'll start with a few
>>                         that seem to be related to FreeBSD first.
>>                          There seems to be some kind of issue with the
>>                         mpg123 player. When I start Asterisk there are
>>                         some warning messages about it. And what seems
>>                         to be worse is that the mpg123 processes do
>>                         not stop nor can I kill them once I exit
>>                         Asterisk. Is this a real issue or should I
>>                         just ignore it. The music-on-hold seems to
>>                         work but there are times when it is choppy. I
>>                         found a work around for this using rawplayer
>>                         and I'm just getting it compiled right now,
>>                         but I'd really prefer to use mpg123 as I don't
>>                         want to have to convert MP3 files before using
>>                         them with rawplayer.
>>                          Any advice on this as well as any other tips,
>>                         tricks for running Asterisk on FreeBSD will be
>>                         welcomed.
>>                         Yahoo! Messenger with Voice. Make PC-to-Phone
>>                         Calls
>> 
>> <http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>>                         to the US (and 30+ countries) for 2¢/min or less.
>>                         _______________________________________________
>>                         Asterisk-BSD mailing list
>>                         Asterisk-BSD at lists.digium.com
>> 
>> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>>
>>                     _______________________________________________
>>                     Asterisk-BSD mailing list
>>                     Asterisk-BSD at lists.digium.com
>>                     http://lists.digium.com/mailman/listinfo/asterisk-bsd
>>
>>
>>                 Blab-away for as little as 1¢/min. Make PC-to-Phone
>>                 Calls
>> 
>> <http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>>                 using Yahoo! Messenger with Voice.
>>                 _______________________________________________
>>                 Asterisk-BSD mailing list
>>                 Asterisk-BSD at lists.digium.com
>>                 http://lists.digium.com/mailman/listinfo/asterisk-bsd
>>
>>             _______________________________________________
>>             Asterisk-BSD mailing list
>>             Asterisk-BSD at lists.digium.com
>>             http://lists.digium.com/mailman/listinfo/asterisk-bsd
>>
>>
>>         Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min
>> 
>> <http://us.rd.yahoo.com/mail_us/taglines/postman11/*http://us.rd.yahoo.com/evt=39666/*http://voice.yahoo.com>
>>         with Yahoo! Messenger with Voice.
>>         _______________________________________________
>>         Asterisk-BSD mailing list
>>         Asterisk-BSD at lists.digium.com
>>         http://lists.digium.com/mailman/listinfo/asterisk-bsd
>>
>>     _______________________________________________
>>     Asterisk-BSD mailing list
>>     Asterisk-BSD at lists.digium.com
>>     http://lists.digium.com/mailman/listinfo/asterisk-bsd
>>
>>
>> Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get 
>> Yahoo! Messenger with Voice 
>> <http://us.rd.yahoo.com/mail_us/taglines/postman10/*http://us.rd.yahoo.com/evt=39663/*http://messenger.yahoo.com>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Asterisk-BSD mailing list
>> Asterisk-BSD at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>>
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
> 




More information about the Asterisk-BSD mailing list