Isn't that what priorities are for?
You offer first 729, then 722. If both ends have both, they should use 729._________________________________________________________________________On Tue, Sep 18, 2018, 22:13 RAVI bhatt <bhattravi4@gmail.com> wrote:Hi Joel,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._________________________________________________________________________On Tue 18 Sep, 2018, 2:29 AM Joel Serrano, <joel@textplus.com> wrote:Hi Ravindrakumar,Why don't you limit them to G729 to begin with instead of changing them once the call is established?_________________________________________________________________________On Mon, Sep 17, 2018 at 7:46 AM Ravindrakumar Bhatt <ravindra.bhatt@ecosmob.com> wrote:_________________________________________________________________________Hello,I am using freeswitch 1.6.20. it is fresh setup with basic configuration.i want to renegotiate codec when call is answered and i am using uuid_media_reneg for same.SCENARIO: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.Here are console log for same.Any suggestions for this or setting needed to be done in freeswitch.
--Thanks and Regards,Ravindrakumar BhattJr. Software DeveloperEcosmob Technologies LtdAhmedabadMo:+918460692402
Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com