chan_iax2: Restore codec choice behavior from media formats branch
authorJonathan Rose <jrose@digium.com>
Mon, 21 Jul 2014 16:26:36 +0000 (16:26 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 21 Jul 2014 16:26:36 +0000 (16:26 +0000)
commit7622f1ad2a2b1d1587f16dfde6416a7b8ba70069
treee2e658207121dd052c85a0416290f71fedcd3448
parent41337750c385aacc7d20a49be0dc1dbd745b2b8a
chan_iax2: Restore codec choice behavior from media formats branch

After merging the media formats branch, chan_iax2 was discarding
codec preferences for the purpose of choosing which codec a
channel would use once a call started. This patch restores the
Asterisk 1.8-12 codec choice behaviors.

ASTERISK-23958 #close
Review: https://reviewboard.asterisk.org/r/3800/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c