Core Show Translation – Difference In Asterisk Versions

Home » Asterisk Users » Core Show Translation – Difference In Asterisk Versions
Asterisk Users 1 Comment

Hello All,
I was wondering if somebody could elaborate the change in translation of codecs specifically the amount of time increased in Asterisk
11. For example

*Asterisk 11*
* **alaw **speex *
*gsm **15000 **15000 *
*ulaw 9150 15000*
* *
*Asterisk 1.6.x*
* **alaw **speex *
*gsm **2 12002 *
*ulaw 1 12002*

I did recalculate the translation for 60 or 1 seconds but nothing changes on Asterisk 11 (VM, Cloud or even physical machine). Is it slin?, adding this overhead or there is something I am overlooking?.
*
*
*Asterisk 11.0.1 => core show translation **(in microseconds)*

*gsm ulaw alaw g726 adpcm slin lpc10 g729 speex speex16
ilbc g726aal2 g722 slin16 testlaw speex32 slin12 slin24 slin32 slin44
slin48 slin96 slin192*
*gsm *- 15000 *15000 *15000 15000 9000 15000 15000 *15000 *23000
15000 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*ulaw *15000 – 9150 15000 15000 9000 15000 15000 15000 23000
15000 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*alaw *15000 9150 – 15000 15000 9000 15000 15000 15000 23000
15000 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*g726 *15000 15000 15000 – 15000 9000 15000 15000 15000 23000
15000 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*adpcm *15000 15000 15000 15000 – 9000 15000 15000 15000 23000
15000 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*slin *6000 6000 6000 6000 6000 – 6000 6000 6000 14000
6000 6000 8250 8000 6000 14000 8000 8000 8000 8000
8000 8000 8000
*lpc10 *15000 15000 15000 15000 15000 9000 – 15000 15000 23000
15000 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*g729 *15000 15000 15000 15000 15000 9000 15000 – 15000 23000
15000 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*speex *15000 15000 15000 15000 15000 9000 15000 15000 – 23000
15000 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*speex16 *23500 23500 23500 23500 23500 17500 23500 23500 23500 –
23500 23500 15000 9000 23500 23000 17500 17000 17000 17000
17000 17000 17000
*ilbc *15000 15000 15000 15000 15000 9000 15000 15000 15000 23000
– 15000 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*g726aal2 *15000 15000 15000 15000 15000 9000 15000 15000 15000 23000
15000 – 17250 17000 15000 23000 17000 17000 17000 17000
17000 17000 17000
*g722 *15600 15600 15600 15600 15600 9600 15600 15600 15600 15000
15600 15600 – 9000 15600 23000 17500 17000 17000 17000
17000 17000 17000
*slin16 *14500 14500 14500 14500 14500 8500 14500 14500 14500 6000
14500 14500 6000 – 14500 14000 8500 8000 8000 8000
8000 8000 8000
*testlaw *15000 15000 15000 15000 15000 9000 15000 15000 15000 23000
15000 15000 17250 17000 – 23000 17000 17000 17000 17000
17000 17000 17000
*speex32 *23500 23500 23500 23500 23500 17500 23500 23500 23500 23500
23500 23500 23500 17500 23500 – 17500 17500 9000 17000
17000 17000 17000
*slin12 *14500 14500 14500 14500 14500 8500 14500 14500 14500 14000
14500 14500 14000 8000 14500 14000 – 8000 8000 8000
8000 8000 8000
*slin24 *14500 14500 14500 14500 14500 8500 14500 14500 14500 14500
14500 14500 14500 8500 14500 14000 8500 – 8000 8000
8000 8000 8000
*slin32 *14500 14500 14500 14500 14500 8500 14500 14500 14500 14500
14500 14500 14500 8500 14500 6000 8500 8500 – 8000
8000 8000 8000
*slin44 *14500 14500 14500 14500 14500 8500 14500 14500 14500 14500
14500 14500 14500 8500 14500 14500 8500 8500 8500 –
8000 8000 8000
*slin48 *14500 14500 14500 14500 14500 8500 14500 14500 14500 14500
14500 14500 14500 8500 14500 14500 8500 8500 8500 8500
– 8000 8000
*slin96 *14500 14500 14500 14500 14500 8500 14500 14500 14500 14500
14500 14500 14500 8500 14500 14500 8500 8500 8500 8500
8500 – 8000
*slin192 *14500 14500 14500 14500 14500 8500 14500 14500 14500 14500
14500 14500 14500 8500 14500 14500 8500 8500 8500 8500
8500 8500 –

*Asterisk 1.6.2.x => core show translation **(in microseconds)*

*g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 siren7 siren14 slin16*
*g723* – – – – – – – – – –
– – – – – –
*gsm *- – 2 *2 *4001 2 1 4001 4001
12002 8002 *4002 *2 – – 2
*ulaw *- 2 – 1 4001 2 1 4001 4001 12002
8002 4002 2 – – 2
*alaw *- 2 1 – 4001 2 1 4001 4001 12002
8002 4002 2 – – 2
*g726aal2 *- 2 2 2 – 2 1 4001 4001 12002
8002 4002 2 – – 2
*adpcm *- 2 2 2 4001 – 1 4001 4001 12002
8002 4002 2 – – 2
*slin *- 1 1 1 4000 1 – 4000 4000 12001
8001 4001 1 – – 1
*lpc10 *- 4002 4002 4002 8001 4002 4001 – 8001 16002
12002 8002 4002 – – 4002
*g729 *- 2 2 2 4001 2 1 4001 – 12002
8002 4002 2 – – 2
*speex *- 2 2 2 4001 2 1 4001 4001 –
8002 4002 2 – – 2
*ilbc *- 4001 4001 4001 8000 4001 4000 8000 8000 16001
– 8001 4001 – – 4001
*g726 *- 2 2 2 4001 2 1 4001 4001 12002
8002 – 2 – – 2
*g722 *- 2 2 2 4001 2 1 4001 4001 12002
8002 4002 – – – 1
*siren7 *- – – – – – – – – –
– – – – – –
*siren14 *- – – – – – – – – –
– – – – – –
*slin16 *- 4003 4003 4003 8002 4003 4002 8002 8002 16003
12003 8003 4001 – – –

One thought on - Core Show Translation – Difference In Asterisk Versions

  • Salman Zafar wrote:

    Hola,

    I’ve taken some time to look at what is going on here and let me reassure you – internally stuff is still taking the same amount of time as previously. During a media architecture rework how translations are chosen was changed around a bit to not just take into account computational costs. What you are now seeing above is actually the internal “table cost” for choosing. I can certainly agree that this is not ideal. The subject has been brought up a few times but nobody has tackled making it reflect computational costs once again.

    Cheers,