[Home]

Summary:ASTERISK-19871: No translation path between various SILK sample rates
Reporter:Bala (b7s@a-cti.com)Labels:
Date Opened:2012-05-14 13:38:06Date Closed:2020-01-20 12:27:01.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Codecs/codec_silk
Versions:10.4.0 11.5.1 13.18.4 Frequency of
Occurrence
Related
Issues:
is duplicated byASTERISK-19880 Can't transcode between SILK codecs
Environment:Ubuntu - Kernel Version - 2.6.38-8-virtual , Asterisk Version - 10.4.0, Intel(R) Xeon(R) CPU E5506 @ 2.13GHzAttachments:( 0) codecs.txt
( 1) sip.txt
Description:Hi ,

We are facing new issue that we create two users with enabled codec SILK24 and SILK8, when we calling to user1(SILK24) from user2(SILK8) we got the messages in Asterisk Console like this

[May 14 16:17:35] WARNING[16123] chan_sip.c: Asked to transmit frame type silk8, while native formats is (silk24) read/write = silk8/silk8
[May 14 16:22:11] WARNING[15914] channel.c: Unable to find a codec translation path from (silk24) to (silk8)

This messages continuously running until we hanged up the call .

But It is working fine with other codecs For example I can make the outgoing calls through my SIP provider (ULAW) and other codecs also

Working Scenarios:

SILK8 - ULAW,ilbc,gsm..
SILK8 - SILK8

Not Working
SILK8 <-> SILK(16,24)


Here is the table value that we got running Asterisk CLI command # core show translations.
{noformat}
           gsm  ulaw  alaw  g726 adpcm  slin lpc10  ilbc  silk8 silk12 silk16 silk24
     gsm     - 15000 15000 15000 15000  9000 15000 15000    15000  15000  15000  15000
    ulaw 15000     -  9150 15000 15000  9000 15000 15000    15000  15000  15000  15000
    alaw 15000  9150     - 15000 15000  9000 15000 15000    15000  15000  15000  15000
    g726 15000 15000 15000     - 15000  9000 15000 15000    15000  15000  15000  15000
   adpcm 15000 15000 15000 15000     -  9000 15000 15000    15000  15000  15000  15000
    slin  6000  6000  6000  6000  6000     -  6000  6000    6000   6000   6000   6000
   lpc10 15000 15000 15000 15000 15000  9000     - 15000    15000  15000  15000  15000
    ilbc 15000 15000 15000 15000 15000  9000 15000     -    15000  15000  15000  15000
   silk8 15000 15000 15000 15000 15000  9000 15000 15000    -      -      -      -    
  silk12 15000 15000 15000 15000 15000  9000 15000 15000    -      -      -      -
  silk16 15000 15000 15000 15000 15000  9000 15000 15000    -      -      -      -    
  silk24 15000 15000 15000 15000 15000  9000 15000 15000    -      -      -      -    
{noformat}
 Please help to resolve this issue and also what I need to do resolve this issue?

Comments:By: Rusty Newton (rnewton) 2012-05-22 16:05:34.472-0500

We need further information to look into this. Please provide the files, codecs.conf, sip.conf and the output of "ls /usr/lib/asterisk/modules | grep -i codec" (or wherever your asterisk modules directory is) on the server where asterisk is installed.

By: Bala (b7s@a-cti.com) 2012-05-23 05:02:12.340-0500

Hi,

Here you can find the codecs.conf file for SILK codec and also users list in sip.conf

[EDIT by Rusty Newton 5/23/12 12:47PM CDT - removed codecs.conf and sip.conf content and attached as files]

Modules List from Asterisk server modules list
----------------------------------------------

codec_adpcm.so
codec_alaw.so
codec_a_mu.so
codec_g722.so
codec_g726.so
codec_gsm.so
codec_ilbc.so
codec_lpc10.so
codec_resample.so
codec_silk.so
codec_ulaw.so

I installed SILK codec using this Link
https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Codecs+and+Audio+Formats






 


By: Rusty Newton (rnewton) 2012-05-23 12:47:21.393-0500

attaching codecs.conf and sip.conf content from Bala's comment.

By: Rusty Newton (rnewton) 2012-05-23 14:36:41.260-0500

Thanks Bala. We are acknowledging this and a developer will take a look when available. Your configuration appears correct.

By: Shaun Clark (shaunc869) 2012-06-25 10:58:01.943-0500

Any update on this issue? Thanks!

By: Rusty Newton (rnewton) 2012-06-28 20:36:40.316-0500

When a developer begins work on this issue or has an update, they will post an update to the issue. No updates that I see yet.

By: Alex Khokhlov (alex-khokhlov) 2013-09-22 03:17:46.437-0500

I confirm that the same problem exists with the "Asterisk 11.5.1 built by root @ xxx.xxx.org on a x86_64 running Linux on 2013-09-19 18:41:00 UTC".
Silk codec version is "codec_silk-11.0_1.0.0-generic_64.tar.gz 28-Nov-2012 16:26 115K".
Configuration is the same as Bala's.

By: Brendan Martens (shrift) 2014-06-16 22:59:43.286-0500

What is the situation for getting this fixed? It dramatically reduces the usefulness of silk... I am a bit confused why silk was added if it was just going to be left in a crippled state?

By: Matt Jordan (mjordan) 2014-06-17 07:21:21.408-0500

Your issue is in queue, please be patient, and we will get to it as time permits and developer resources become available.



By: Sean Bright (seanbright) 2020-01-20 12:27:01.373-0600

I am not able to reproduce this with Asterisk 13.30.0 and {{codec_silk}} 13.0_1.0.3:

{noformat}
*CLI> core show translation
        Translation times between formats (in microseconds) for one second of data
         Source Format (Rows) Destination Format (Columns)

         slin8 slin12 slin16 slin24 slin32 slin44 slin48 slin96 slin192 silk8 silk12 silk16 silk24
   slin8     -   8000   8000   8000   8000   8000   8000   8000    8000  6000  14000  14000  14000
  slin12  8500      -   8000   8000   8000   8000   8000   8000    8000 14500   6000  14000  14000
  slin16  8500   8500      -   8000   8000   8000   8000   8000    8000 14500  14500   6000  14000
  slin24  8500   8500   8500      -   8000   8000   8000   8000    8000 14500  14500  14500   6000
  slin32  8500   8500   8500   8500      -   8000   8000   8000    8000 14500  14500  14500  14500
  slin44  8500   8500   8500   8500   8500      -   8000   8000    8000 14500  14500  14500  14500
  slin48  8500   8500   8500   8500   8500   8500      -   8000    8000 14500  14500  14500  14500
  slin96  8500   8500   8500   8500   8500   8500   8500      -    8000 14500  14500  14500  14500
 slin192  8500   8500   8500   8500   8500   8500   8500   8500       - 14500  14500  14500  14500
   silk8  9000  17000  17000  17000  17000  17000  17000  17000   17000     -  23000  23000  23000
  silk12 17500   9000  17000  17000  17000  17000  17000  17000   17000 23500      -  23000  23000
  silk16 17500  17500   9000  17000  17000  17000  17000  17000   17000 23500  23500      -  23000
  silk24 17500  17500  17500   9000  17000  17000  17000  17000   17000 23500  23500  23500      -
{noformat}

Note that {{codec_resample}} must be loaded.