[asterisk-bugs] [JIRA] (ASTERISK-24314) ConfBridge Doesn't Deliver 48 kHz Audio with Local channels

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Jan 26 09:27:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224638#comment-224638 ] 

Matt Jordan commented on ASTERISK-24314:
----------------------------------------

The reason this is occurring is most likely due to the usage of Local channels. When Local channels are typically created, they are created with only {{slin}} as the requested format capability. As such, SLIN and 48KhZ is transcoded down between the ConfBridges. I'd suspect that if the Local channels were created with all of the SLIN formats, it would work as you'd like.

> ConfBridge Doesn't Deliver 48 kHz Audio with Local channels
> -----------------------------------------------------------
>
>                 Key: ASTERISK-24314
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24314
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: SVN
>            Reporter: Frankie Chin
>         Attachments: confbridge_serverA.conf, extensions_serverA.conf, extensions_serverB.conf, full_serverA, sip_serverA.conf, sip_serverB.conf
>
>
> I have two servers registered to each other via SIP. I only enabled "slin48" codec in sip.conf of both servers. 
> Scenario 1 (Happy):
> I use AMI to originate a call to Server B. Once Server B answers the call, Server A will start playing a 48 kHz speech audio from a *.sln48 file. At Server B, the audio is recorded into another *.sln48 file. The recorded audio quality at Server B is basically the same as the original source.
> Scenario 2:
> Using another AMI application, it originates a call to Server B and puts it into a conference hosted in Server A. It then originates another call to a local channel in Server A and puts the local channel into the conference as well. The local channel then starts playing the same speech audio from the source *.sln48 file into the conference. The audio is also recorded at Server B. But this time, the recorded audio quality is much worse than the source audio.
> The following are the settings in my confbridge.conf which I think relevant:
> - internal_sample_rate = 48000
> - mixing interval = 20
> - dsp_drop_silence = yes
> - dsp_talking_threshold = 128
> - dsp_silence_threshold = 2000
> I have even tried setting the internal_sample_rate to 192000 but it didn't improve the recorded audio quality. My final objective is to be able to put multiple servers into a conference and get a local channel in one server to play the 48 kHz audio out to all the other servers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list