[Asterisk-Users] mpg123 hangs on close, but plays fine.

Alex Lopez alex at opsys.com
Thu Apr 17 22:24:16 MST 2003


Same output as yours


[root at asterisk asterisk]# mpg123 -v
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

-----Original Message-----
From: Masakazu Nakano [mailto:n-mack at md.neweb.ne.jp] 
Sent: Thursday, April 17, 2003 11:13 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] mpg123 hangs on close, but plays fine.


Hi

please check your /usr/bin/mpg123 -v

[hogehoge at mack asterisk]# /usr/bin/mpg123 -v
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
... snip

is yours correct?

On Thu, 17 Apr 2003 22:41:13 -0400
"Alex Lopez" <alex at opsys.com> wrote:

>This is a multi-part message in MIME format.
>
>----------------------------------------------------------------
> I am running Asterisk CVS-04/16/03-18:57:13, and mpg123-0.59r
>
> 
>
>It all sounds great and it plays at the correct pitch and speed.
However
>at the end of the file it simply does nothing.  It does not go on the
>the next step in the extension.conf nor does it hang up. It just sits
>there.
>
> 
>
>During play I have two processes running for the mp3 stream:
>
> 
>
>root      6300  6299  8 22:32 ?        00:00:00 /usr/bin/mpg123 -q -s
-b
>1024 --
>
>root      6301  6300  0 22:32 ?        00:00:00 /usr/bin/mpg123 -q -s
-b
>1024 --
>
>root      6303  5187  0 22:32 pts/0    00:00:00 grep mpg
>
> 
>
>however after the file plays I get this:
>
> 
>
>[root at asterisk asterisk]# ps -ef | grep mpg
>
>root      6300  6299  1 22:32 ?        00:00:00 [mpg123 <defunct>]
>
>root      6338  5187  0 22:33 pts/0    00:00:00 grep mpg
>
> 
>
>Ps -ef of the asterisk processes shows this:
>
> 
>
>root      6271     1  0 22:32 ?        00:00:00 asterisk
>
>root      6272  6271  0 22:32 ?        00:00:00 asterisk
>
>root      6273  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6274  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6275  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6276  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6277  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6279  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6281  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6282  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6283  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6284  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6285  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6286  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6287  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6299  6272  0 22:32 ?        00:00:00 asterisk
>
>root      6300  6299  0 22:32 ?        00:00:00 [mpg123 <defunct>]
>
> 
>
> 
>
> 
>
> 
>
>Any ideas????
>
> 
>
> 
>
> 
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users

---
Masakazu Nakano.
Dairiten.com - an open source VoIP and Ubiquitus Portal site in Japan.
http://www.dairiten.com/modules/news/
powered by xoops at http://www.xoops.org

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list