https://freeswitch.org/confluence/display/FREESWITCH/inherit_codec


On Oct 2, 2018, at 7:05 AM, sagar malam <sagarmalam@gmail.com> wrote:

I am facing an issue related to codec negotiation.Let me explain scenario
 inbound/outbound codec pref list : g722,g729,g711
 late negotiation enabled
 mix inbound outbound codec is enabled
 When call hits FS, i give instant ringback to call which mean g722 codec will be negotiated for early media
Now when callee answers call with g729
FS does transcoding from g722: g729
Instead it should select g729 on both legs and tell aleg to update codec from g722 to g729 to avoid transcoding.