[Freeswitch-users] Freeswitch transcoding even after Late Negotiation with inherit_codec

Ghulam Mustafa mustafa.pk at gmail.com
Mon Sep 20 17:45:17 UTC 2021


You may try setting "disable-transcoding" to "true" in your sip profile

Regards,
-m

On Mon, Sep 20, 2021, 10:17 PM Shahnawaj Khan <shahnawaj.khan1990 at gmail.com>
wrote:

> Hi All,
>
> I am working on a use case where we don't want freeswitch to transcode
> and the codec negotiated with the B leg's answer should be passed to
> the A leg so it also uses the same codec.
> I have followed the following link
> https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation
> and added following flags in sip profiles
> <param name="inbound-late-negotiation" value="true"/>
> <param name="inherit_codec" value="true"/>
>  But freeswitch is itself doing the transcoding. Scenario looks like
> the following.
>
> 1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch
> 2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice
> 3) Alice ---(200 OK with PCMU)---> Freeswitch
> 4) Freeswitch---(200 OK with OPUS)--->Bob  //OPUS instead of PCMU
>
> Please let me know if I have some understanding gaps and point me in
> the right direction.
>
> Thanks & Regards,
> Shahnawaz
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210920/c6b1d407/attachment.html>


More information about the FreeSWITCH-users mailing list