# Asterisk transcodeing

**URL:** <https://community.asterisk.org/t/asterisk-transcodeing/20870>\
**Category:** Asterisk Support\
**Created:** [May 11, 2008, 10:07pm UTC](https://community.asterisk.org/t/asterisk-transcodeing/20870 "2008-05-11T22:07:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yesmat](https://avatars.discourse-cdn.com/v4/letter/y/b487fb/32.png) [@yesmat](https://community.asterisk.org/u/yesmat)\
**Post date:** [May 11, 2008, 10:07pm UTC](https://community.asterisk.org/t/asterisk-transcodeing/20870/1 "2008-05-11T22:07:47Z")

</div>

Hi All,

Aparently one of the main issues limiting Asterisk from scaling to large implementations is transcoding.

We all know that Asterisk uses “signed linear” as its internal Codec format, where it needs to transcode both legs of any call (inbound and outbound) into this signed linear format.

Is there away to switch this behaviour off so that Asterisk stops transcoding into and outof signed linear at lest when both bridged voice channels are using the same Codec?

Much appreciated.

---

<div class="post-metadata">

**Author:** ![mbruni](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mbruni](https://community.asterisk.org/u/mbruni)\
**Post date:** [May 12, 2008, 8:10am UTC](https://community.asterisk.org/t/asterisk-transcodeing/20870/2 "2008-05-12T08:10:42Z")

</div>

Yes, try set the parameter “transcode\_via\_sln” of the file asterisk.conf to no.

Cheers.

Marco Bruni

---

<div class="post-metadata">

**Author:** ![yesmat](https://avatars.discourse-cdn.com/v4/letter/y/b487fb/32.png) [@yesmat](https://community.asterisk.org/u/yesmat)\
**Post date:** [May 12, 2008, 11:33am UTC](https://community.asterisk.org/t/asterisk-transcodeing/20870/3 "2008-05-12T11:33:02Z")

</div>

Hi,

This whole [options] section in asterisk.conf is hashed out, so you mean to say that the default setting for transcode\_via\_sln = yes?

Is it as simple as change to = no? Does that mean Asterisk will not be doing any transcoding?

Cheers

---

<div class="post-metadata">

**Author:** ![mbruni](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mbruni](https://community.asterisk.org/u/mbruni)\
**Post date:** [May 12, 2008, 12:15pm UTC](https://community.asterisk.org/t/asterisk-transcodeing/20870/4 "2008-05-12T12:15:42Z")

</div>

Yesmat, please read what Ianplain said about transcode\_via\_sln, post [forums.digium.com/viewtopic.php?t=21877](http://forums.digium.com/viewtopic.php?t=21877) .  
If I’m not wrong a change in asterisk.conf require a restart of Asterisk, also do not forget to uncomment the options section.

Cheers.

Marco Bruni

---

<div class="post-metadata">

**Author:** ![yesmat](https://avatars.discourse-cdn.com/v4/letter/y/b487fb/32.png) [@yesmat](https://community.asterisk.org/u/yesmat)\
**Post date:** [May 12, 2008, 1:15pm UTC](https://community.asterisk.org/t/asterisk-transcodeing/20870/5 "2008-05-12T13:15:15Z")

</div>

Hi,

Yes I read this post before, it didn’t make sense at that time, but now after reading it couple of times. I think i will switch that default behavior off restart Asterisk and keep an eye on voice quality.

Thanks
