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

Alex Lopez alex at opsys.com
Thu Apr 17 19:41:13 MST 2003


 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????

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030417/61af466d/attachment.htm


More information about the asterisk-users mailing list