<div><div dir="auto">Have a look at inbound-late-negotiation:</div><div dir="auto"><br></div></div><div dir="auto"><div><a href="https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/2883752">https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/2883752</a></div><div dir="auto"><br></div><div dir="auto">I think it might help you</div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 18, 2018 at 13:21 RAVI bhatt <<a href="mailto:bhattravi4@gmail.com">bhattravi4@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="auto">Hi Joel,<div dir="auto">I am providing only g722 and g729 both codec to user. if both users uses same codec it's ok but if either of user is using G729 than i want to renegotiate g729 as audio codec for both leg instead of using transcoding.Here G722 is high bandwidth and g729 is low bandwidth.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue 18 Sep, 2018, 2:29 AM Joel Serrano, <<a href="mailto:joel@textplus.com" target="_blank">joel@textplus.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Ravindrakumar, </div><div dir="ltr"><br></div><div dir="ltr">Why don't you limit them to G729 to begin with instead of changing them once the call is established?</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 17, 2018 at 7:46 AM Ravindrakumar Bhatt <<a href="mailto:ravindra.bhatt@ecosmob.com" rel="noreferrer" target="_blank">ravindra.bhatt@ecosmob.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br clear="all"><div>Hello,</div><div>I am using freeswitch 1.6.20. it is fresh setup with basic configuration.</div><div><br></div><div>i want to renegotiate codec when call is answered and i am using uuid_media_reneg for same.</div><div><br></div><div>SCENARIO:</div><div>user
 a calls to user b and both user are using code G722. when i use 
uuid_meida_reneg to change codec to G729 for A leg it is working fine but when using same api  with bleg uuid
for B leg it is using G722 for renegotiate.</div><div>Here are console log for same.</div><div><a href="https://pastebin.freeswitch.org/view/342e4eed" rel="noreferrer" target="_blank">https://pastebin.freeswitch.org/view/342e4eed</a></div><div>Any suggestions for this or setting needed to be done in freeswitch.</div><br>-- <br><div dir="ltr" class="m_7803676733177477785m_6561401846121367778m_516005247208615921m_6888995760419112977gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div><div><b>Thanks and Regards,<br></b></div><div><b>Ravindrakumar Bhatt<br></b></div><div dir="ltr"><div>Jr. Software Developer </div><div>Ecosmob Technologies Ltd</div><div>Ahmedabad</div><div>Mo:<b>+918460692402</b></div></div></div></div>
</div></div></div></div></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">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>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">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>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="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" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>