Fix regression introduced by SDP fixups
authorKinsey Moore <kmoore@digium.com>
Fri, 11 Nov 2011 20:15:16 +0000 (20:15 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 11 Nov 2011 20:15:16 +0000 (20:15 +0000)
commita4365a8ae2b699d3a0de549b480800db9dd0ec85
treec041e5e95227ce18c885e989a198d2bb507313b4
parente48cecc84871f0c17c02739f4db8af338a2a1d5d
Fix regression introduced by SDP fixups

If capability is adjusted when switching to UDPTL during fax transmission, fax
teardown fails.  Make sure capability is only touched if RTP is active.  This
regression was introduced in R344385.
........

Merged revisions 344769 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 344770 from http://svn.asterisk.org/svn/asterisk/branches/10

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