On Tue, Nov 26, 2019 at 12:11 PM Benoit Panizzon <[email protected]> wrote:
> Hi Gang > > I offer: > > g722 > g711a > > g711a is mandatory. g722 is becoming more and more popular. > > Now if a call originates from a device which support g722 and ends on a > device which does not. I see that asterisk is transcoding between g722 > and g711a despite both ends supporting g711a. > > Google tells me, that in this scenario asterisk should have selected > g711a as this is the codec common for both sides. > > So why is my asterisk instance choosing to transcode instead of trying > to natively and even remotely bridge the calls? > > I have nothing in the dial plan which would force asterisk to listen to > the audio and I have set direct_media=yes on both endpoints. > Each call leg is independently negotiated, from Asterisk to the device. This can yield results such as what you are seeing. There have been requests to improve this, but noone has taken that on as a project because it's not as easy as one would initially think (you have to define configuration options to define behavior in scenarios, go through everything making it aware, etc). -- Joshua C. Colp Senior Software Developer Sangoma Technologies Check us out at www.sangoma.com
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
