On Fri, Jun 16, 2017, at 12:29 PM, Michael Maier wrote:
> I just tested your fix 2 times w/ using the scenario mentioned in the
> bug report. It has been working for me. No more flipping.
> 
> Asterisks indeed commits more than one codec in ok sdp, but always uses
> the first one afterwards. Hopefully the peer always handles it the same
> way. I would have thought that the ok sdp contains just one codec (the
> best).

There's actually a feature for just that in master,
preferred_codec_only. It'll be available in 15. The new behavior in the
branches with multiple codecs in the answer mirrors that of chan_sip, so
it's pretty safe.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- 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

Reply via email to