[asterisk-users] Streaming musiconhold via mpg123

Stephen Brown stephen.brown75 at gmail.com
Tue Feb 21 19:04:29 CST 2012


DAHDI it is.... are there any known workarounds? I use the FreePBX
distro and they are a bit behind, so no telling when they will update.

On 2/21/2012 6:45 PM, Israel Gottlieb wrote:
> that bug is running since the start of 1.8 and has been fixed in 1.8.9
>
> https://issues.asterisk.org/jira/browse/ASTERISK-17474
>
> i know it says that after the first time asterisks starts it works but
> thats true only if the moh was loaded before the timing
>
> its a long story but the fix is finally in
>
> when typing timing test in the cli what timer to get if its dahdi then
> thats the probably problem
>
>
>
> On Wed, Feb 22, 2012 at 1:34 AM, Stephen Brown
> <stephen.brown75 at gmail.com <mailto:stephen.brown75 at gmail.com>> wrote:
>
>     On 2/21/2012 3:38 PM, isrlgb at gmail.com <mailto:isrlgb at gmail.com>
>     wrote:
>     > There is a bug in up to version 1.8.9 with external moh sources
>     and dahdi timers
>
>     Do you have a link to the bug report? I was unable to find
>     anything but
>     it's possible I'm not looking hard enough ;)
>
>     > Share with us your musiconhold.conf configuration please.
>
>     Here it is... please excuse the mess, it's been a wild ride so my
>     formatting/commenting has been left in-tact:
>
>     ;
>     ; Music on hold class definitions
>     ; This is using the new 1.2 config file format, and will not work
>     with 1.0
>     ; based Asterisk systems
>     ;
>     ; #include musiconhold_custom.conf
>     ; #include musiconhold_additional.conf
>     ;[default]
>     ;mode=custom
>     ;application=/usr/src/mpg123/mpg123-1.13.4/src/mpg123 -q -s --mono -r
>     8000 -f 8192 -b 0 http://scfire-ntc-aa03.stream.aol.com:80/stream/1074
>     ;application=/usr/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0
>     http://scfire-ntc-aa03.stream.aol.com:80/stream/1074
>
>     [test]
>     mode=custom
>     ;application=/usr/src/mpg123/mpg123-1.13.4/src/mpg123 -q -s --mono -r
>     8000 -f 8192 -b 0 http://scfire-ntc-aa03.stream.aol.com:80/stream/1074
>     ;application=/usr/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0
>     http://scfire-ntc-aa03.stream.aol.com:80/stream/1074
>     application=/usr/bin/mpg123 -q -s -f 8192 --mono -r 8000
>     /var/lib/asterisk/sounds/music/Rolling In The Deep.mp3
>
>     I setup a simple 2 digit extension to call the test context and my MP3
>     file nor my stream will play, and here's something else
>     interesting: If
>     use the MP3Player application to play an MP3, mpg123 spawns and plays
>     it. I came to this conclusion by running ps aux | grep mpg while the
>     song was playing.
>
>     --
>     _____________________________________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>     New to Asterisk? Join us for a live introductory webinar every Thurs:
>                   http://www.asterisk.org/hello
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>       http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120221/45057b5f/attachment.htm>


More information about the asterisk-users mailing list