[asterisk-bugs] [JIRA] (ASTERISK-26086) res_musiconhold: streaming using mpg123 in wideband leads to screaming noise
Jens Bürger (JIRA)
noreply at issues.asterisk.org
Fri Jul 1 06:20:57 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231270#comment-231270 ]
Jens Bürger edited comment on ASTERISK-26086 at 7/1/16 6:20 AM:
----------------------------------------------------------------
Yes, the behavior also persists when using another streaming setup, as for example:
{code}
/usr/bin/wget -q -O - http://mp3.theradio.cc | /usr/bin/madplay -Q -z -o raw:- --mono -R 16000 -a -12 -
{code}
Nevertheless, I was a bit unsure what exactly the variable "format" is supposed to do. After crawling the sourcecode, I came across that it specifies the format of the stream given and after further source digging, I found out that there are variants of the
To sum it up, I think it would be a good idea to have this documented better.
was (Author: wiremuddle):
Yes, the behavior also persists when using another streaming setup, as for example:
/usr/bin/wget -q -O - http://mp3.theradio.cc | /usr/bin/madplay -Q -z -o raw:- --mono -R 16000 -a -12 -
Nevertheless, I was a bit unsure what exactly the variable "format" is supposed to do. After crawling the sourcecode, I came across that it specifies the format of the stream given and after further source digging, I found out that there are variants of the
To sum it up, I think it would be a good idea to have this documented better.
> res_musiconhold: streaming using mpg123 in wideband leads to screaming noise
> ----------------------------------------------------------------------------
>
> Key: ASTERISK-26086
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26086
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_musiconhold
> Affects Versions: 13.9.1
> Environment: Debian Linux 7.11
> Reporter: Jens Bürger
> Assignee: Unassigned
> Severity: Minor
>
> On a freshly compiled Asterisk 13.9.1 with example configuration, streaming MoH in wideband (16 kHz) only leads to an screaming noise.
> When playing in 8 kHz, streaming works fine::
> Excerpt from musiconhold.conf:
> [streamtest]
> mode=custom
> application=/usr/bin/mpg123 -q -r 8000 --mono -s http://mp3.theradio.cc
> When streaming in wideband like this:
> [streamtest]
> mode=custom
> format=g722
> application=/usr/bin/mpg123 -q -r 16000 --mono -s http://mp3.theradio.cc
> The client hears only a screaming noise.
> In contrast, when playing a local file which was resampled with sox to 16 kHz, this works fine.
> This was verified with two different clients (Snom 370 hardware phone, Jitsi soft phone)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list