chan_sip: Allow T.38 switch-over when SRTP is in use.
authorJoshua Colp <jcolp@digium.com>
Tue, 16 Dec 2014 16:39:47 +0000 (16:39 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 16 Dec 2014 16:39:47 +0000 (16:39 +0000)
commit58095d2486941dc9b953b24b9da3a261b7df9cb9
tree349711d7734e7d2e613567e88e4b1882e27f69af
parentb5182a6795d726c87511a2639e58452b9889c054
chan_sip: Allow T.38 switch-over when SRTP is in use.

Previously when SRTP was enabled on a channel it was not possible
to switch to T.38 as no crypto attributes would be present.

This change makes it so it is now possible. If a T.38 re-invite
comes in SRTP is terminated since in practice you can't encrypt
a UDPTL stream. Now... if we were doing T.38 over RTP (which
does exist) then we'd have a chance but almost nobody does that so
here we are.

ASTERISK-24449 #close
Reported by: Andreas Steinmetz
patches:
 udptl-ignore-srtp-v2.patch submitted by Andreas Steinmetz (license 6523)
........

Merged revisions 429632 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 429633 from http://svn.asterisk.org/svn/asterisk/branches/13

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