[Freeswitch-users] How to avoid transcoding?

Shaun Stokes shaun.stokes at itec-support.co.uk
Thu Nov 8 08:42:20 UTC 2018


Setting FreeSWITCH to 'greedy' will cause the codecs you specified in FreeSWITCH to take priority which in your case is G722 as neither of your endpoints support OPUS, you could try setting 'inbound-codec-negotiation' to 'generous'.

Even if configured correctly there will still be instances where transcoding may be required in particular if you allow call transfer, for example transferring a G722 call to an endpoint that only supports G711 will require transcoding.
________________________________
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Ulrich Backes <backes at solthor.de>
Sent: 07 November 2018 12:55:57
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] How to avoid transcoding?


Hi guys,

I've investigated many hours and cannot solve this problem:
A and B should use g711u.

A:  [cid:d242e27033084e59a8a877a137eb44ba at Open-Xchange]

B:  [cid:cd462457d2134dd4950ddf12e9e7ecf8 at Open-Xchange]

But FreeSwitch decides to transcode:

 [cid:61e85c8ab9904d83b9e3553e5745e36d at Open-Xchange]
The settings:
vars.xml
<X-PRE-PROCESS cmd="set" data="media_mix_inbound_outbound_codecs=false"/>
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,G722,PCMU,PCMA,VP8"/>

internal.xml
<param name="inbound-codec-negotiation" value="greedy"/>
<param name="inbound-late-negotiation" value="true"/>
<param name="disable-transcoding" value="true"/>

<param name="inbound-proxy-media" value="false"/>
<param name="inbound-bypass-media" value="false"/>
<param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
<param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>

default.xml (Using the demo-Dialplan)
<extension name="Local_Extension">
...

Using FS v 1.8

Thanks.
Uli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181108/07e8815c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 3727 bytes
Desc: image.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181108/07e8815c/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6279 bytes
Desc: image.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181108/07e8815c/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 104271 bytes
Desc: image.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181108/07e8815c/attachment-0005.png>


More information about the FreeSWITCH-users mailing list