Merged revisions 99004 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 17 Jan 2008 22:50:13 +0000 (22:50 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 17 Jan 2008 22:50:13 +0000 (22:50 +0000)
commit2a91da66138d909c6cd379634cca989bbfe7ab46
tree1539459a1717b4f338b88661ab3d3155f81c01fe
parentfdc76e87bf17891ea5fea927a69ef8412c629e15
Merged revisions 99004 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99004 | russell | 2008-01-17 16:37:22 -0600 (Thu, 17 Jan 2008) | 10 lines

Have IAX2 optimize the codec translation path just like chan_sip does it.  If
the caller's codec is in our codec list, move it to the top to avoid transcoding.

(closes issue #10500)
Reported by: stevedavies
Patches:
      iax-prefer-current-codec.patch uploaded by stevedavies (license 184)
      iax-prefer-current-codec.1.4.patch uploaded by stevedavies (license 184)
Tested by: stevedavies, pj, sheldonh

........

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