<div dir="auto">You may try setting "disable-transcoding" to "true" in your sip profile<div dir="auto"><br></div><div dir="auto">Regards,<br><div dir="auto">-m</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 20, 2021, 10:17 PM Shahnawaj Khan <<a href="mailto:shahnawaj.khan1990@gmail.com">shahnawaj.khan1990@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I am working on a use case where we don't want freeswitch to transcode<br>
and the codec negotiated with the B leg's answer should be passed to<br>
the A leg so it also uses the same codec.<br>
I have followed the following link<br>
<a href="https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation</a><br>
and added following flags in sip profiles<br>
<param name="inbound-late-negotiation" value="true"/><br>
<param name="inherit_codec" value="true"/><br>
 But freeswitch is itself doing the transcoding. Scenario looks like<br>
the following.<br>
<br>
1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch<br>
2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice<br>
3) Alice ---(200 OK with PCMU)---> Freeswitch<br>
4) Freeswitch---(200 OK with OPUS)--->Bob  //OPUS instead of PCMU<br>
<br>
Please let me know if I have some understanding gaps and point me in<br>
the right direction.<br>
<br>
Thanks & Regards,<br>
Shahnawaz<br>
<br>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>