This change adds a SIP peer configuration feature to allow the peer's
authorBrent Eagles <beagles@digium.com>
Thu, 13 Dec 2012 15:22:27 +0000 (15:22 +0000)
committerBrent Eagles <beagles@digium.com>
Thu, 13 Dec 2012 15:22:27 +0000 (15:22 +0000)
commitab894d5af9c2d3acc2c97a5e0b82f135f3eb51cd
treebbd13d6aac3006739c0b70b12207709c7462f67d
parent4f6064584d12717d842cfcbc6f25993281d7def0
This change adds a SIP peer configuration feature to allow the peer's
configured codecs to take precedence on an outgoing call.

This change introduces a new peer configuration property named
'ignore_requested_pref' that causes the requested codec to be ignored when
determining the preferred codec for an outgoing call leg. The consequence is
that Asterisk's usual efforts to prefer avoiding transcoding can be overridden
on a peer-by-peer basis where appropriate.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/include/sip.h
configs/sip.conf.sample